Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001336/0.001336, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001306/0.001306, allocations: 167.2 kB / 25.33 MB, free: 9.059 MB / 18.57 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.91/0.91, allocations: 158.6 MB / 187.2 MB, free: 2.477 MB / 170.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.Air,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.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251.1 MB, free: 3.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.397e-05, allocations: 2.312 kB / 251.1 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2465/0.2466, allocations: 145.2 MB / 396.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2478, allocations: 0.6844 MB / 397 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.248, allocations: 7.938 kB / 397 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.2484, allocations: 91.41 kB / 397.1 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.249, allocations: 389.6 kB / 397.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.2497, allocations: 359.2 kB / 397.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.2507, allocations: 0.9306 MB / 398.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.2508, allocations: 68.89 kB / 398.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.2527, allocations: 0.9113 MB / 399.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.253, allocations: 247.2 kB / 400 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2531, allocations: 32 kB / 400 MB, free: 2.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.2533, allocations: 119.8 kB / 400.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.2534, allocations: 103.6 kB / 400.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2535, allocations: 139.8 kB / 400.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.2539, allocations: 378.9 kB / 400.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2539, allocations: 0 / 400.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2539, allocations: 0 / 400.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.254, allocations: 4 kB / 400.7 MB, free: 1.914 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.0006343/0.2546, allocations: 0.6175 MB / 401.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2546, allocations: 15.98 kB / 401.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.2549, allocations: 84.44 kB / 401.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2551, allocations: 228.1 kB / 401.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2552, allocations: 24.88 kB / 401.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2552, allocations: 32.55 kB / 401.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2556, allocations: 0.5058 MB / 402.2 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2556, allocations: 4 kB / 402.2 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.2557, allocations: 12 kB / 402.2 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2557, allocations: 4 kB / 402.2 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2558, allocations: 142.8 kB / 402.4 MB, free: 104 kB / 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.001213/0.2571, allocations: 1.447 MB / 403.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2573, allocations: 131.6 kB / 403.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.2574, allocations: 67.59 kB / 404 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2574, allocations: 4 kB / 404 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2574, allocations: 41.39 kB / 404.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.2574, allocations: 0 / 404.1 MB, free: 14.32 MB / 346.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.002746/0.2602, allocations: 1.081 MB / 405.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.2602, allocations: 55.41 kB / 405.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2603, allocations: 274.6 kB / 405.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2604, allocations: 29.7 kB / 405.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2605, allocations: 227.2 kB / 405.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.2605, allocations: 103.1 kB / 405.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.2606, allocations: 79.34 kB / 405.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003927/0.261, allocations: 0.5117 MB / 406.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.2611, allocations: 47.97 kB / 406.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2612, allocations: 191.4 kB / 406.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2615, allocations: 271.4 kB / 406.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2615, allocations: 4 kB / 406.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003711/0.2618, allocations: 332.4 kB / 407.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2619, allocations: 4 kB / 407.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2619, allocations: 4.875 kB / 407.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.262, allocations: 67.75 kB / 407.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2622, allocations: 79.89 kB / 407.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.2632, allocations: 2.547 MB / 409.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2634, allocations: 16.12 kB / 409.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.2634, allocations: 35.98 kB / 410 MB, free: 7.984 MB / 346.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2635, allocations: 184.4 kB / 410.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.2636, allocations: 31.86 kB / 410.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.264, allocations: 354.3 kB / 410.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.264, allocations: 4 kB / 410.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.264, allocations: 0 / 410.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000313/0.2643, allocations: 0.5071 MB / 411 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.2649, allocations: 0.6017 MB / 411.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2649, allocations: 0 / 411.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2651, allocations: 67.89 kB / 411.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.996e-05/0.2652, allocations: 23.62 kB / 411.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.2652, allocations: 15.98 kB / 411.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008803/0.2661, allocations: 1.72 MB / 413.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2661, allocations: 3.938 kB / 413.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2664, allocations: 430.6 kB / 413.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.2665, allocations: 27.84 kB / 413.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2665, allocations: 11.94 kB / 413.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2666, allocations: 11.98 kB / 414 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2666, allocations: 19.83 kB / 414 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.2667, allocations: 23.98 kB / 414 MB, free: 3.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2668, allocations: 193.1 kB / 414.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2668, allocations: 4.094 kB / 414.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.2671, allocations: 127.9 kB / 414.3 MB, free: 3.312 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.0002833/0.2674, allocations: 155.2 kB / 414.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.2678, allocations: 368.3 kB / 414.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2678, allocations: 0 / 414.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2679, allocations: 259 kB / 415.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.2684, allocations: 141.5 kB / 415.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2694, allocations: 0.6001 MB / 415.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.702e-05/0.2695, allocations: 96.48 kB / 415.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.2697, allocations: 90.94 kB / 416 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.2698, allocations: 56.47 kB / 416.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2698, allocations: 0 / 416.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Templates: time 0.009872/0.2797, allocations: 8.472 MB / 424.5 MB, free: 9.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/Air/Air.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: 3.0261283200234175]