Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001924/0.001924, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002423/0.002423, allocations: 165.6 kB / 24.28 MB, free: 156 kB / 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.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3747/0.3747, allocations: 32.81 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.523e-05, allocations: 2.312 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4223/0.4223, allocations: 145.5 MB / 0.5085 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.4267, allocations: 3.194 MB / 0.5116 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.4269, allocations: 1.344 kB / 0.5116 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.4273, allocations: 57.2 kB / 0.5117 GB, free: 18.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.4306, allocations: 1.08 MB / 0.5127 GB, free: 17.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.4311, allocations: 203.5 kB / 0.5129 GB, free: 17.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.4316, allocations: 368.8 kB / 0.5133 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.749e-05/0.4316, allocations: 9.094 kB / 0.5133 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.432, allocations: 198.3 kB / 0.5135 GB, free: 17.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.4322, allocations: 104.1 kB / 0.5136 GB, free: 17.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.4323, allocations: 15.59 kB / 0.5136 GB, free: 17.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.435, allocations: 1.323 MB / 0.5149 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4351, allocations: 87.2 kB / 0.515 GB, free: 16.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.4352, allocations: 81.23 kB / 0.515 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.437, allocations: 1.072 MB / 0.5161 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.437, allocations: 0 / 0.5161 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.437, allocations: 0 / 0.5161 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.437, allocations: 4 kB / 0.5161 GB, free: 16.56 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008662/0.4378, allocations: 0.5821 MB / 0.5167 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4379, allocations: 11.53 kB / 0.5167 GB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.4393, allocations: 266.1 kB / 0.5169 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.4397, allocations: 195 kB / 0.5171 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4397, allocations: 12.89 kB / 0.5171 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.4398, allocations: 23.75 kB / 0.5172 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.4403, allocations: 0.4924 MB / 0.5176 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4403, allocations: 0 / 0.5176 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.4403, allocations: 7.094 kB / 0.5176 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4403, allocations: 7.016 kB / 0.5176 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.4408, allocations: 258.8 kB / 0.5179 GB, free: 15.43 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.001522/0.4423, allocations: 0.7829 MB / 0.5187 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.4427, allocations: 211.5 kB / 0.5189 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4428, allocations: 102.9 kB / 0.519 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.4443, allocations: 304.5 kB / 0.5192 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4443, allocations: 42.25 kB / 0.5193 GB, free: 14.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.4443, allocations: 0 / 0.5193 GB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001169/0.4455, allocations: 361.7 kB / 0.5196 GB, free: 14.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4455, allocations: 84.08 kB / 0.5197 GB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.4456, allocations: 181.3 kB / 0.5199 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4456, allocations: 32.77 kB / 0.5199 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.4457, allocations: 156.1 kB / 0.5201 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.4457, allocations: 118.6 kB / 0.5202 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.4458, allocations: 69.48 kB / 0.5202 GB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4459, allocations: 0.5043 MB / 0.5207 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4461, allocations: 86.56 kB / 0.5208 GB, free: 13.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4463, allocations: 204.7 kB / 0.521 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.4467, allocations: 321 kB / 0.5213 GB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4467, allocations: 0 / 0.5213 GB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005343/0.4472, allocations: 345.2 kB / 0.5217 GB, free: 12.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4472, allocations: 9.625 kB / 0.5217 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4473, allocations: 2.938 kB / 0.5217 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4473, allocations: 5.25 kB / 0.5217 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.4476, allocations: 67.92 kB / 0.5217 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.4476, allocations: 8.156 kB / 0.5217 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4478, allocations: 30.16 kB / 0.5218 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.4479, allocations: 18.72 kB / 0.5218 GB, free: 12.82 MB / 410.7 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001077/0.448, allocations: 183.7 kB / 0.522 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4481, allocations: 33.69 kB / 0.522 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.4487, allocations: 312.7 kB / 0.5223 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4487, allocations: 2.656 kB / 0.5223 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4487, allocations: 0 / 0.5223 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4487, allocations: 8.047 kB / 0.5223 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4491, allocations: 244.8 kB / 0.5225 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4491, allocations: 0 / 0.5225 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.4494, allocations: 54.25 kB / 0.5226 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4494, allocations: 2.625 kB / 0.5226 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.4495, allocations: 13.38 kB / 0.5226 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4495, allocations: 0 / 0.5226 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4495, allocations: 7.938 kB / 0.5226 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.4501, allocations: 0.6161 MB / 0.5232 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.4502, allocations: 13.86 kB / 0.5232 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.4502, allocations: 14.94 kB / 0.5232 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.4505, allocations: 18.34 kB / 0.5233 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.4505, allocations: 21.86 kB / 0.5233 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4506, allocations: 17.97 kB / 0.5233 GB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.4506, allocations: 131.2 kB / 0.5234 GB, free: 11.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4506, allocations: 0 / 0.5234 GB, free: 11.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009135/0.4515, allocations: 241.1 kB / 0.5237 GB, free: 11.66 MB / 410.7 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0009922/0.4525, allocations: 451.9 kB / 0.5241 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.453, allocations: 253.4 kB / 0.5243 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.453, allocations: 3.938 kB / 0.5243 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4532, allocations: 133.6 kB / 0.5245 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.4538, allocations: 97.03 kB / 0.5245 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.4548, allocations: 0.5749 MB / 0.5251 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4549, allocations: 115.4 kB / 0.5252 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000281/0.4551, allocations: 68.62 kB / 0.5253 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.4552, allocations: 35.59 kB / 0.5253 GB, free: 10.81 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4552, allocations: 2.812 kB / 0.5253 GB, free: 10.81 MB / 410.7 MB Notification: Performance of Templates: time 0.01448/0.4697, allocations: 8.484 MB / 0.5336 GB, free: 8.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.828784769983031]