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.0009557/0.0009557, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009726/0.0009726, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9185/0.9185, allocations: 177.1 MB / 206 MB, free: 4.484 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.202e-06/1.202e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.245e-05, allocations: 7.688 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008899/0.008912, allocations: 11.85 MB / 286.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.01058, allocations: 1.908 MB / 288 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.0107, allocations: 7.938 kB / 288 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.01102, allocations: 107.3 kB / 288.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.01146, allocations: 377.8 kB / 288.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.01372, allocations: 1.376 MB / 289.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.01438, allocations: 0.9416 MB / 290.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.01452, allocations: 68.89 kB / 290.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.01835, allocations: 4.249 MB / 295.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.0186, allocations: 259.2 kB / 295.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.01863, allocations: 32 kB / 295.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.01935, allocations: 0.6788 MB / 296 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.01944, allocations: 103.6 kB / 296.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.01954, allocations: 147.7 kB / 296.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.0202, allocations: 0.752 MB / 297 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.0202, allocations: 0 / 297 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.0202, allocations: 0 / 297 MB, free: 13.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.02021, allocations: 3.938 kB / 297 MB, free: 13.49 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.0005968/0.02081, allocations: 0.6708 MB / 297.7 MB, free: 12.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.02083, allocations: 12.03 kB / 297.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.02111, allocations: 120.1 kB / 297.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.02133, allocations: 236 kB / 298.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.02135, allocations: 17.03 kB / 298.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.02138, allocations: 32.38 kB / 298.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.02192, allocations: 446.6 kB / 298.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.02193, allocations: 192 / 298.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.02195, allocations: 16.12 kB / 298.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.02196, allocations: 12 kB / 298.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.02207, allocations: 107.3 kB / 298.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.02754, allocations: 4.309 MB / 303 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.02769, allocations: 123.5 kB / 303.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.02774, allocations: 51.59 kB / 303.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004501/0.03225, allocations: 2.496 MB / 305.7 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.03227, allocations: 41.38 kB / 305.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.03227, allocations: 4 kB / 305.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0028/0.03507, allocations: 1.049 MB / 306.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.03509, allocations: 59.34 kB / 306.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.03523, allocations: 282.4 kB / 307.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.03525, allocations: 33.7 kB / 307.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.03534, allocations: 239.1 kB / 307.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.03539, allocations: 95.16 kB / 307.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.03545, allocations: 75.28 kB / 307.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.03556, allocations: 0.5079 MB / 308 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.03561, allocations: 43.73 kB / 308.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.03571, allocations: 171.6 kB / 308.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.03589, allocations: 252.4 kB / 308.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.03589, allocations: 0 / 308.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003088/0.0362, allocations: 288.5 kB / 308.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.03621, allocations: 4 kB / 308.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.03621, allocations: 4.375 kB / 308.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.03811, allocations: 0.9432 MB / 309.7 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.03825, allocations: 71.84 kB / 309.8 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.03921, allocations: 2.545 MB / 312.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.03929, allocations: 15.94 kB / 312.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.03931, allocations: 12 kB / 312.4 MB, free: 13.54 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 9.096e-05/0.0394, allocations: 184.4 kB / 312.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.03967, allocations: 35.86 kB / 312.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.03998, allocations: 304.3 kB / 312.9 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.03998, allocations: 4 kB / 312.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.03999, allocations: 0 / 312.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000283/0.04027, allocations: 0.562 MB / 313.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.04084, allocations: 0.6357 MB / 314.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.04084, allocations: 4 kB / 314.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.04094, allocations: 43.92 kB / 314.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/0.0417, allocations: 291.1 kB / 314.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.04172, allocations: 11.94 kB / 314.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002652/0.04198, allocations: 0.8117 MB / 315.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04198, allocations: 4 kB / 315.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.04236, allocations: 0.489 MB / 315.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.04238, allocations: 31.73 kB / 315.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.0424, allocations: 4 kB / 315.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.04249, allocations: 8 kB / 315.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.04251, allocations: 24.11 kB / 315.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.04252, allocations: 11.98 kB / 315.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.0426, allocations: 181.5 kB / 316 MB, free: 9.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0426, allocations: 0 / 316 MB, free: 9.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.04295, allocations: 187.7 kB / 316.2 MB, free: 9.508 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.0003889/0.04334, allocations: 298.7 kB / 316.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.04371, allocations: 380.8 kB / 316.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.04371, allocations: 0.75 kB / 316.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.04393, allocations: 149.7 kB / 317 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.04438, allocations: 140.2 kB / 317.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.04527, allocations: 0.6619 MB / 317.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.155e-05/0.04532, allocations: 93.12 kB / 317.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.04542, allocations: 42.95 kB / 317.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.04563, allocations: 182.1 kB / 318.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04563, allocations: 0 / 318.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01125/0.05687, allocations: 10.64 MB / 328.7 MB, free: 12.98 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 -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.290516220033169]