Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001439/0.001439, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001484/0.001484, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9626/0.9626, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.065e-05, allocations: 6.25 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2651/0.2651, allocations: 148.7 MB / 0.5144 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2683, allocations: 2.589 MB / 0.517 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.2686, allocations: 27.16 kB / 0.517 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.2692, allocations: 216.8 kB / 0.5172 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.271, allocations: 1.092 MB / 0.5183 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2722, allocations: 0.83 MB / 0.5191 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.2736, allocations: 1.898 MB / 0.5209 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.2741, allocations: 421.6 kB / 0.5213 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2752, allocations: 1.051 MB / 0.5224 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.2759, allocations: 0.6424 MB / 0.523 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.276, allocations: 60.69 kB / 0.5231 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005981/0.2766, allocations: 449.2 kB / 0.5235 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2768, allocations: 295.5 kB / 0.5238 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.277, allocations: 283.2 kB / 0.524 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.2779, allocations: 1.002 MB / 0.525 GB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2779, allocations: 4 kB / 0.525 GB, free: 9.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2779, allocations: 0 / 0.525 GB, free: 9.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2779, allocations: 0 / 0.525 GB, free: 9.973 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001325/0.2792, allocations: 1.138 MB / 0.5261 GB, free: 9.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2793, allocations: 11.38 kB / 0.5261 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/0.2798, allocations: 219.3 kB / 0.5263 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.2804, allocations: 490.1 kB / 0.5268 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.2804, allocations: 156.2 kB / 0.527 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.2805, allocations: 60.92 kB / 0.527 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.2812, allocations: 1.001 MB / 0.528 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2812, allocations: 6.781 kB / 0.528 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.2812, allocations: 24.19 kB / 0.528 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.2813, allocations: 38.86 kB / 0.5281 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.2817, allocations: 302.3 kB / 0.5284 GB, free: 7.699 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.2837, allocations: 3.877 MB / 0.5321 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.284, allocations: 217.3 kB / 0.5323 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.2841, allocations: 87.72 kB / 0.5324 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.2842, allocations: 25.14 kB / 0.5325 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.2842, allocations: 36.33 kB / 0.5325 GB, free: 4.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.2842, allocations: 0 / 0.5325 GB, free: 4.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002581/0.2868, allocations: 1.166 MB / 0.5336 GB, free: 3.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2868, allocations: 131.7 kB / 0.5338 GB, free: 3.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.2872, allocations: 0.5448 MB / 0.5343 GB, free: 3.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2872, allocations: 36.73 kB / 0.5343 GB, free: 3.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2873, allocations: 430.7 kB / 0.5347 GB, free: 2.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.2874, allocations: 158.8 kB / 0.5349 GB, free: 2.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2875, allocations: 163.6 kB / 0.535 GB, free: 2.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.2876, allocations: 0.5469 MB / 0.5356 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2877, allocations: 90.78 kB / 0.5357 GB, free: 2.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.288, allocations: 0.6177 MB / 0.5363 GB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.2884, allocations: 0.6603 MB / 0.5369 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2884, allocations: 6.969 kB / 0.5369 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006753/0.2891, allocations: 0.652 MB / 0.5376 GB, free: 432 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2891, allocations: 12.12 kB / 0.5376 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2891, allocations: 11.62 kB / 0.5376 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.2897, allocations: 251.5 kB / 0.5378 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.29, allocations: 117.9 kB / 0.5379 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005828/0.2905, allocations: 1.005 MB / 0.5389 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.2908, allocations: 32.2 kB / 0.5389 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.2908, allocations: 58.56 kB / 0.539 GB, free: 15.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.291, allocations: 209.3 kB / 0.5392 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.291, allocations: 76.8 kB / 0.5393 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.2918, allocations: 0.6826 MB / 0.5399 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2918, allocations: 3.031 kB / 0.5399 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2918, allocations: 0 / 0.5399 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2918, allocations: 4.75 kB / 0.5399 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/0.2928, allocations: 0.9435 MB / 0.5409 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2928, allocations: 0 / 0.5409 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.2933, allocations: 194.2 kB / 0.541 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.526e-05/0.2934, allocations: 23.86 kB / 0.5411 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.2934, allocations: 15.83 kB / 0.5411 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.2947, allocations: 3.558 MB / 0.5446 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2947, allocations: 6.438 kB / 0.5446 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.2953, allocations: 0.5962 MB / 0.5451 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2954, allocations: 97.27 kB / 0.5452 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2955, allocations: 8.188 kB / 0.5452 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2956, allocations: 18.27 kB / 0.5453 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.2957, allocations: 43.34 kB / 0.5453 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.2957, allocations: 37.77 kB / 0.5453 GB, free: 10.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.296, allocations: 342.8 kB / 0.5457 GB, free: 10.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 4 kB / 0.5457 GB, free: 10.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.2964, allocations: 249.5 kB / 0.5459 GB, free: 10.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000413/0.2969, allocations: 257.6 kB / 0.5462 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.2974, allocations: 386.2 kB / 0.5465 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2974, allocations: 0 / 0.5465 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.2979, allocations: 394.8 kB / 0.5469 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.2986, allocations: 318.7 kB / 0.5472 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3001, allocations: 1.166 MB / 0.5483 GB, free: 8.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3002, allocations: 169.7 kB / 0.5485 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005414/0.3008, allocations: 409.2 kB / 0.5489 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3009, allocations: 102.6 kB / 0.549 GB, free: 8.508 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3009, allocations: 4 kB / 0.549 GB, free: 8.504 MB / 426.7 MB Notification: Performance of Templates: time 0.01569/0.3166, allocations: 14.89 MB / 0.5635 GB, free: 10.75 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7370582367293537]