Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001887/0.001887, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.002398/0.002398, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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.496/1.496, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 34.28 MB / 294.9 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.4e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4403/0.4404, allocations: 131.8 MB / 0.561 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.4449, allocations: 2.92 MB / 0.5639 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.4451, allocations: 0 / 0.5639 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.4455, allocations: 63.53 kB / 0.5639 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.4487, allocations: 1.115 MB / 0.565 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.4493, allocations: 205 kB / 0.5652 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.4499, allocations: 370.5 kB / 0.5656 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.45, allocations: 10.06 kB / 0.5656 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.4504, allocations: 211.4 kB / 0.5658 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.4507, allocations: 107.7 kB / 0.5659 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.4508, allocations: 12 kB / 0.5659 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.4538, allocations: 1.352 MB / 0.5672 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.454, allocations: 95.75 kB / 0.5673 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.4542, allocations: 79.83 kB / 0.5674 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.4564, allocations: 1.087 MB / 0.5685 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4565, allocations: 0 / 0.5685 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4565, allocations: 0 / 0.5685 GB, free: 10.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4565, allocations: 0 / 0.5685 GB, free: 10.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001091/0.4576, allocations: 485.2 kB / 0.5689 GB, free: 9.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4576, allocations: 8.031 kB / 0.5689 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.4592, allocations: 222 kB / 0.5691 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.4596, allocations: 193.5 kB / 0.5693 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.4596, allocations: 16.73 kB / 0.5693 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.4597, allocations: 24.52 kB / 0.5694 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.4605, allocations: 0.5841 MB / 0.5699 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4605, allocations: 0 / 0.5699 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.4606, allocations: 8 kB / 0.5699 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.4606, allocations: 15.98 kB / 0.57 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.4613, allocations: 412.4 kB / 0.5704 GB, free: 8.363 MB / 478.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.001927/0.4632, allocations: 0.7236 MB / 0.5711 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.4637, allocations: 225.1 kB / 0.5713 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.4639, allocations: 117.7 kB / 0.5714 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/0.4656, allocations: 309.7 kB / 0.5717 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.4656, allocations: 44.05 kB / 0.5717 GB, free: 6.895 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.4656, allocations: 0 / 0.5717 GB, free: 6.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001359/0.467, allocations: 392.4 kB / 0.5721 GB, free: 6.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.467, allocations: 77.11 kB / 0.5722 GB, free: 6.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4672, allocations: 113.8 kB / 0.5723 GB, free: 6.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.4672, allocations: 33.7 kB / 0.5723 GB, free: 6.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.4673, allocations: 116.5 kB / 0.5724 GB, free: 6.137 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.4674, allocations: 115 kB / 0.5725 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4675, allocations: 70.02 kB / 0.5726 GB, free: 5.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4677, allocations: 326.8 kB / 0.5729 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.468, allocations: 100.3 kB / 0.573 GB, free: 5.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.4683, allocations: 194.8 kB / 0.5732 GB, free: 5.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.4689, allocations: 313.7 kB / 0.5735 GB, free: 4.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4689, allocations: 0 / 0.5735 GB, free: 4.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007733/0.4696, allocations: 356 kB / 0.5738 GB, free: 4.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4697, allocations: 15.95 kB / 0.5738 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4697, allocations: 7.938 kB / 0.5739 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.4697, allocations: 7.984 kB / 0.5739 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.4701, allocations: 71.91 kB / 0.5739 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4701, allocations: 4 kB / 0.5739 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.4703, allocations: 27.83 kB / 0.574 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.4704, allocations: 20 kB / 0.574 GB, free: 4.453 MB / 478.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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001983/0.4706, allocations: 142.4 kB / 0.5741 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4707, allocations: 15.91 kB / 0.5741 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.4715, allocations: 342.3 kB / 0.5745 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/0.4715, allocations: 5.375 kB / 0.5745 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4715, allocations: 4 kB / 0.5745 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4716, allocations: 3.984 kB / 0.5745 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.4722, allocations: 238.8 kB / 0.5747 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.4722, allocations: 0 / 0.5747 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.4726, allocations: 55.91 kB / 0.5748 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4726, allocations: 0 / 0.5748 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.4727, allocations: 19.92 kB / 0.5748 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.4727, allocations: 4 kB / 0.5748 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4727, allocations: 2.562 kB / 0.5748 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4738, allocations: 0.5184 MB / 0.5753 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.4738, allocations: 23.83 kB / 0.5753 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.4739, allocations: 12 kB / 0.5753 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.4743, allocations: 11.98 kB / 0.5753 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.4743, allocations: 19.97 kB / 0.5753 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.4744, allocations: 19.98 kB / 0.5754 GB, free: 2.973 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.4745, allocations: 91.27 kB / 0.5755 GB, free: 2.883 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4745, allocations: 0 / 0.5755 GB, free: 2.883 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001172/0.4757, allocations: 239.3 kB / 0.5757 GB, free: 2.648 MB / 478.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.001995/0.4776, allocations: 474.2 kB / 0.5761 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.4783, allocations: 261.9 kB / 0.5764 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4783, allocations: 4.188 kB / 0.5764 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.4786, allocations: 123.9 kB / 0.5765 GB, free: 1.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.4793, allocations: 93.2 kB / 0.5766 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.4806, allocations: 0.5841 MB / 0.5772 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4807, allocations: 124.5 kB / 0.5773 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.481, allocations: 81.77 kB / 0.5774 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4812, allocations: 40.36 kB / 0.5774 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4812, allocations: 0 / 0.5774 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of Templates: time 0.01792/0.4991, allocations: 8.625 MB / 0.5858 GB, free: 8.309 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.793877571821213]