Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001727/0.001727, 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.00213/0.00213, allocations: 161.6 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.472/1.472, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3392/0.3392, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.208e-05, allocations: 5.828 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3895/0.3896, allocations: 153.8 MB / 0.5167 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.396, allocations: 4.911 MB / 0.5215 GB, free: 8.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007836/0.3968, allocations: 30.69 kB / 0.5215 GB, free: 8.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.3977, allocations: 309.6 kB / 0.5218 GB, free: 8.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.401, allocations: 1.318 MB / 0.5231 GB, free: 7.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.4035, allocations: 1.013 MB / 0.5241 GB, free: 7.105 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.4056, allocations: 1.881 MB / 0.5259 GB, free: 6.246 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.4061, allocations: 412 kB / 0.5263 GB, free: 5.992 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.4086, allocations: 1.352 MB / 0.5276 GB, free: 5.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000932/0.4096, allocations: 0.6404 MB / 0.5283 GB, free: 5.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4097, allocations: 60.81 kB / 0.5283 GB, free: 5.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.411, allocations: 0.5491 MB / 0.5289 GB, free: 5.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.4113, allocations: 288.1 kB / 0.5291 GB, free: 4.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.4116, allocations: 284.7 kB / 0.5294 GB, free: 4.828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.4134, allocations: 1.385 MB / 0.5308 GB, free: 4.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4134, allocations: 4 kB / 0.5308 GB, free: 4.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4134, allocations: 0 / 0.5308 GB, free: 4.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4134, allocations: 0 / 0.5308 GB, free: 4.355 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.002083/0.4155, allocations: 1.044 MB / 0.5318 GB, free: 3.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4155, allocations: 7.25 kB / 0.5318 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008941/0.4164, allocations: 220.4 kB / 0.532 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.4172, allocations: 0.4977 MB / 0.5325 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.4173, allocations: 160.9 kB / 0.5326 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.4174, allocations: 53.41 kB / 0.5327 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.4185, allocations: 1.147 MB / 0.5338 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.4185, allocations: 6.938 kB / 0.5338 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.4186, allocations: 19.5 kB / 0.5338 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.4187, allocations: 41.2 kB / 0.5339 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.4196, allocations: 0.6167 MB / 0.5345 GB, free: 2.039 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.003871/0.4234, allocations: 3.211 MB / 0.5376 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.424, allocations: 348.6 kB / 0.538 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.4243, allocations: 158.5 kB / 0.5381 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.4244, allocations: 25.62 kB / 0.5381 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4245, allocations: 37.5 kB / 0.5382 GB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.4245, allocations: 0 / 0.5382 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005715/0.4302, allocations: 1.569 MB / 0.5397 GB, free: 14.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4303, allocations: 135.1 kB / 0.5398 GB, free: 13.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.431, allocations: 0.5323 MB / 0.5403 GB, free: 13.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.431, allocations: 36.39 kB / 0.5404 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4314, allocations: 387.9 kB / 0.5408 GB, free: 13.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4315, allocations: 144.1 kB / 0.5409 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.4318, allocations: 152.1 kB / 0.541 GB, free: 13.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004825/0.4322, allocations: 371.9 kB / 0.5414 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.4326, allocations: 198 kB / 0.5416 GB, free: 12.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.4334, allocations: 0.5869 MB / 0.5421 GB, free: 12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.4345, allocations: 0.7479 MB / 0.5429 GB, free: 11.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4345, allocations: 2.344 kB / 0.5429 GB, free: 11.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001552/0.436, allocations: 0.8919 MB / 0.5438 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.436, allocations: 10.19 kB / 0.5438 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4361, allocations: 10.53 kB / 0.5438 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4374, allocations: 298.9 kB / 0.5441 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.4378, allocations: 124.9 kB / 0.5442 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.439, allocations: 0.9184 MB / 0.5451 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.4396, allocations: 27.62 kB / 0.5451 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.4396, allocations: 62.67 kB / 0.5452 GB, free: 10.01 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.0003941/0.44, allocations: 245.6 kB / 0.5454 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.4402, allocations: 72.72 kB / 0.5455 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.4418, allocations: 0.8224 MB / 0.5463 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4418, allocations: 8.891 kB / 0.5463 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4418, allocations: 3.938 kB / 0.5463 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4418, allocations: 0 / 0.5463 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.4437, allocations: 1.062 MB / 0.5473 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4438, allocations: 4.031 kB / 0.5473 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.4448, allocations: 200.6 kB / 0.5475 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.4449, allocations: 30.27 kB / 0.5475 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.445, allocations: 11.97 kB / 0.5476 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.4476, allocations: 2.632 MB / 0.5501 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4476, allocations: 2.906 kB / 0.5501 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.4492, allocations: 0.8053 MB / 0.5509 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.4495, allocations: 95.61 kB / 0.551 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.4496, allocations: 11.98 kB / 0.551 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.45, allocations: 19.94 kB / 0.551 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4501, allocations: 45 kB / 0.5511 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.4502, allocations: 35.98 kB / 0.5511 GB, free: 5.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005228/0.4507, allocations: 358.8 kB / 0.5515 GB, free: 4.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4507, allocations: 0 / 0.5515 GB, free: 4.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00102/0.4517, allocations: 255.7 kB / 0.5517 GB, free: 4.418 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.0007457/0.4525, allocations: 282.8 kB / 0.552 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.4538, allocations: 0.5194 MB / 0.5525 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4538, allocations: 0.5625 kB / 0.5525 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4549, allocations: 394.3 kB / 0.5528 GB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.4564, allocations: 330.2 kB / 0.5532 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4588, allocations: 1.259 MB / 0.5544 GB, free: 1.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.4592, allocations: 332.3 kB / 0.5547 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.4602, allocations: 430.1 kB / 0.5551 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.4606, allocations: 100.4 kB / 0.5552 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4606, allocations: 0 / 0.5552 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of Templates: time 0.03078/0.4913, allocations: 15.38 MB / 0.5702 GB, free: 1.605 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.770129049895331]