Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.00247/0.00247, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002935/0.002935, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 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.521/1.521, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.2204/0.2204, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 3.938 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.713e-05/3.975e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4283/0.4283, allocations: 143.5 MB / 490.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4299, allocations: 1.518 MB / 492 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.43, allocations: 0 / 492 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.4303, allocations: 45.66 kB / 492 MB, free: 9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008854/0.4312, allocations: 402.3 kB / 492.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.4316, allocations: 174.4 kB / 492.6 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.4319, allocations: 189 kB / 492.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.4319, allocations: 3 kB / 492.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.4321, allocations: 102.6 kB / 492.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4322, allocations: 59.73 kB / 492.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.4322, allocations: 5.688 kB / 492.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00084/0.433, allocations: 0.522 MB / 493.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.4331, allocations: 35.12 kB / 493.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.4332, allocations: 35.33 kB / 493.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.4338, allocations: 430.8 kB / 493.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4338, allocations: 0 / 493.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4338, allocations: 4 kB / 493.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4338, allocations: 0 / 493.9 MB, free: 8.273 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004835/0.4342, allocations: 460.8 kB / 494.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4343, allocations: 8.938 kB / 494.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.4364, allocations: 217.8 kB / 494.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.4367, allocations: 156.9 kB / 494.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4367, allocations: 3.719 kB / 494.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.4368, allocations: 12.97 kB / 494.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.4373, allocations: 284.3 kB / 495 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4373, allocations: 2.938 kB / 495 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.4373, allocations: 3.312 kB / 495.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4373, allocations: 6.125 kB / 495.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.4379, allocations: 237.9 kB / 495.3 MB, free: 7.402 MB / 362.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.0017/0.4396, allocations: 0.5991 MB / 495.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.44, allocations: 228.5 kB / 496.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.4402, allocations: 105 kB / 496.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4404, allocations: 19.95 kB / 496.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.4404, allocations: 39.52 kB / 496.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/0.4404, allocations: 0 / 496.3 MB, free: 6.867 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005439/0.4458, allocations: 1.401 MB / 497.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4458, allocations: 54.53 kB / 497.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.4459, allocations: 183.9 kB / 497.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4459, allocations: 29.08 kB / 497.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.446, allocations: 141.5 kB / 498.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.446, allocations: 84.36 kB / 498.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.4461, allocations: 46.92 kB / 498.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.4462, allocations: 0.5006 MB / 498.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4464, allocations: 102.5 kB / 498.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4466, allocations: 143.1 kB / 498.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.447, allocations: 262.4 kB / 499.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.447, allocations: 0 / 499.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005792/0.4476, allocations: 307.3 kB / 499.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4476, allocations: 5.812 kB / 499.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4476, allocations: 0 / 499.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.4477, allocations: 34.83 kB / 499.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.4482, allocations: 56.14 kB / 499.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/0.4485, allocations: 0.8143 MB / 0.4887 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.4488, allocations: 6.312 kB / 0.4887 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.4488, allocations: 12.67 kB / 0.4887 GB, free: 4.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.4489, allocations: 165.3 kB / 0.4889 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.449, allocations: 19.36 kB / 0.4889 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.4497, allocations: 344.4 kB / 0.4892 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4497, allocations: 2.781 kB / 0.4892 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4497, allocations: 0 / 0.4892 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4497, allocations: 3.984 kB / 0.4892 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.4507, allocations: 0.6822 MB / 0.4899 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4507, allocations: 0 / 0.4899 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.4511, allocations: 49.06 kB / 0.4899 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.4512, allocations: 27.16 kB / 0.4899 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.4513, allocations: 10.52 kB / 0.49 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006708/0.4519, allocations: 1.766 MB / 0.4917 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4519, allocations: 7.484 kB / 0.4917 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.4527, allocations: 0.5409 MB / 0.4922 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.4527, allocations: 13.47 kB / 0.4922 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.4527, allocations: 5.469 kB / 0.4922 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.4531, allocations: 11.3 kB / 0.4922 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.4531, allocations: 21.12 kB / 0.4923 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4532, allocations: 8.062 kB / 0.4923 GB, free: 1.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.4532, allocations: 136.9 kB / 0.4924 GB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4532, allocations: 0 / 0.4924 GB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.4538, allocations: 136.9 kB / 0.4925 GB, free: 1.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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): 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.0006264/0.4544, allocations: 251.8 kB / 0.4928 GB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.455, allocations: 262.1 kB / 0.493 GB, free: 1.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.455, allocations: 0 / 0.493 GB, free: 1.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.4554, allocations: 317.5 kB / 0.4933 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4558, allocations: 60.86 kB / 0.4934 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.4565, allocations: 418.3 kB / 0.4938 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.4566, allocations: 100.2 kB / 0.4939 GB, free: 428 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.4568, allocations: 47.45 kB / 0.4939 GB, free: 392 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4569, allocations: 24.2 kB / 0.4939 GB, free: 380 kB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.4569, allocations: 0 / 0.4939 GB, free: 380 kB / 362.7 MB Notification: Performance of Templates: time 0.01289/0.4698, allocations: 6.481 MB / 0.5003 GB, free: 12.06 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.683072754065506]