Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 80.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 145.2 kB / 25.59 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.871/0.871, allocations: 173.4 MB / 202.2 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.238e-06/1.051e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.00879/0.008801, allocations: 11.8 MB / 281 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.01046, allocations: 1.919 MB / 282.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.01058, allocations: 7.938 kB / 282.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.01089, allocations: 111.3 kB / 283 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.01132, allocations: 369.7 kB / 283.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.01354, allocations: 1.384 MB / 284.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.0142, allocations: 0.9338 MB / 285.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.01433, allocations: 72.81 kB / 285.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.01824, allocations: 4.252 MB / 290 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.01848, allocations: 255.2 kB / 290.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.01852, allocations: 28 kB / 290.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.01922, allocations: 0.6788 MB / 291 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.0193, allocations: 103.6 kB / 291.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.0194, allocations: 147.7 kB / 291.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.02004, allocations: 0.7481 MB / 292 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.02004, allocations: 0 / 292 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.02004, allocations: 0 / 292 MB, free: 2.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.02005, allocations: 0 / 292 MB, free: 2.902 MB / 266.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.0005883/0.02064, allocations: 0.6824 MB / 292.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.02066, allocations: 8.031 kB / 292.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.02095, allocations: 116.1 kB / 292.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.02116, allocations: 232.1 kB / 293 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.02117, allocations: 21.03 kB / 293 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.02121, allocations: 36.27 kB / 293.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.02171, allocations: 446.6 kB / 293.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.02172, allocations: 4.188 kB / 293.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.02175, allocations: 20.12 kB / 293.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.02175, allocations: 4 kB / 293.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.02186, allocations: 111.3 kB / 293.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005373/0.02724, allocations: 4.305 MB / 298 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.02738, allocations: 115.4 kB / 298.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.02743, allocations: 65.73 kB / 298.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004502/0.03193, allocations: 2.5 MB / 300.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.03195, allocations: 33.39 kB / 300.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.03195, allocations: 0 / 300.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002783/0.03474, allocations: 1.063 MB / 301.7 MB, free: 8.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.03476, allocations: 59.34 kB / 301.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.03489, allocations: 270.5 kB / 302.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.03491, allocations: 37.64 kB / 302.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.035, allocations: 243 kB / 302.3 MB, free: 8.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.03505, allocations: 99.14 kB / 302.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.03511, allocations: 75.3 kB / 302.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.03522, allocations: 0.5078 MB / 303 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.03527, allocations: 39.97 kB / 303 MB, free: 7.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.03537, allocations: 171.4 kB / 303.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.03556, allocations: 248.2 kB / 303.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.03556, allocations: 0 / 303.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003198/0.03588, allocations: 300.9 kB / 303.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.03589, allocations: 4 kB / 303.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.03589, allocations: 4 kB / 303.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.03781, allocations: 0.9319 MB / 304.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.03795, allocations: 71.84 kB / 304.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009612/0.03891, allocations: 2.545 MB / 307.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.03899, allocations: 11.94 kB / 307.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.03901, allocations: 12 kB / 307.3 MB, free: 2.945 MB / 282.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 0.0003397/0.03935, allocations: 184.4 kB / 307.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.0394, allocations: 27.86 kB / 307.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.03971, allocations: 319.8 kB / 307.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.03972, allocations: 0 / 307.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.03972, allocations: 4 kB / 307.9 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002859/0.04001, allocations: 0.5475 MB / 308.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.04057, allocations: 0.6464 MB / 309 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04058, allocations: 3.984 kB / 309 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.04068, allocations: 47.92 kB / 309.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007681/0.04145, allocations: 287.2 kB / 309.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.04146, allocations: 11.94 kB / 309.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002739/0.04174, allocations: 0.8039 MB / 310.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04174, allocations: 3.984 kB / 310.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.04211, allocations: 493 kB / 310.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.04213, allocations: 27.91 kB / 310.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.04216, allocations: 8 kB / 310.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.04224, allocations: 8 kB / 310.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.04226, allocations: 19.97 kB / 310.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.04227, allocations: 11.98 kB / 310.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.144e-05/0.04235, allocations: 181.5 kB / 310.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04235, allocations: 0 / 310.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.0427, allocations: 191.7 kB / 311.1 MB, free: 14.93 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.00038/0.04308, allocations: 298.7 kB / 311.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.04345, allocations: 397.2 kB / 311.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.04345, allocations: 0 / 311.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.04366, allocations: 145.2 kB / 311.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.04411, allocations: 140.5 kB / 312.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.04499, allocations: 0.6733 MB / 312.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.04504, allocations: 97.12 kB / 312.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.734e-05/0.04514, allocations: 38.95 kB / 312.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.04534, allocations: 182.1 kB / 313.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04534, allocations: 0 / 313.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Templates: time 0.01109/0.05643, allocations: 10.63 MB / 323.7 MB, free: 2.391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3136776997707784]