Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 110.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 187.2 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3344, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2053/0.5397, allocations: 174.4 MB / 0.6899 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007232/0.547, allocations: 5.327 MB / 0.6951 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.5477, allocations: 23.81 kB / 0.6951 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.5487, allocations: 314 kB / 0.6954 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.5521, allocations: 1.26 MB / 0.6966 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.5548, allocations: 0.9657 MB / 0.6976 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.5574, allocations: 1.856 MB / 0.6994 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.5583, allocations: 465.3 kB / 0.6998 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.5607, allocations: 1.086 MB / 0.7009 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.5621, allocations: 0.6462 MB / 0.7015 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.5623, allocations: 68 kB / 0.7016 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5641, allocations: 0.6203 MB / 0.7022 GB, free: 420 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.5646, allocations: 267.2 kB / 0.7024 GB, free: 152 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.5655, allocations: 398.2 kB / 0.7028 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.5683, allocations: 1.304 MB / 0.7041 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5683, allocations: 0 / 0.7041 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5683, allocations: 0 / 0.7041 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.5683, allocations: 0 / 0.7041 GB, free: 14.45 MB / 0.5606 GB 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.002831/0.5712, allocations: 1.125 MB / 0.7052 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5712, allocations: 8.031 kB / 0.7052 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009317/0.5722, allocations: 143.5 kB / 0.7053 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.5731, allocations: 0.5395 MB / 0.7059 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5732, allocations: 100.4 kB / 0.706 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5733, allocations: 55.98 kB / 0.706 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5746, allocations: 0.8097 MB / 0.7068 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5746, allocations: 3.938 kB / 0.7068 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.5747, allocations: 24 kB / 0.7068 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.462e-05/0.5748, allocations: 44.91 kB / 0.7069 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5758, allocations: 0.6127 MB / 0.7075 GB, free: 10.8 MB / 0.5606 GB 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.004572/0.5804, allocations: 3.966 MB / 0.7114 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.581, allocations: 367.5 kB / 0.7117 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5813, allocations: 169.3 kB / 0.7119 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.5815, allocations: 93.38 kB / 0.712 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5815, allocations: 38.84 kB / 0.712 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.5815, allocations: 0 / 0.712 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005763/0.5873, allocations: 1.677 MB / 0.7136 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5874, allocations: 136.5 kB / 0.7138 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.5882, allocations: 0.6133 MB / 0.7144 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.5882, allocations: 33.7 kB / 0.7144 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.5886, allocations: 371.9 kB / 0.7147 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.5887, allocations: 150.7 kB / 0.7149 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.5889, allocations: 154.6 kB / 0.715 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5891, allocations: 374.8 kB / 0.7154 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.5895, allocations: 205.9 kB / 0.7156 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.59, allocations: 0.5086 MB / 0.7161 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.591, allocations: 0.7592 MB / 0.7168 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.591, allocations: 4 kB / 0.7168 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.298/0.889, allocations: 0.8829 MB / 0.7177 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.8891, allocations: 12.61 kB / 0.7177 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.8891, allocations: 9.938 kB / 0.7177 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.8907, allocations: 315.6 kB / 0.718 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.8912, allocations: 125.3 kB / 0.7181 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.8923, allocations: 0.9368 MB / 0.719 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.8928, allocations: 28.42 kB / 0.7191 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/0.8929, allocations: 71.59 kB / 0.7191 GB, free: 189.2 MB / 0.5606 GB 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.0003485/0.8933, allocations: 248 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8934, allocations: 71.38 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.8951, allocations: 0.8582 MB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8952, allocations: 1.688 kB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8952, allocations: 3 kB / 0.7203 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.8954, allocations: 191 kB / 0.7205 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8956, allocations: 10.44 kB / 0.7205 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.8959, allocations: 18.38 kB / 0.7205 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.896, allocations: 31.48 kB / 0.7205 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001611/0.8976, allocations: 0.6287 MB / 0.7211 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001154/0.8988, allocations: 0.8232 MB / 0.7219 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002964/0.8991, allocations: 186.8 kB / 0.7221 GB, free: 188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005309/0.8997, allocations: 437.9 kB / 0.7225 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of Backend: time 7.31e-07/0.8997, allocations: 0 / 0.7225 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.9019, allocations: 0.7609 MB / 0.7233 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002831/0.9047, allocations: 1.933 MB / 0.7252 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02662/0.9313, allocations: 18.44 MB / 0.7432 GB, free: 175.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches