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.001433/0.001433, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.00174/0.00174, allocations: 169.4 kB / 24.5 MB, free: 3.453 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.493/1.493, allocations: 177.2 MB / 204.9 MB, free: 8.926 MB / 190.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.2127/0.2127, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.002061/0.002061, allocations: 71.88 kB / 443.1 MB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2932, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1602/0.4533, allocations: 131.5 MB / 0.6256 GB, free: 1.824 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.4554, allocations: 1.437 MB / 0.6271 GB, free: 392 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.4554, allocations: 0 / 0.6271 GB, free: 392 kB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.4557, allocations: 47.73 kB / 0.6271 GB, free: 344 kB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.4567, allocations: 421.7 kB / 0.6275 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.4572, allocations: 163.5 kB / 0.6277 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.4575, allocations: 187.2 kB / 0.6278 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.4576, allocations: 7.984 kB / 0.6278 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.4577, allocations: 79.69 kB / 0.6279 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.4579, allocations: 63.73 kB / 0.628 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.4579, allocations: 4 kB / 0.628 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.459, allocations: 0.5455 MB / 0.6285 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.459, allocations: 27.97 kB / 0.6285 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.4591, allocations: 51.72 kB / 0.6286 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.4597, allocations: 402.7 kB / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4597, allocations: 0 / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4597, allocations: 0 / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4597, allocations: 3.938 kB / 0.629 GB, free: 14.41 MB / 0.5294 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.0005682/0.4603, allocations: 357.8 kB / 0.6293 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4603, allocations: 8.031 kB / 0.6293 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.4628, allocations: 213.1 kB / 0.6295 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4631, allocations: 158 kB / 0.6297 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4631, allocations: 4 kB / 0.6297 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.4631, allocations: 8 kB / 0.6297 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.4637, allocations: 278.6 kB / 0.63 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4637, allocations: 0 / 0.63 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.4637, allocations: 4 kB / 0.63 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.4637, allocations: 11.94 kB / 0.63 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.4644, allocations: 231.8 kB / 0.6302 GB, free: 13.09 MB / 0.5294 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.001825/0.4662, allocations: 0.541 MB / 0.6307 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.4667, allocations: 190.4 kB / 0.6309 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.4669, allocations: 92.81 kB / 0.631 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.467, allocations: 8 kB / 0.631 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.467, allocations: 34.56 kB / 0.631 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.467, allocations: 0 / 0.631 GB, free: 12.17 MB / 0.5294 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.006115/0.4732, allocations: 1.405 MB / 0.6324 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4732, allocations: 51.41 kB / 0.6325 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4733, allocations: 113.8 kB / 0.6326 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4733, allocations: 29.7 kB / 0.6326 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.4734, allocations: 100.4 kB / 0.6327 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.4735, allocations: 71.41 kB / 0.6328 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4736, allocations: 49.66 kB / 0.6328 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4738, allocations: 322.8 kB / 0.6331 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.474, allocations: 91.89 kB / 0.6332 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4743, allocations: 122.4 kB / 0.6333 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.4748, allocations: 235 kB / 0.6335 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4748, allocations: 4 kB / 0.6335 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006619/0.4754, allocations: 282.3 kB / 0.6338 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4755, allocations: 4 kB / 0.6338 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4755, allocations: 4 kB / 0.6338 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.4756, allocations: 16.84 kB / 0.6338 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.4761, allocations: 63.89 kB / 0.6339 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004392/0.4766, allocations: 0.533 MB / 0.6344 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.4769, allocations: 7.984 kB / 0.6344 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.4769, allocations: 15.88 kB / 0.6344 GB, free: 8.504 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.0001336/0.477, allocations: 126.4 kB / 0.6346 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.4771, allocations: 7.953 kB / 0.6346 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.4779, allocations: 317.4 kB / 0.6349 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4779, allocations: 3.938 kB / 0.6349 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4779, allocations: 4 kB / 0.6349 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4779, allocations: 3.984 kB / 0.6349 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.479, allocations: 0.5781 MB / 0.6354 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.479, allocations: 4 kB / 0.6354 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.4795, allocations: 47.95 kB / 0.6355 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.401e-05/0.4796, allocations: 24.78 kB / 0.6355 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4796, allocations: 11.98 kB / 0.6355 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.4807, allocations: 1.241 MB / 0.6367 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4807, allocations: 7.875 kB / 0.6367 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.4816, allocations: 438.8 kB / 0.6372 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.4816, allocations: 7.984 kB / 0.6372 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4816, allocations: 11.94 kB / 0.6372 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.482, allocations: 20.17 kB / 0.6372 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.482, allocations: 19.91 kB / 0.6372 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4821, allocations: 15.98 kB / 0.6372 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.4821, allocations: 83.28 kB / 0.6373 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4821, allocations: 0 / 0.6373 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000589/0.4827, allocations: 135.7 kB / 0.6374 GB, free: 5.223 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.0006608/0.4834, allocations: 266.6 kB / 0.6377 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006701/0.484, allocations: 234.4 kB / 0.6379 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.484, allocations: 0 / 0.6379 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.4845, allocations: 230.8 kB / 0.6381 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.485, allocations: 48.42 kB / 0.6382 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.4859, allocations: 478.2 kB / 0.6386 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.486, allocations: 98.09 kB / 0.6387 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.4863, allocations: 53.39 kB / 0.6388 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4864, allocations: 24.48 kB / 0.6388 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.4864, allocations: 0 / 0.6388 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.012/0.4984, allocations: 6.306 MB / 0.645 GB, free: 13.47 MB / 0.545 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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.310299705015495]