Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001434/0.001434, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00155/0.00155, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.61/1.61, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.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.2382/0.2382, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1391, allocations: 66 MB / 0.5558 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.502/0.6411, allocations: 152.9 MB / 0.7052 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.6436, allocations: 1.6 MB / 0.7067 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.6437, allocations: 0 / 0.7067 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.6441, allocations: 51.72 kB / 0.7068 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.6455, allocations: 414 kB / 0.7072 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.6462, allocations: 163.5 kB / 0.7073 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.6466, allocations: 183.2 kB / 0.7075 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.6466, allocations: 10.52 kB / 0.7075 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.6468, allocations: 83.69 kB / 0.7076 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.647, allocations: 63.75 kB / 0.7076 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.647, allocations: 4 kB / 0.7077 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.6483, allocations: 0.6236 MB / 0.7083 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.6484, allocations: 31.84 kB / 0.7083 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.6485, allocations: 43.86 kB / 0.7083 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000842/0.6494, allocations: 415.3 kB / 0.7087 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6494, allocations: 0 / 0.7087 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6494, allocations: 0 / 0.7087 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6494, allocations: 0 / 0.7087 GB, free: 4.711 MB / 0.5137 GB 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.0007727/0.6501, allocations: 438.8 kB / 0.7091 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6502, allocations: 12.03 kB / 0.7092 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.6527, allocations: 201.1 kB / 0.7093 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.653, allocations: 200.3 kB / 0.7095 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.653, allocations: 15.88 kB / 0.7096 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.6531, allocations: 8 kB / 0.7096 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.6537, allocations: 201.5 kB / 0.7098 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6537, allocations: 0 / 0.7098 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.6537, allocations: 4 kB / 0.7098 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6537, allocations: 0 / 0.7098 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.6544, allocations: 239.8 kB / 0.71 GB, free: 3.328 MB / 0.5137 GB 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.002006/0.6564, allocations: 0.6644 MB / 0.7106 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.6569, allocations: 190.5 kB / 0.7108 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.6571, allocations: 90.59 kB / 0.7109 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.6573, allocations: 93.03 kB / 0.711 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6574, allocations: 34.56 kB / 0.711 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.6574, allocations: 4 kB / 0.711 GB, free: 2.168 MB / 0.5137 GB 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.006621/0.664, allocations: 1.542 MB / 0.7125 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.664, allocations: 51.41 kB / 0.7126 GB, free: 472 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6641, allocations: 117.8 kB / 0.7127 GB, free: 344 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.6642, allocations: 29.7 kB / 0.7127 GB, free: 308 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.6643, allocations: 108.3 kB / 0.7128 GB, free: 196 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.6643, allocations: 75.3 kB / 0.7129 GB, free: 120 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.6644, allocations: 41.7 kB / 0.7129 GB, free: 72 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6646, allocations: 322.8 kB / 0.7132 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.6649, allocations: 87.95 kB / 0.7133 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.6651, allocations: 127.4 kB / 0.7135 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.6657, allocations: 222.2 kB / 0.7137 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6657, allocations: 4 kB / 0.7137 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007188/0.6664, allocations: 282.3 kB / 0.7139 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6664, allocations: 8 kB / 0.7139 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6664, allocations: 0 / 0.7139 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.6665, allocations: 20.84 kB / 0.714 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.6671, allocations: 63.98 kB / 0.714 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004475/0.6675, allocations: 0.5329 MB / 0.7145 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.6678, allocations: 7.938 kB / 0.7146 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.6679, allocations: 19.92 kB / 0.7146 GB, free: 14.33 MB / 0.5294 GB 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.0001391/0.668, allocations: 121.9 kB / 0.7147 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.6681, allocations: 7.953 kB / 0.7147 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.6689, allocations: 311.1 kB / 0.715 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6689, allocations: 7.938 kB / 0.715 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6689, allocations: 7.984 kB / 0.715 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.669, allocations: 0 / 0.715 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6702, allocations: 0.6736 MB / 0.7157 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6702, allocations: 4.094 kB / 0.7157 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.6707, allocations: 47.95 kB / 0.7157 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-05/0.6708, allocations: 28.78 kB / 0.7157 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.6709, allocations: 8.688 kB / 0.7158 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.672, allocations: 1.367 MB / 0.7171 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.672, allocations: 0 / 0.7171 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.673, allocations: 452 kB / 0.7175 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.6731, allocations: 89.06 kB / 0.7176 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.6731, allocations: 3.984 kB / 0.7176 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.6735, allocations: 20 kB / 0.7176 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.6735, allocations: 11.97 kB / 0.7176 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.6736, allocations: 12 kB / 0.7177 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.6736, allocations: 91.27 kB / 0.7177 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6736, allocations: 0 / 0.7177 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006037/0.6742, allocations: 139.6 kB / 0.7179 GB, free: 10.67 MB / 0.5294 GB 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.0007028/0.6749, allocations: 250.8 kB / 0.7181 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000697/0.6756, allocations: 243.7 kB / 0.7183 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6756, allocations: 0 / 0.7183 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.6761, allocations: 218.6 kB / 0.7186 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.6766, allocations: 49.48 kB / 0.7186 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.6775, allocations: 498.1 kB / 0.7191 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.6779, allocations: 0.7046 MB / 0.7198 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.6782, allocations: 53.39 kB / 0.7198 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6783, allocations: 23.42 kB / 0.7198 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.6783, allocations: 0 / 0.7198 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.01202/0.6903, allocations: 6.238 MB / 0.7259 GB, free: 2.367 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.940151870250702]