Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.002283/0.002283, allocations: 104.3 kB / 19.7 MB, free: 1.934 MB / 14.72 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.00251/0.00251, allocations: 216.6 kB / 22.99 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2601/0.2601, allocations: 44.25 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 75.83 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1681, allocations: 61.03 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5715/0.7396, allocations: 130 MB / 0.6436 GB, free: 212 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.744, allocations: 2.727 MB / 0.6463 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.7441, allocations: 4 kB / 0.6463 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.7446, allocations: 47.69 kB / 0.6463 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.7476, allocations: 1.054 MB / 0.6474 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.7483, allocations: 196.5 kB / 0.6475 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.7488, allocations: 354.7 kB / 0.6479 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.7489, allocations: 9.297 kB / 0.6479 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.7493, allocations: 159.5 kB / 0.648 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.7495, allocations: 115.5 kB / 0.6482 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.7496, allocations: 12 kB / 0.6482 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.7528, allocations: 1.266 MB / 0.6494 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.7529, allocations: 79.78 kB / 0.6495 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.7531, allocations: 95.7 kB / 0.6496 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.7547, allocations: 0.9455 MB / 0.6505 GB, free: 9.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7547, allocations: 0 / 0.6505 GB, free: 9.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7547, allocations: 3.938 kB / 0.6505 GB, free: 9.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.7547, allocations: 1.219 kB / 0.6505 GB, free: 9.168 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009549/0.7557, allocations: 485.3 kB / 0.651 GB, free: 8.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7557, allocations: 8.031 kB / 0.651 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.7571, allocations: 200.6 kB / 0.6512 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.7575, allocations: 190.3 kB / 0.6513 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7575, allocations: 12.94 kB / 0.6514 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.7576, allocations: 23.94 kB / 0.6514 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.7584, allocations: 0.5733 MB / 0.6519 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7584, allocations: 4 kB / 0.6519 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.7584, allocations: 8 kB / 0.6519 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.7584, allocations: 7.938 kB / 0.652 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.7591, allocations: 411.7 kB / 0.6524 GB, free: 7.16 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.001739/0.7608, allocations: 0.7069 MB / 0.653 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.7613, allocations: 221 kB / 0.6533 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.7615, allocations: 115.2 kB / 0.6534 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.763, allocations: 301.8 kB / 0.6536 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/0.7631, allocations: 50.42 kB / 0.6537 GB, free: 5.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 3.957e-06/0.7631, allocations: 7.984 kB / 0.6537 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.00125/0.7643, allocations: 361.9 kB / 0.654 GB, free: 5.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.7644, allocations: 81.11 kB / 0.6541 GB, free: 5.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.7645, allocations: 113.8 kB / 0.6542 GB, free: 5.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.7646, allocations: 33.7 kB / 0.6543 GB, free: 5.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7647, allocations: 112.5 kB / 0.6544 GB, free: 4.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.7648, allocations: 111 kB / 0.6545 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.7649, allocations: 66.02 kB / 0.6545 GB, free: 4.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7651, allocations: 322.8 kB / 0.6549 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.7653, allocations: 100.6 kB / 0.6549 GB, free: 4.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.7655, allocations: 187.5 kB / 0.6551 GB, free: 4.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.766, allocations: 300.1 kB / 0.6554 GB, free: 3.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.766, allocations: 0 / 0.6554 GB, free: 3.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006212/0.7666, allocations: 349.9 kB / 0.6557 GB, free: 3.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7667, allocations: 4 kB / 0.6558 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7667, allocations: 4.312 kB / 0.6558 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.7667, allocations: 8 kB / 0.6558 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.7671, allocations: 71.91 kB / 0.6558 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7671, allocations: 11.88 kB / 0.6558 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7673, allocations: 34.02 kB / 0.6559 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.7673, allocations: 16 kB / 0.6559 GB, free: 3.332 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.7675, allocations: 137.8 kB / 0.656 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7676, allocations: 19.84 kB / 0.656 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.7683, allocations: 328.8 kB / 0.6564 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7683, allocations: 4 kB / 0.6564 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7683, allocations: 0 / 0.6564 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7683, allocations: 4 kB / 0.6564 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.7688, allocations: 230.9 kB / 0.6566 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7688, allocations: 0 / 0.6566 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.7691, allocations: 55.91 kB / 0.6566 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.7692, allocations: 11.88 kB / 0.6566 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.7692, allocations: 8 kB / 0.6567 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7692, allocations: 0 / 0.6567 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7692, allocations: 0 / 0.6567 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.77, allocations: 0.5155 MB / 0.6572 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.77, allocations: 23.84 kB / 0.6572 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.7701, allocations: 15.98 kB / 0.6572 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.7704, allocations: 9.438 kB / 0.6572 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.7704, allocations: 19.95 kB / 0.6572 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.7704, allocations: 19.98 kB / 0.6572 GB, free: 1.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.7705, allocations: 91.27 kB / 0.6573 GB, free: 1.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7705, allocations: 0 / 0.6573 GB, free: 1.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001015/0.7715, allocations: 223.5 kB / 0.6575 GB, free: 1.578 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.7726, allocations: 434.2 kB / 0.658 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.7732, allocations: 244 kB / 0.6582 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7732, allocations: 0 / 0.6582 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.7734, allocations: 123.8 kB / 0.6583 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.7741, allocations: 89.41 kB / 0.6584 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.7754, allocations: 0.7303 MB / 0.6591 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.7756, allocations: 127.8 kB / 0.6592 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.7759, allocations: 65.84 kB / 0.6593 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.776, allocations: 31.42 kB / 0.6593 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.776, allocations: 0 / 0.6593 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.01583/0.7918, allocations: 8.565 MB / 0.6677 GB, free: 7.172 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 6.693934036418796]