Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001094/0.001094, allocations: 77.88 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.001274/0.001274, allocations: 169.3 kB / 24.82 MB, free: 9.324 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.126/1.126, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.3857/0.3857, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 0 / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.837e-05/4.218e-05, allocations: 2.312 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.438/0.4381, allocations: 142.6 MB / 0.5088 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.4395, allocations: 1.059 MB / 0.5099 GB, free: 18.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4396, allocations: 5.031 kB / 0.5099 GB, free: 18.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.4399, allocations: 26.89 kB / 0.5099 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.4411, allocations: 283.5 kB / 0.5102 GB, free: 18.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.4416, allocations: 117.5 kB / 0.5103 GB, free: 18.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.442, allocations: 183.9 kB / 0.5104 GB, free: 18.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.4421, allocations: 9.031 kB / 0.5105 GB, free: 18.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.4424, allocations: 124.2 kB / 0.5106 GB, free: 18.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4426, allocations: 46.34 kB / 0.5106 GB, free: 18.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.4426, allocations: 5.5 kB / 0.5106 GB, free: 18.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.4433, allocations: 259.8 kB / 0.5109 GB, free: 17.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.4434, allocations: 22.58 kB / 0.5109 GB, free: 17.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.4434, allocations: 35.75 kB / 0.5109 GB, free: 17.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.4441, allocations: 305.4 kB / 0.5112 GB, free: 17.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4441, allocations: 0 / 0.5112 GB, free: 17.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4441, allocations: 4.562 kB / 0.5112 GB, free: 17.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4441, allocations: 0 / 0.5112 GB, free: 17.82 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005774/0.4447, allocations: 442.2 kB / 0.5116 GB, free: 17.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.4447, allocations: 10.28 kB / 0.5116 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.446, allocations: 208.5 kB / 0.5118 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.4462, allocations: 154.7 kB / 0.512 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4463, allocations: 8.641 kB / 0.512 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.4463, allocations: 14.19 kB / 0.512 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.4467, allocations: 277.6 kB / 0.5123 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4467, allocations: 0.9688 kB / 0.5123 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4467, allocations: 5.891 kB / 0.5123 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4467, allocations: 2.969 kB / 0.5123 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.4469, allocations: 111.2 kB / 0.5124 GB, free: 17 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.000738/0.4477, allocations: 0.6137 MB / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.4479, allocations: 117.9 kB / 0.5131 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.448, allocations: 52.05 kB / 0.5132 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.448, allocations: 4.766 kB / 0.5132 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.448, allocations: 35.67 kB / 0.5132 GB, free: 16.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.036e-06/0.448, allocations: 0 / 0.5132 GB, free: 16.34 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.002609/0.4506, allocations: 0.8703 MB / 0.514 GB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4507, allocations: 53.44 kB / 0.5141 GB, free: 15.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.4507, allocations: 176.7 kB / 0.5143 GB, free: 15.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4508, allocations: 25.7 kB / 0.5143 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.4508, allocations: 147.4 kB / 0.5144 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.4509, allocations: 69.09 kB / 0.5145 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.4509, allocations: 57.05 kB / 0.5146 GB, free: 15.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.451, allocations: 0.4955 MB / 0.515 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.4511, allocations: 37.25 kB / 0.5151 GB, free: 14.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.4512, allocations: 83.28 kB / 0.5152 GB, free: 14.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4513, allocations: 135.8 kB / 0.5153 GB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4513, allocations: 2.625 kB / 0.5153 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003024/0.4516, allocations: 216.9 kB / 0.5155 GB, free: 14.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4516, allocations: 5.469 kB / 0.5155 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4517, allocations: 2.062 kB / 0.5155 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.4519, allocations: 49.08 kB / 0.5155 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.4521, allocations: 53.55 kB / 0.5156 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002932/0.4524, allocations: 0.8176 MB / 0.5164 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.4524, allocations: 3.125 kB / 0.5164 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.4525, allocations: 17.47 kB / 0.5164 GB, free: 13.88 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/0.4526, allocations: 169.5 kB / 0.5166 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.4526, allocations: 15.92 kB / 0.5166 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.453, allocations: 251.6 kB / 0.5168 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.453, allocations: 5.906 kB / 0.5168 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.453, allocations: 0 / 0.5168 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.453, allocations: 0.75 kB / 0.5168 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.4536, allocations: 0.5188 MB / 0.5173 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4536, allocations: 2.781 kB / 0.5173 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.4538, allocations: 51.28 kB / 0.5174 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.4539, allocations: 24.53 kB / 0.5174 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4539, allocations: 10.83 kB / 0.5174 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/0.4545, allocations: 1.706 MB / 0.5191 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4545, allocations: 4.312 kB / 0.5191 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.4549, allocations: 413.3 kB / 0.5195 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.4549, allocations: 10.98 kB / 0.5195 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.4549, allocations: 2.312 kB / 0.5195 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.455, allocations: 12.92 kB / 0.5195 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.455, allocations: 30.08 kB / 0.5195 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.4551, allocations: 16.62 kB / 0.5196 GB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.4551, allocations: 131.4 kB / 0.5197 GB, free: 11.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4551, allocations: 4.094 kB / 0.5197 GB, free: 11.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.4555, allocations: 84.27 kB / 0.5198 GB, free: 11.01 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 (20): * Single equations (assignments): 19 * 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.0003221/0.4558, allocations: 154 kB / 0.5199 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.4561, allocations: 151 kB / 0.5201 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4561, allocations: 0 / 0.5201 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.4562, allocations: 257.3 kB / 0.5203 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4565, allocations: 60.66 kB / 0.5204 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.4574, allocations: 402.1 kB / 0.5208 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.998e-05/0.4575, allocations: 71.56 kB / 0.5208 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.4577, allocations: 58.05 kB / 0.5209 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.4579, allocations: 145.5 kB / 0.521 GB, free: 10.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4579, allocations: 4 kB / 0.521 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Templates: time 0.009371/0.4672, allocations: 5.942 MB / 0.5268 GB, free: 9.609 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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: 4.112447751220316]