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.002284/0.002284, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001584/0.001584, allocations: 170 kB / 24.82 MB, free: 9.273 MB / 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3574/0.3574, allocations: 34.26 MB / 296.1 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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 2.875e-06/2.875e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.422e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4533/0.4534, allocations: 146 MB / 0.5122 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.4589, allocations: 2.578 MB / 0.5147 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.4599, allocations: 27.47 kB / 0.5147 GB, free: 14.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.4607, allocations: 213.9 kB / 0.5149 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.4642, allocations: 1.102 MB / 0.516 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.4665, allocations: 0.8262 MB / 0.5168 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.469, allocations: 1.899 MB / 0.5187 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.4698, allocations: 427.8 kB / 0.5191 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.4719, allocations: 1.142 MB / 0.5202 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.4728, allocations: 0.5894 MB / 0.5208 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.473, allocations: 60.75 kB / 0.5208 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.4744, allocations: 446.7 kB / 0.5213 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.4747, allocations: 293.8 kB / 0.5215 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.4751, allocations: 281.9 kB / 0.5218 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.4768, allocations: 0.9877 MB / 0.5228 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4768, allocations: 0 / 0.5228 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4768, allocations: 2.781 kB / 0.5228 GB, free: 11.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.4768, allocations: 4 kB / 0.5228 GB, free: 11.34 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.001712/0.4786, allocations: 1.124 MB / 0.5239 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4786, allocations: 15.03 kB / 0.5239 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.4792, allocations: 214.8 kB / 0.5241 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.4798, allocations: 485.7 kB / 0.5246 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.4799, allocations: 149.6 kB / 0.5247 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.48, allocations: 64.94 kB / 0.5248 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.4807, allocations: 0.9356 MB / 0.5257 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4807, allocations: 7.062 kB / 0.5257 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.4808, allocations: 28.42 kB / 0.5257 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.4808, allocations: 32.53 kB / 0.5257 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.4812, allocations: 262.4 kB / 0.526 GB, free: 9.121 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.002391/0.4836, allocations: 3.765 MB / 0.5297 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.4838, allocations: 202.4 kB / 0.5299 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.4839, allocations: 78.28 kB / 0.5299 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.484, allocations: 15.89 kB / 0.53 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4841, allocations: 46.86 kB / 0.53 GB, free: 5.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.086e-06/0.4841, allocations: 0 / 0.53 GB, free: 5.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002632/0.4867, allocations: 1.002 MB / 0.531 GB, free: 5.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4867, allocations: 134.5 kB / 0.5311 GB, free: 5.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.4871, allocations: 0.5427 MB / 0.5316 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.4872, allocations: 36.67 kB / 0.5317 GB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4874, allocations: 443.2 kB / 0.5321 GB, free: 4.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.48e-05/0.4874, allocations: 154.1 kB / 0.5322 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4876, allocations: 166.9 kB / 0.5324 GB, free: 4.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4877, allocations: 0.5531 MB / 0.5329 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.4879, allocations: 78.05 kB / 0.533 GB, free: 3.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.4882, allocations: 0.6258 MB / 0.5336 GB, free: 2.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.4887, allocations: 0.6732 MB / 0.5343 GB, free: 2.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4887, allocations: 5.406 kB / 0.5343 GB, free: 2.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000825/0.4895, allocations: 0.6281 MB / 0.5349 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4896, allocations: 10.94 kB / 0.5349 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4896, allocations: 14.05 kB / 0.5349 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.4904, allocations: 237.6 kB / 0.5352 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4906, allocations: 124.3 kB / 0.5353 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005748/0.4912, allocations: 0.9857 MB / 0.5362 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.4915, allocations: 26.12 kB / 0.5363 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/0.4916, allocations: 63.97 kB / 0.5363 GB, free: 1.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0002452/0.4919, allocations: 214.9 kB / 0.5365 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.492, allocations: 76.05 kB / 0.5366 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.4929, allocations: 0.6661 MB / 0.5372 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4929, allocations: 2 kB / 0.5373 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4929, allocations: 7.5 kB / 0.5373 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.4929, allocations: 2.578 kB / 0.5373 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4941, allocations: 0.8274 MB / 0.5381 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4941, allocations: 0 / 0.5381 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.4946, allocations: 178.1 kB / 0.5382 GB, free: 0 / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.4947, allocations: 25.28 kB / 0.5383 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.4948, allocations: 20.81 kB / 0.5383 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.4968, allocations: 3.514 MB / 0.5417 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4968, allocations: 0 / 0.5417 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.4975, allocations: 0.5627 MB / 0.5423 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4977, allocations: 102 kB / 0.5424 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.4977, allocations: 9.688 kB / 0.5424 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.4979, allocations: 15.38 kB / 0.5424 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.498, allocations: 43.09 kB / 0.5424 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.498, allocations: 35.75 kB / 0.5425 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.4983, allocations: 320.6 kB / 0.5428 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4983, allocations: 0 / 0.5428 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.4991, allocations: 249.8 kB / 0.543 GB, free: 11.76 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.0005307/0.4997, allocations: 274.2 kB / 0.5433 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.5003, allocations: 354.8 kB / 0.5436 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5003, allocations: 3.938 kB / 0.5436 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.5008, allocations: 363.7 kB / 0.544 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/0.5017, allocations: 317.6 kB / 0.5443 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.5037, allocations: 1.16 MB / 0.5454 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5039, allocations: 166.4 kB / 0.5455 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006972/0.5046, allocations: 368.7 kB / 0.5459 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.5052, allocations: 377.6 kB / 0.5463 GB, free: 10.28 MB / 426.7 MB Notification: Performance of SimCode: time 4.388e-06/0.5052, allocations: 0 / 0.5463 GB, free: 10.28 MB / 426.7 MB Notification: Performance of Templates: time 0.02397/0.5292, allocations: 16.58 MB / 0.5625 GB, free: 11.49 MB / 442.7 MB " [Timeout remaining time 659] 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: 4.370305950753391]