Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 212.5 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 51.86 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 53.37 MB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002808/0.2394, allocations: 1.683 MB / 433.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2406, allocations: 0.7048 MB / 434.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.2407, allocations: 4 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.2409, allocations: 55.72 kB / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2411, allocations: 39.72 kB / 434.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.242, allocations: 482.1 kB / 434.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.2422, allocations: 123.6 kB / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.2423, allocations: 19.84 kB / 434.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.2424, allocations: 63.72 kB / 435 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2426, allocations: 91.64 kB / 435.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.2426, allocations: 12 kB / 435.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.2428, allocations: 115.9 kB / 435.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.2429, allocations: 39.78 kB / 435.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.2429, allocations: 47.67 kB / 435.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.2432, allocations: 203.2 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2432, allocations: 3.938 kB / 435.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2433, allocations: 4 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.2433, allocations: 0 / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00121/0.2445, allocations: 469.3 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2445, allocations: 8.031 kB / 436 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.2445, allocations: 4.188 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.2446, allocations: 50.73 kB / 436 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.2452, allocations: 108.6 kB / 436.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2454, allocations: 162.2 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2455, allocations: 4.375 kB / 436.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.2455, allocations: 8.375 kB / 436.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.2459, allocations: 167.9 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2459, allocations: 0 / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.2459, allocations: 7.984 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.2459, allocations: 8 kB / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.2463, allocations: 159.8 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.2473, allocations: 0.4916 MB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.2477, allocations: 138.6 kB / 437.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2478, allocations: 60.83 kB / 437.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2479, allocations: 4 kB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2479, allocations: 46.61 kB / 437.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.2479, allocations: 0 / 437.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005886/0.2485, allocations: 205.4 kB / 437.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.2485, allocations: 51.41 kB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2487, allocations: 219.8 kB / 437.8 MB, free: 488 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2487, allocations: 25.7 kB / 437.9 MB, free: 456 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.2488, allocations: 128.2 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.2489, allocations: 35.69 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.2489, allocations: 33.7 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2491, allocations: 322.8 kB / 438.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2492, allocations: 55.95 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2494, allocations: 88.25 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2498, allocations: 164.5 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2498, allocations: 3.938 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004262/0.2502, allocations: 193.3 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2502, allocations: 8 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2502, allocations: 128 / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2502, allocations: 4 kB / 438.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2504, allocations: 35.97 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2504, allocations: 0 / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2505, allocations: 23.83 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2506, allocations: 8 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2507, allocations: 141.6 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2507, allocations: 15.91 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.2512, allocations: 182.9 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2512, allocations: 7.984 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2512, allocations: 0 / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2512, allocations: 0 / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2514, allocations: 200.6 kB / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2514, allocations: 0 / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2516, allocations: 35.91 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2516, allocations: 0 / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2516, allocations: 0 / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2516, allocations: 4 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2516, allocations: 4 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.252, allocations: 263.4 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.2521, allocations: 31.89 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.2521, allocations: 0 / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2523, allocations: 11.98 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2523, allocations: 7.984 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2523, allocations: 0 / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.2525, allocations: 156.5 kB / 440 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2525, allocations: 3.938 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.2527, allocations: 35.89 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.2535, allocations: 0.8021 MB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.2539, allocations: 140.1 kB / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2539, allocations: 0 / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.254, allocations: 67.89 kB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2543, allocations: 14.41 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.2572, allocations: 2.143 MB / 443.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2573, allocations: 115.2 kB / 443.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2574, allocations: 37.33 kB / 443.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.2575, allocations: 47.42 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2575, allocations: 0 / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.282, allocations: 3.783 MB / 447.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 7.375 kB / 447.2 MB, free: 7.027 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.056948347948492]