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.001805/0.001805, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.00205/0.00205, allocations: 164.2 kB / 25.02 MB, free: 9.438 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 1.462/1.462, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.332e-06/1.332e-06, allocations: 0 / 250.4 MB, free: 3.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.372e-05, allocations: 2.312 kB / 250.4 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3433/0.3433, allocations: 149.4 MB / 399.8 MB, free: 44 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.3481, allocations: 2.945 MB / 402.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.3483, allocations: 4 kB / 402.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.3491, allocations: 162.9 kB / 402.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3501, allocations: 429.3 kB / 403.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.3511, allocations: 355.1 kB / 403.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3522, allocations: 0.8988 MB / 404.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3523, allocations: 72.88 kB / 404.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.3545, allocations: 0.9265 MB / 405.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.355, allocations: 263.2 kB / 405.8 MB, free: 10 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.355, allocations: 32 kB / 405.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.3553, allocations: 115.8 kB / 406 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3555, allocations: 107.6 kB / 406.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3557, allocations: 139.7 kB / 406.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.3564, allocations: 0.5415 MB / 406.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3564, allocations: 0 / 406.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3564, allocations: 0 / 406.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.3564, allocations: 0 / 406.7 MB, free: 9.07 MB / 346.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.0009939/0.3574, allocations: 0.5244 MB / 407.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3575, allocations: 15.98 kB / 407.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3579, allocations: 79.55 kB / 407.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.3584, allocations: 228.8 kB / 407.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3584, allocations: 20.5 kB / 407.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.3585, allocations: 27.94 kB / 407.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.3593, allocations: 0.5452 MB / 408.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3593, allocations: 3.938 kB / 408.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.3593, allocations: 12 kB / 408.2 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3594, allocations: 11.94 kB / 408.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.3597, allocations: 193.8 kB / 408.4 MB, free: 7.277 MB / 346.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.001911/0.3617, allocations: 1.153 MB / 409.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.362, allocations: 159.4 kB / 409.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.3622, allocations: 84.83 kB / 409.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3622, allocations: 12 kB / 409.8 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3623, allocations: 42.81 kB / 409.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.3623, allocations: 0 / 409.8 MB, free: 5.758 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.005326/0.3676, allocations: 1.29 MB / 411.1 MB, free: 4.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3676, allocations: 55.41 kB / 411.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.3679, allocations: 232 kB / 411.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.368, allocations: 29.7 kB / 411.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3681, allocations: 180.5 kB / 411.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3682, allocations: 99.16 kB / 411.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3683, allocations: 81.64 kB / 411.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3685, allocations: 334.8 kB / 412.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3687, allocations: 83.97 kB / 412.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.369, allocations: 187.7 kB / 412.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.3694, allocations: 299.8 kB / 412.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3694, allocations: 0 / 412.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007583/0.3702, allocations: 406.9 kB / 413.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3702, allocations: 10.66 kB / 413.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3702, allocations: 0 / 413.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.3704, allocations: 57.69 kB / 413.1 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3708, allocations: 91.83 kB / 413.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.3725, allocations: 1.806 MB / 415 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3727, allocations: 12 kB / 415 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.3728, allocations: 28 kB / 415.1 MB, free: 196 kB / 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.000192/0.373, allocations: 161.6 kB / 415.2 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3731, allocations: 39.86 kB / 415.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.3739, allocations: 386.5 kB / 415.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3739, allocations: 7.938 kB / 415.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3739, allocations: 4 kB / 415.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006454/0.3746, allocations: 0.5396 MB / 416.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3757, allocations: 0.6057 MB / 416.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3757, allocations: 0 / 416.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.376, allocations: 66.95 kB / 416.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-05/0.3761, allocations: 24.78 kB / 416.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3762, allocations: 15.94 kB / 416.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3773, allocations: 1.256 MB / 418.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3773, allocations: 0 / 418.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.378, allocations: 461.7 kB / 418.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.3781, allocations: 19.89 kB / 418.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3781, allocations: 11.94 kB / 418.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3783, allocations: 11.98 kB / 418.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.3784, allocations: 31.98 kB / 418.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.3784, allocations: 23.98 kB / 418.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3786, allocations: 165.2 kB / 418.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3786, allocations: 0 / 418.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005173/0.3791, allocations: 127.9 kB / 419 MB, free: 11.97 MB / 362.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.000405/0.3796, allocations: 147.1 kB / 419.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.3802, allocations: 353.4 kB / 419.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3802, allocations: 0 / 419.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.3806, allocations: 211.7 kB / 419.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.3814, allocations: 148.2 kB / 419.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3826, allocations: 0.6161 MB / 420.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3828, allocations: 151.2 kB / 420.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.3831, allocations: 102.9 kB / 420.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3833, allocations: 56.47 kB / 420.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3833, allocations: 0 / 420.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.01466/0.3979, allocations: 7.664 MB / 428.4 MB, free: 2.496 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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: 4.888331316062249]