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.0007557/0.0007557, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001889, 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.0007232/0.0007232, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009662/0.001689, 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.8324/0.8324, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.016, allocations: 49.48 MB / 220.6 MB, free: 1.449 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.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.724e-06/1.724e-06, allocations: 0 / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.081e-05, allocations: 2.312 kB / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2916/0.2916, allocations: 145 MB / 366.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2928, allocations: 0.7063 MB / 367.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2929, allocations: 4 kB / 367.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2932, allocations: 99.34 kB / 367.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.2937, allocations: 389.5 kB / 368.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.2942, allocations: 366.5 kB / 368.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.2948, allocations: 0.9269 MB / 369.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2949, allocations: 82.78 kB / 369.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.2962, allocations: 0.9159 MB / 370.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2965, allocations: 239.2 kB / 370.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2965, allocations: 32 kB / 370.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.2967, allocations: 123.7 kB / 370.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.2968, allocations: 83.77 kB / 370.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2969, allocations: 115.8 kB / 370.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.2973, allocations: 331.7 kB / 371.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.2973, allocations: 0 / 371.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2973, allocations: 4 kB / 371.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.2973, allocations: 0 / 371.3 MB, free: 9.195 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.000629/0.2979, allocations: 0.5704 MB / 371.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.298, allocations: 12.03 kB / 371.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2982, allocations: 153.7 kB / 372 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2985, allocations: 205.5 kB / 372.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2985, allocations: 24.44 kB / 372.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.2985, allocations: 28 kB / 372.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2988, allocations: 466.2 kB / 372.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2988, allocations: 3.984 kB / 372.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2988, allocations: 12 kB / 372.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2989, allocations: 8 kB / 372.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.299, allocations: 95.36 kB / 372.8 MB, free: 7.488 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.0008512/0.2998, allocations: 0.9958 MB / 373.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2999, allocations: 100.1 kB / 373.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3, allocations: 48.78 kB / 374 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3, allocations: 4 kB / 374 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3001, allocations: 46.5 kB / 374 MB, free: 6.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.3001, allocations: 0 / 374 MB, free: 6.242 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.002255/0.3023, allocations: 0.8959 MB / 374.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.3023, allocations: 55.41 kB / 375 MB, free: 5.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3025, allocations: 204.8 kB / 375.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3025, allocations: 29.7 kB / 375.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.3025, allocations: 180.3 kB / 375.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.3026, allocations: 103.1 kB / 375.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.3026, allocations: 69.47 kB / 375.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.3027, allocations: 338.8 kB / 375.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.3028, allocations: 35.97 kB / 375.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.3028, allocations: 131.9 kB / 376 MB, free: 4.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.303, allocations: 202.6 kB / 376.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.303, allocations: 4 kB / 376.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002354/0.3032, allocations: 235.2 kB / 376.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3033, allocations: 8 kB / 376.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3033, allocations: 4 kB / 376.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.3034, allocations: 49.61 kB / 376.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3036, allocations: 95.88 kB / 376.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.3047, allocations: 2.438 MB / 379 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.3048, allocations: 8 kB / 379.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3048, allocations: 24 kB / 379.1 MB, free: 0.7773 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.369e-05/0.3049, allocations: 136.5 kB / 379.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.305, allocations: 31.91 kB / 379.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.3053, allocations: 267.4 kB / 379.5 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3053, allocations: 4 kB / 379.5 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3053, allocations: 3.984 kB / 379.5 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002112/0.3055, allocations: 460.5 kB / 380 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3059, allocations: 408.8 kB / 380.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3059, allocations: 4.062 kB / 380.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.3062, allocations: 79.92 kB / 380.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.3063, allocations: 23.8 kB / 380.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.948e-05/0.3064, allocations: 20.78 kB / 380.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3064, allocations: 8 kB / 380.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006003/0.307, allocations: 1.166 MB / 381.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.307, allocations: 0 / 381.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3073, allocations: 289.9 kB / 381.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3073, allocations: 8 kB / 381.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3074, allocations: 11.98 kB / 382 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.3074, allocations: 23.91 kB / 382 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.3075, allocations: 15.98 kB / 382 MB, free: 13.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.3075, allocations: 70.91 kB / 382.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 382.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.3079, allocations: 127.8 kB / 382.2 MB, free: 13.39 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.000275/0.3081, allocations: 128.2 kB / 382.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3086, allocations: 373.6 kB / 382.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.3086, allocations: 15.92 kB / 382.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3087, allocations: 184.3 kB / 382.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.3093, allocations: 180.2 kB / 383.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3133, allocations: 0.5831 MB / 383.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.794e-05/0.3134, allocations: 96.61 kB / 383.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.3136, allocations: 82.94 kB / 383.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3139, allocations: 177.2 kB / 384 MB, free: 11.48 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3139, allocations: 3.938 kB / 384 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Templates: time 0.01556/0.3294, allocations: 8.461 MB / 392.5 MB, free: 3.031 MB / 346.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 -ignoreHideResult -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: 2.9771637516096234]