Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001325/0.001325, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00162/0.00162, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.8737/0.8737, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 273.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.46e-05, allocations: 3.281 kB / 273.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01378/0.0138, allocations: 12 MB / 285.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.01644, allocations: 1.954 MB / 287.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.01662, allocations: 7.938 kB / 287.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.01702, allocations: 103.3 kB / 287.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.0178, allocations: 373.7 kB / 287.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.02044, allocations: 1.325 MB / 289.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.02117, allocations: 0.9338 MB / 290.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.02133, allocations: 78.84 kB / 290.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.02466, allocations: 4.221 MB / 294.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.02491, allocations: 235.3 kB / 294.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.02495, allocations: 32 kB / 294.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.02573, allocations: 0.714 MB / 295.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.02581, allocations: 99.66 kB / 295.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.02591, allocations: 147.7 kB / 295.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.02676, allocations: 0.7598 MB / 296.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02676, allocations: 0 / 296.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02676, allocations: 4 kB / 296.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.02677, allocations: 0 / 296.5 MB, free: 13.35 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005478/0.02731, allocations: 0.5383 MB / 297 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.02734, allocations: 15.97 kB / 297 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.02767, allocations: 124.2 kB / 297.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.02789, allocations: 205.3 kB / 297.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.0279, allocations: 21.03 kB / 297.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.02794, allocations: 32.38 kB / 297.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.0282, allocations: 414.3 kB / 297.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.02821, allocations: 192 / 297.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.02823, allocations: 16.12 kB / 297.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.02824, allocations: 8 kB / 297.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.02834, allocations: 99.3 kB / 297.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.03315, allocations: 3.734 MB / 301.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.03328, allocations: 102.8 kB / 301.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.03333, allocations: 52.75 kB / 301.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003828/0.03716, allocations: 2.476 MB / 304.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.03718, allocations: 38.56 kB / 304.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.03718, allocations: 0 / 304.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.00318/0.04036, allocations: 1.113 MB / 305.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.04039, allocations: 59.39 kB / 305.5 MB, free: 4.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.04051, allocations: 215.3 kB / 305.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.04052, allocations: 29.7 kB / 305.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.04059, allocations: 180.3 kB / 305.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.04063, allocations: 99.16 kB / 306 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.04069, allocations: 61.67 kB / 306.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.04077, allocations: 342.7 kB / 306.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.04081, allocations: 31.98 kB / 306.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.04089, allocations: 142.6 kB / 306.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.04104, allocations: 202.5 kB / 306.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.04105, allocations: 4 kB / 306.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002425/0.04129, allocations: 227 kB / 307 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.0413, allocations: 12.31 kB / 307 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.04131, allocations: 8 kB / 307 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.04321, allocations: 0.9176 MB / 307.9 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.04337, allocations: 75.89 kB / 308 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008026/0.04417, allocations: 1.723 MB / 309.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.04425, allocations: 8 kB / 309.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.04426, allocations: 19.98 kB / 309.8 MB, free: 15.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.04435, allocations: 132.5 kB / 309.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.04438, allocations: 19.98 kB / 309.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.04466, allocations: 320.9 kB / 310.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.04466, allocations: 4 kB / 310.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.04467, allocations: 4.031 kB / 310.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002425/0.04491, allocations: 0.515 MB / 310.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.0454, allocations: 0.5427 MB / 311.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.0454, allocations: 0 / 311.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.04552, allocations: 51.95 kB / 311.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/0.04619, allocations: 287.1 kB / 311.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.0462, allocations: 12 kB / 311.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002135/0.04642, allocations: 0.5499 MB / 312.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.04642, allocations: 8 kB / 312.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.04673, allocations: 448.2 kB / 312.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.04675, allocations: 31.73 kB / 312.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.04678, allocations: 8 kB / 312.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.04685, allocations: 4.062 kB / 312.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.04687, allocations: 19.97 kB / 312.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.04688, allocations: 7.984 kB / 312.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.04694, allocations: 63.17 kB / 312.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04694, allocations: 0 / 312.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.04726, allocations: 191.7 kB / 312.9 MB, free: 12.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.04764, allocations: 288 kB / 313.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.04797, allocations: 307.5 kB / 313.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.04797, allocations: 0 / 313.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.04817, allocations: 139 kB / 313.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.04854, allocations: 144.2 kB / 313.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.04941, allocations: 0.6531 MB / 314.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.04946, allocations: 93.12 kB / 314.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.785e-05/0.04956, allocations: 46.95 kB / 314.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.04975, allocations: 141.2 kB / 314.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04975, allocations: 0 / 314.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of Templates: time 0.01102/0.06077, allocations: 10.54 MB / 325.3 MB, free: 15.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.025776299647987]