Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001977/0.001977, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002527/0.002527, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3408/0.3408, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.116e-05, allocations: 2.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3735/0.3735, allocations: 130.2 MB / 0.4936 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.3804, allocations: 5.18 MB / 0.4987 GB, free: 24.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007238/0.3812, allocations: 26.75 kB / 0.4987 GB, free: 24.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3822, allocations: 324.1 kB / 0.499 GB, free: 24.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.3843, allocations: 0.9151 MB / 0.4999 GB, free: 23.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.3882, allocations: 1.061 MB / 0.5009 GB, free: 23.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.3914, allocations: 1.839 MB / 0.5027 GB, free: 22.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.3922, allocations: 415.2 kB / 0.5031 GB, free: 22.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.394, allocations: 1.008 MB / 0.5041 GB, free: 21.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.3951, allocations: 0.6913 MB / 0.5048 GB, free: 21.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3953, allocations: 61.72 kB / 0.5049 GB, free: 21.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.3965, allocations: 0.489 MB / 0.5053 GB, free: 21.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.3968, allocations: 288 kB / 0.5056 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.3972, allocations: 286.1 kB / 0.5059 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3987, allocations: 1.203 MB / 0.5071 GB, free: 20.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3987, allocations: 0 / 0.5071 GB, free: 20.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3987, allocations: 0 / 0.5071 GB, free: 20.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3987, allocations: 3.938 kB / 0.5071 GB, free: 20.81 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.001954/0.4006, allocations: 0.9967 MB / 0.508 GB, free: 20.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4007, allocations: 8 kB / 0.508 GB, free: 20.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.4011, allocations: 153.2 kB / 0.5082 GB, free: 20.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008385/0.402, allocations: 0.4979 MB / 0.5087 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.4021, allocations: 149.7 kB / 0.5088 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4022, allocations: 58.55 kB / 0.5089 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.4034, allocations: 1.144 MB / 0.51 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4035, allocations: 4.312 kB / 0.51 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.4035, allocations: 27.45 kB / 0.51 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.4036, allocations: 39.48 kB / 0.5101 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.4045, allocations: 0.6563 MB / 0.5107 GB, free: 18.53 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.003607/0.4081, allocations: 3.07 MB / 0.5137 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.4089, allocations: 408.3 kB / 0.5141 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.4092, allocations: 190.1 kB / 0.5143 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.4094, allocations: 63.94 kB / 0.5143 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4095, allocations: 42.23 kB / 0.5144 GB, free: 16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.4095, allocations: 0 / 0.5144 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.003005/0.4125, allocations: 1.397 MB / 0.5157 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4125, allocations: 140.8 kB / 0.5159 GB, free: 15.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.413, allocations: 0.5168 MB / 0.5164 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.413, allocations: 40.39 kB / 0.5164 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.4132, allocations: 371.3 kB / 0.5168 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.4133, allocations: 166.1 kB / 0.5169 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.4135, allocations: 140.5 kB / 0.5171 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.4136, allocations: 368.7 kB / 0.5174 GB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.4139, allocations: 215.3 kB / 0.5176 GB, free: 13.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.4144, allocations: 0.5873 MB / 0.5182 GB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.4152, allocations: 0.7651 MB / 0.5189 GB, free: 12.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4152, allocations: 6.781 kB / 0.5189 GB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00147/0.4166, allocations: 0.9262 MB / 0.5198 GB, free: 12.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4167, allocations: 12.47 kB / 0.5199 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4167, allocations: 14.84 kB / 0.5199 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.4181, allocations: 285.8 kB / 0.5201 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.4186, allocations: 119.7 kB / 0.5203 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008639/0.4194, allocations: 0.9046 MB / 0.5211 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.4199, allocations: 27.89 kB / 0.5212 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.42, allocations: 37.78 kB / 0.5212 GB, free: 11.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.4203, allocations: 245.8 kB / 0.5214 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4205, allocations: 83.41 kB / 0.5215 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.4216, allocations: 0.6915 MB / 0.5222 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4216, allocations: 9.188 kB / 0.5222 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.4216, allocations: 0 / 0.5222 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4216, allocations: 2.625 kB / 0.5222 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.4232, allocations: 1.175 MB / 0.5233 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4232, allocations: 5.938 kB / 0.5234 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4243, allocations: 204.1 kB / 0.5235 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.4244, allocations: 27.22 kB / 0.5236 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.4244, allocations: 14.67 kB / 0.5236 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4258, allocations: 2.622 MB / 0.5261 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4258, allocations: 3.406 kB / 0.5262 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.427, allocations: 0.9475 MB / 0.5271 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.4273, allocations: 116.8 kB / 0.5272 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.4273, allocations: 19.92 kB / 0.5272 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.4277, allocations: 16.84 kB / 0.5272 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.4278, allocations: 44.59 kB / 0.5273 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.4279, allocations: 21.84 kB / 0.5273 GB, free: 7.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003671/0.4282, allocations: 350.5 kB / 0.5276 GB, free: 7.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4282, allocations: 0 / 0.5276 GB, free: 7.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008668/0.4291, allocations: 231.8 kB / 0.5278 GB, free: 7.016 MB / 410.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004083/0.4295, allocations: 240 kB / 0.5281 GB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4306, allocations: 0.5855 MB / 0.5286 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4306, allocations: 0 / 0.5286 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.4316, allocations: 454 kB / 0.5291 GB, free: 6.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.433, allocations: 337.9 kB / 0.5294 GB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.4348, allocations: 1.3 MB / 0.5307 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.435, allocations: 345.9 kB / 0.531 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005642/0.4356, allocations: 191 kB / 0.5312 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.4358, allocations: 65.88 kB / 0.5312 GB, free: 5.473 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4358, allocations: 3.125 kB / 0.5312 GB, free: 5.473 MB / 410.7 MB Notification: Performance of Templates: time 0.02318/0.4589, allocations: 14.28 MB / 0.5452 GB, free: 11.46 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 5.767023778986186]