Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001235/0.001235, allocations: 96.44 kB / 15.98 MB, free: 6.352 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.001233/0.001233, allocations: 193.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.5 MB / 313.6 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.483/0.6219, allocations: 177.9 MB / 0.6035 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.633, allocations: 8.236 MB / 0.6115 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.6343, allocations: 27.81 kB / 0.6115 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.6354, allocations: 278.5 kB / 0.6118 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.6402, allocations: 1.367 MB / 0.6131 GB, free: 156 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.6436, allocations: 1.055 MB / 0.6142 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.6466, allocations: 1.864 MB / 0.616 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008665/0.6475, allocations: 456.5 kB / 0.6164 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.6509, allocations: 1.207 MB / 0.6176 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.652, allocations: 0.6968 MB / 0.6183 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.6522, allocations: 64 kB / 0.6183 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.6541, allocations: 0.745 MB / 0.6191 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.6544, allocations: 279.1 kB / 0.6193 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.6549, allocations: 398.2 kB / 0.6197 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.6569, allocations: 1.422 MB / 0.6211 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6569, allocations: 0 / 0.6211 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.657, allocations: 0 / 0.6211 GB, free: 7.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.657, allocations: 3.938 kB / 0.6211 GB, free: 7.992 MB / 494.1 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.00236/0.6593, allocations: 1.131 MB / 0.6222 GB, free: 6.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6594, allocations: 16.03 kB / 0.6222 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/0.6602, allocations: 131.1 kB / 0.6223 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.661, allocations: 0.5157 MB / 0.6228 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.6611, allocations: 100.4 kB / 0.6229 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.6612, allocations: 48 kB / 0.623 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.6624, allocations: 0.8214 MB / 0.6238 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.6624, allocations: 7.938 kB / 0.6238 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.6625, allocations: 20 kB / 0.6238 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.6626, allocations: 36.98 kB / 0.6238 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.6636, allocations: 0.6165 MB / 0.6244 GB, free: 4.375 MB / 494.1 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.004345/0.6679, allocations: 3.989 MB / 0.6283 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2801/0.948, allocations: 348.2 kB / 0.6287 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.9485, allocations: 170.2 kB / 0.6288 GB, free: 159.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.9492, allocations: 361 kB / 0.6292 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.9492, allocations: 38 kB / 0.6292 GB, free: 159.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 4.639e-06/0.9492, allocations: 0 / 0.6292 GB, free: 159.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006003/0.9552, allocations: 1.67 MB / 0.6309 GB, free: 158.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.9554, allocations: 134.2 kB / 0.631 GB, free: 158.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.9562, allocations: 0.6181 MB / 0.6316 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.9563, allocations: 34.58 kB / 0.6316 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.9566, allocations: 368.9 kB / 0.632 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.9568, allocations: 140.4 kB / 0.6321 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.957, allocations: 150.7 kB / 0.6322 GB, free: 158.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9571, allocations: 376.9 kB / 0.6326 GB, free: 157.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.9574, allocations: 203 kB / 0.6328 GB, free: 157.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.9579, allocations: 0.5176 MB / 0.6333 GB, free: 157.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.9589, allocations: 0.7444 MB / 0.634 GB, free: 157 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.9589, allocations: 2.812 kB / 0.634 GB, free: 157 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001587/0.9605, allocations: 0.887 MB / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.9606, allocations: 8.344 kB / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.9606, allocations: 11.69 kB / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.9621, allocations: 314.7 kB / 0.6352 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.9625, allocations: 128 kB / 0.6353 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.9635, allocations: 0.9301 MB / 0.6362 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.9642, allocations: 58.73 kB / 0.6363 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.9643, allocations: 64 kB / 0.6364 GB, free: 156 MB / 494.1 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.0003907/0.9647, allocations: 245.8 kB / 0.6366 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.9649, allocations: 65.16 kB / 0.6367 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.9663, allocations: 0.6951 MB / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.9663, allocations: 5.125 kB / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9663, allocations: 0 / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.9663, allocations: 3.047 kB / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.9687, allocations: 1.615 MB / 0.6389 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9687, allocations: 3.094 kB / 0.6389 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.9697, allocations: 201.5 kB / 0.6391 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-05/0.9698, allocations: 24.7 kB / 0.6391 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.9699, allocations: 24.28 kB / 0.6392 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.9715, allocations: 2.875 MB / 0.642 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9715, allocations: 0 / 0.642 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.9726, allocations: 0.8104 MB / 0.6428 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.9729, allocations: 192.6 kB / 0.643 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.973, allocations: 10.34 kB / 0.643 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.9734, allocations: 28.47 kB / 0.643 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.9736, allocations: 43.05 kB / 0.643 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.9737, allocations: 48.16 kB / 0.6431 GB, free: 151 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.9742, allocations: 437.5 kB / 0.6435 GB, free: 150.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9742, allocations: 3.609 kB / 0.6435 GB, free: 150.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001484/0.9757, allocations: 291.4 kB / 0.6438 GB, free: 150.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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.001081/0.9768, allocations: 376.8 kB / 0.6441 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.9782, allocations: 0.5937 MB / 0.6447 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9782, allocations: 2.938 kB / 0.6447 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.9792, allocations: 411 kB / 0.6451 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.9809, allocations: 371.1 kB / 0.6455 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.983, allocations: 1.525 MB / 0.6469 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.9834, allocations: 0.9328 MB / 0.6479 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.9844, allocations: 259.9 kB / 0.6481 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.9847, allocations: 97.42 kB / 0.6482 GB, free: 148.6 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.9847, allocations: 0 / 0.6482 GB, free: 148.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04351/1.028, allocations: 18.27 MB / 0.666 GB, free: 146 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches