Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.001207/0.001207, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002704, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001103/0.001103, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002484, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8714/0.8714, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1801/1.051, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.08e-05, allocations: 2.312 kB / 221.9 MB, free: 124 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2585/0.2585, allocations: 145 MB / 366.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2595, allocations: 0.7294 MB / 367.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2597, allocations: 7.938 kB / 367.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.2599, allocations: 99.34 kB / 367.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.2605, allocations: 393.6 kB / 368.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.2611, allocations: 366.3 kB / 368.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.2618, allocations: 0.9503 MB / 369.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.262, allocations: 70.86 kB / 369.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.2634, allocations: 0.9276 MB / 370.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2637, allocations: 239.2 kB / 370.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.2638, allocations: 28 kB / 370.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.2641, allocations: 131.7 kB / 370.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.2642, allocations: 71.8 kB / 370.9 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2643, allocations: 115.8 kB / 371 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.2647, allocations: 343 kB / 371.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.2647, allocations: 0 / 371.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2647, allocations: 4 kB / 371.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.2647, allocations: 0 / 371.3 MB, free: 9.125 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006776/0.2654, allocations: 0.5626 MB / 371.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2654, allocations: 12.03 kB / 371.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2657, allocations: 157.7 kB / 372 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2659, allocations: 201.5 kB / 372.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.266, allocations: 24.44 kB / 372.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.266, allocations: 31.98 kB / 372.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.2664, allocations: 466.2 kB / 372.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2664, allocations: 0 / 372.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.2664, allocations: 12 kB / 372.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2665, allocations: 8 kB / 372.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2666, allocations: 99.3 kB / 372.9 MB, free: 7.422 MB / 330.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.0009413/0.2675, allocations: 0.9958 MB / 373.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2677, allocations: 100.1 kB / 374 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.2677, allocations: 52.77 kB / 374 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.2678, allocations: 7.984 kB / 374 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2678, allocations: 42.56 kB / 374.1 MB, free: 6.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.2678, allocations: 0 / 374.1 MB, free: 6.172 MB / 330.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002187/0.27, allocations: 0.8885 MB / 375 MB, free: 5.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.27, allocations: 59.34 kB / 375 MB, free: 5.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2701, allocations: 212.7 kB / 375.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2701, allocations: 29.7 kB / 375.2 MB, free: 4.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.2702, allocations: 173.3 kB / 375.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.2703, allocations: 99.16 kB / 375.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.2703, allocations: 77.38 kB / 375.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.2704, allocations: 334.8 kB / 375.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.2704, allocations: 35.98 kB / 375.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.2705, allocations: 136 kB / 376.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2707, allocations: 202.6 kB / 376.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2707, allocations: 4 kB / 376.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002522/0.271, allocations: 235.2 kB / 376.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.271, allocations: 8 kB / 376.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.271, allocations: 4 kB / 376.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.2711, allocations: 37.7 kB / 376.6 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.2714, allocations: 103.9 kB / 376.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.2726, allocations: 2.438 MB / 379.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.2727, allocations: 11.98 kB / 379.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.2728, allocations: 24 kB / 379.1 MB, free: 0.707 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.2729, allocations: 136.6 kB / 379.3 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2729, allocations: 31.91 kB / 379.3 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.2732, allocations: 267.4 kB / 379.6 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2732, allocations: 4 kB / 379.6 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2732, allocations: 7.969 kB / 379.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002076/0.2734, allocations: 448.6 kB / 380 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.2738, allocations: 416.8 kB / 380.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2738, allocations: 4.062 kB / 380.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.274, allocations: 79.88 kB / 380.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.274, allocations: 27.78 kB / 380.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.534e-05/0.2741, allocations: 16.84 kB / 380.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2741, allocations: 8 kB / 380.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004312/0.2745, allocations: 1.154 MB / 381.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2745, allocations: 0 / 381.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2747, allocations: 305.8 kB / 382 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2748, allocations: 8 kB / 382 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2749, allocations: 8 kB / 382 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2749, allocations: 15.95 kB / 382 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2749, allocations: 19.98 kB / 382.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.275, allocations: 70.92 kB / 382.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.275, allocations: 0 / 382.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000304/0.2753, allocations: 119.8 kB / 382.2 MB, free: 13.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 24 * 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.0002767/0.2756, allocations: 136.2 kB / 382.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.276, allocations: 381.5 kB / 382.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/0.276, allocations: 8 kB / 382.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2761, allocations: 184.3 kB / 382.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2765, allocations: 177.8 kB / 383.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.2806, allocations: 0.587 MB / 383.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.059e-05/0.2806, allocations: 92.62 kB / 383.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.2809, allocations: 82.94 kB / 383.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2811, allocations: 181.2 kB / 384 MB, free: 11.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2811, allocations: 0 / 384 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Templates: time 0.009413/0.2905, allocations: 8.473 MB / 392.5 MB, free: 2.957 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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: 2.9692775700241327]