Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0008906/0.0008906, 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.0008834/0.0008834, allocations: 168.9 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.8393/0.8393, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.118e-06/1.037e-05, allocations: 2.312 kB / 273.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009143/0.009153, allocations: 12.91 MB / 286.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.0113, allocations: 2.223 MB / 288.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.01145, allocations: 7.938 kB / 288.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.0118, allocations: 151 kB / 288.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000596/0.0124, allocations: 0.5086 MB / 289.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.01493, allocations: 1.501 MB / 290.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.01586, allocations: 1.346 MB / 292.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.01603, allocations: 115 kB / 292.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.01656, allocations: 0.6509 MB / 292.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.01686, allocations: 346.9 kB / 293.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.01691, allocations: 44 kB / 293.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008003/0.01771, allocations: 0.6984 MB / 293.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.01781, allocations: 139.5 kB / 294.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.01795, allocations: 211.6 kB / 294.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.01869, allocations: 0.8727 MB / 295.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01869, allocations: 0 / 295.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01869, allocations: 4 kB / 295.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.01869, allocations: 0 / 295.2 MB, free: 14.65 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006368/0.01933, allocations: 0.6632 MB / 295.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.01936, allocations: 8.031 kB / 295.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.01971, allocations: 168 kB / 296 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.01998, allocations: 241 kB / 296.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.02, allocations: 29.38 kB / 296.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.02005, allocations: 48.38 kB / 296.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.02037, allocations: 0.5524 MB / 296.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.02039, allocations: 12.12 kB / 296.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.02041, allocations: 24.06 kB / 296.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.02042, allocations: 16 kB / 296.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.02056, allocations: 142.8 kB / 297.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.02556, allocations: 4.158 MB / 301.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.02575, allocations: 174.4 kB / 301.4 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.02581, allocations: 68.83 kB / 301.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003783/0.0296, allocations: 2.488 MB / 303.9 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.02962, allocations: 38.56 kB / 304 MB, free: 5.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.373e-06/0.02962, allocations: 0 / 304 MB, free: 5.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.005194/0.03482, allocations: 2.019 MB / 306 MB, free: 3.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.03484, allocations: 59.41 kB / 306.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.03498, allocations: 248.9 kB / 306.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.035, allocations: 29.7 kB / 306.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.03508, allocations: 220.9 kB / 306.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.03515, allocations: 166.5 kB / 306.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.03523, allocations: 102.2 kB / 306.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.0353, allocations: 350.7 kB / 307.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.03536, allocations: 53.28 kB / 307.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.03548, allocations: 188.6 kB / 307.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.03569, allocations: 300 kB / 307.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.03569, allocations: 0 / 307.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003494/0.03604, allocations: 345.2 kB / 308 MB, free: 1.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.03605, allocations: 12 kB / 308 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.03606, allocations: 4 kB / 308 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/0.03933, allocations: 1.832 MB / 309.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.03952, allocations: 107.8 kB / 310 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/0.04046, allocations: 2.248 MB / 312.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.04057, allocations: 19.92 kB / 312.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.04059, allocations: 16 kB / 312.2 MB, free: 12.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/0.04069, allocations: 144.6 kB / 312.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.04073, allocations: 35.97 kB / 312.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.04116, allocations: 0.4998 MB / 312.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.04116, allocations: 11.98 kB / 312.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.04116, allocations: 0 / 312.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003142/0.04148, allocations: 0.5709 MB / 313.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.0422, allocations: 0.8096 MB / 314.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.0422, allocations: 3.984 kB / 314.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.04235, allocations: 75.94 kB / 314.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.04359, allocations: 0.5725 MB / 315 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.04361, allocations: 16 kB / 315 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/0.044, allocations: 1.082 MB / 316.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.044, allocations: 7.922 kB / 316.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.04448, allocations: 0.6417 MB / 316.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.04451, allocations: 39.69 kB / 316.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.04454, allocations: 11.94 kB / 316.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.04464, allocations: 12 kB / 316.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.04467, allocations: 31.97 kB / 316.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.04468, allocations: 12 kB / 316.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.04474, allocations: 82.77 kB / 316.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04474, allocations: 0 / 316.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.04511, allocations: 231.7 kB / 317.1 MB, free: 7.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.04547, allocations: 288 kB / 317.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.04595, allocations: 457.9 kB / 317.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.04595, allocations: 4 kB / 317.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.04628, allocations: 247.1 kB / 318.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.04677, allocations: 210.7 kB / 318.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.04788, allocations: 0.9409 MB / 319.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.766e-05/0.04795, allocations: 130.6 kB / 319.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.04809, allocations: 59.36 kB / 319.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.04836, allocations: 189.2 kB / 319.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04836, allocations: 0 / 319.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of Templates: time 0.01474/0.0631, allocations: 13.46 MB / 333.1 MB, free: 7.984 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.309480403084308]