Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001572/0.001572, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.002071/0.002071, allocations: 167.8 kB / 24.82 MB, free: 8.863 MB / 18.57 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.128/1.128, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 32.81 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.529e-05, allocations: 9.062 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2564/0.2564, allocations: 142.8 MB / 0.507 GB, free: 21.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2579, allocations: 1.6 MB / 0.5086 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.258, allocations: 1.375 kB / 0.5086 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.2583, allocations: 42.67 kB / 0.5086 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009383/0.2592, allocations: 432.4 kB / 0.5091 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.2596, allocations: 173.2 kB / 0.5092 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.2599, allocations: 188.8 kB / 0.5094 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.26, allocations: 4.859 kB / 0.5094 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.2602, allocations: 106.1 kB / 0.5095 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2604, allocations: 54.28 kB / 0.5096 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.2604, allocations: 9.438 kB / 0.5096 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.2618, allocations: 0.5461 MB / 0.5101 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2619, allocations: 33.5 kB / 0.5101 GB, free: 20.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.2619, allocations: 42.7 kB / 0.5102 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.2628, allocations: 432.8 kB / 0.5106 GB, free: 19.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2629, allocations: 1 kB / 0.5106 GB, free: 19.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2629, allocations: 0 / 0.5106 GB, free: 19.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2629, allocations: 0 / 0.5106 GB, free: 19.94 MB / 410.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.0006727/0.2635, allocations: 463.6 kB / 0.511 GB, free: 19.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.2636, allocations: 10.31 kB / 0.511 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.2652, allocations: 213.5 kB / 0.5112 GB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2655, allocations: 154.9 kB / 0.5114 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2655, allocations: 8.719 kB / 0.5114 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.2656, allocations: 11.45 kB / 0.5114 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.2659, allocations: 235.3 kB / 0.5116 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.266, allocations: 0 / 0.5116 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.266, allocations: 9.312 kB / 0.5116 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.266, allocations: 2.75 kB / 0.5116 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.2663, allocations: 127.9 kB / 0.5118 GB, free: 19.14 MB / 410.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.001313/0.2676, allocations: 0.5245 MB / 0.5123 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.2678, allocations: 149.5 kB / 0.5124 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2679, allocations: 72.23 kB / 0.5125 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.2681, allocations: 12.45 kB / 0.5125 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2681, allocations: 37.91 kB / 0.5125 GB, free: 18.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/0.2681, allocations: 0 / 0.5125 GB, free: 18.66 MB / 410.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.003499/0.2716, allocations: 1.07 MB / 0.5136 GB, free: 18.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.2716, allocations: 53.22 kB / 0.5136 GB, free: 18.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.2717, allocations: 170.6 kB / 0.5138 GB, free: 17.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2717, allocations: 29.7 kB / 0.5138 GB, free: 17.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.2717, allocations: 149.5 kB / 0.514 GB, free: 17.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2718, allocations: 69.98 kB / 0.514 GB, free: 17.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.2718, allocations: 49.3 kB / 0.5141 GB, free: 17.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.2719, allocations: 0.4916 MB / 0.5146 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.2719, allocations: 49.98 kB / 0.5146 GB, free: 17.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.272, allocations: 104.6 kB / 0.5147 GB, free: 17.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2721, allocations: 164.6 kB / 0.5149 GB, free: 16.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2721, allocations: 0 / 0.5149 GB, free: 16.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002789/0.2724, allocations: 224.2 kB / 0.5151 GB, free: 16.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2724, allocations: 9.594 kB / 0.5151 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2724, allocations: 2.812 kB / 0.5151 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.2726, allocations: 28.23 kB / 0.5151 GB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2728, allocations: 55 kB / 0.5152 GB, free: 16.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005503/0.2733, allocations: 1.77 MB / 0.5169 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2734, allocations: 13.25 kB / 0.5169 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.2734, allocations: 5.5 kB / 0.5169 GB, free: 15.08 MB / 410.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.2735, allocations: 170.3 kB / 0.5171 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.2736, allocations: 19.81 kB / 0.5171 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.2738, allocations: 245 kB / 0.5173 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2738, allocations: 10.78 kB / 0.5173 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.2738, allocations: 0 / 0.5173 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2738, allocations: 0 / 0.5173 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.2743, allocations: 0.5445 MB / 0.5179 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2743, allocations: 4.031 kB / 0.5179 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.2745, allocations: 57.41 kB / 0.5179 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.046e-05/0.2745, allocations: 18.84 kB / 0.518 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2745, allocations: 7.906 kB / 0.518 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/0.2749, allocations: 1.713 MB / 0.5196 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2749, allocations: 2.406 kB / 0.5196 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2752, allocations: 449.6 kB / 0.5201 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.2752, allocations: 13 kB / 0.5201 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2752, allocations: 6.562 kB / 0.5201 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2754, allocations: 14.14 kB / 0.5201 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.2754, allocations: 15.92 kB / 0.5201 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2754, allocations: 12.77 kB / 0.5201 GB, free: 12.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.051e-05/0.2754, allocations: 132.3 kB / 0.5203 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2754, allocations: 3.938 kB / 0.5203 GB, free: 12.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.2758, allocations: 137.4 kB / 0.5204 GB, free: 12.17 MB / 410.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.0003834/0.2762, allocations: 262.2 kB / 0.5206 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.2765, allocations: 335.2 kB / 0.521 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2765, allocations: 0 / 0.521 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2766, allocations: 268.6 kB / 0.5212 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2769, allocations: 51.88 kB / 0.5213 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.2775, allocations: 398.9 kB / 0.5216 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.2775, allocations: 79.14 kB / 0.5217 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.2777, allocations: 53.97 kB / 0.5218 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2779, allocations: 123.1 kB / 0.5219 GB, free: 11.14 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.2779, allocations: 0 / 0.5219 GB, free: 11.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01034/0.2882, allocations: 7.288 MB / 0.529 GB, free: 10.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5112421736121178]