Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008566/0.0008567, allocations: 176.5 kB / 16.08 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007945, allocations: 103.1 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3723/0.3723, allocations: 43.67 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 12 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 58.85 MB / 491.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.355/0.4785, allocations: 136.6 MB / 0.6131 GB, free: 12.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009855/0.4884, allocations: 7.837 MB / 0.6207 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009719/0.4895, allocations: 27.75 kB / 0.6208 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009526/0.4904, allocations: 286.5 kB / 0.621 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.4923, allocations: 0.8088 MB / 0.6218 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.4949, allocations: 0.9303 MB / 0.6227 GB, free: 2.527 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.4976, allocations: 2.667 MB / 0.6253 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.4982, allocations: 404.4 kB / 0.6257 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4993, allocations: 0.6731 MB / 0.6264 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.5004, allocations: 0.7202 MB / 0.6271 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5005, allocations: 32 kB / 0.6271 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.502, allocations: 0.5146 MB / 0.6276 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.5022, allocations: 239.2 kB / 0.6278 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.5026, allocations: 399.9 kB / 0.6282 GB, free: 12.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5039, allocations: 1.083 MB / 0.6293 GB, free: 11.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5039, allocations: 0 / 0.6293 GB, free: 11.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5039, allocations: 0 / 0.6293 GB, free: 11.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.5039, allocations: 3.938 kB / 0.6293 GB, free: 11.8 MB / 458.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.001875/0.5058, allocations: 0.9193 MB / 0.6302 GB, free: 10.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5059, allocations: 8.031 kB / 0.6302 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.5062, allocations: 92.08 kB / 0.6303 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.507, allocations: 0.5132 MB / 0.6308 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.5071, allocations: 96.97 kB / 0.6309 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.5072, allocations: 48.56 kB / 0.6309 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5085, allocations: 0.8266 MB / 0.6317 GB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.5085, allocations: 3.938 kB / 0.6317 GB, free: 9.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.5086, allocations: 27.98 kB / 0.6317 GB, free: 9.098 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.5086, allocations: 36.98 kB / 0.6318 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5097, allocations: 0.6517 MB / 0.6324 GB, free: 8.41 MB / 458.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.004487/0.5142, allocations: 3.964 MB / 0.6363 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.515, allocations: 420.3 kB / 0.6367 GB, free: 3.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.5154, allocations: 205.4 kB / 0.6369 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.516, allocations: 0.7327 MB / 0.6376 GB, free: 2.648 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.516, allocations: 40.08 kB / 0.6376 GB, free: 2.602 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/0.516, allocations: 0 / 0.6376 GB, free: 2.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.003238/0.5193, allocations: 1.546 MB / 0.6392 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.5194, allocations: 136.5 kB / 0.6393 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.52, allocations: 0.5615 MB / 0.6398 GB, free: 256 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.5201, allocations: 41.7 kB / 0.6399 GB, free: 208 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.5204, allocations: 351 kB / 0.6402 GB, free: 15.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.5205, allocations: 169.7 kB / 0.6404 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.5205, allocations: 8 kB / 0.6404 GB, free: 15.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5207, allocations: 374.8 kB / 0.6407 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.5211, allocations: 213.9 kB / 0.6409 GB, free: 15.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.5217, allocations: 0.5045 MB / 0.6414 GB, free: 14.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.5226, allocations: 0.7601 MB / 0.6422 GB, free: 13.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5226, allocations: 4 kB / 0.6422 GB, free: 13.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001703/0.5243, allocations: 0.91 MB / 0.6431 GB, free: 12.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5244, allocations: 8 kB / 0.6431 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5244, allocations: 12 kB / 0.6431 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.5258, allocations: 284.8 kB / 0.6434 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.5262, allocations: 119.8 kB / 0.6435 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.5272, allocations: 0.8879 MB / 0.6443 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.5277, allocations: 44.09 kB / 0.6444 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.5278, allocations: 43.97 kB / 0.6444 GB, free: 11.22 MB / 474.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.000341/0.5281, allocations: 247.9 kB / 0.6447 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5282, allocations: 75.09 kB / 0.6447 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.5295, allocations: 0.7761 MB / 0.6455 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5295, allocations: 4 kB / 0.6455 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5295, allocations: 4 kB / 0.6455 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5295, allocations: 7.984 kB / 0.6455 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.5314, allocations: 1.411 MB / 0.6469 GB, free: 8.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5315, allocations: 0 / 0.6469 GB, free: 8.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5325, allocations: 199.7 kB / 0.6471 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.338e-05/0.5326, allocations: 28.83 kB / 0.6471 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.5326, allocations: 15.94 kB / 0.6471 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5346, allocations: 2.672 MB / 0.6497 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5346, allocations: 11.91 kB / 0.6497 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.5359, allocations: 1.011 MB / 0.6507 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5362, allocations: 204.2 kB / 0.6509 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.5363, allocations: 16.06 kB / 0.6509 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.5368, allocations: 35.91 kB / 0.651 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.5369, allocations: 37.77 kB / 0.651 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.5369, allocations: 27.98 kB / 0.651 GB, free: 3.969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005179/0.5375, allocations: 423 kB / 0.6514 GB, free: 3.559 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5375, allocations: 0 / 0.6514 GB, free: 3.559 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008109/0.5383, allocations: 220 kB / 0.6516 GB, free: 3.344 MB / 474.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.0005834/0.5389, allocations: 269.3 kB / 0.6519 GB, free: 3.078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5401, allocations: 0.5912 MB / 0.6525 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5401, allocations: 8 kB / 0.6525 GB, free: 2.484 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5411, allocations: 450.3 kB / 0.6529 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.5429, allocations: 351.2 kB / 0.6532 GB, free: 1.691 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.5451, allocations: 1.701 MB / 0.6549 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.5457, allocations: 0.9349 MB / 0.6558 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007011/0.5464, allocations: 213.1 kB / 0.656 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5465, allocations: 67.42 kB / 0.6561 GB, free: 14.71 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5465, allocations: 0 / 0.6561 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Templates: time 0.02405/0.5706, allocations: 14.8 MB / 0.6705 GB, free: 24 kB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches