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.0008868/0.0008868, 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.0008937/0.0008937, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9142/0.9142, allocations: 177.1 MB / 206 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.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.182e-06/1.182e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.137e-05, allocations: 5.938 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02055/0.02057, allocations: 12.81 MB / 287 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004934/0.0255, allocations: 2.161 MB / 289.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.02568, allocations: 11.94 kB / 289.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.02609, allocations: 162.9 kB / 289.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.02677, allocations: 0.5086 MB / 289.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.02964, allocations: 1.485 MB / 291.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.03075, allocations: 1.335 MB / 292.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.03094, allocations: 119 kB / 292.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.03156, allocations: 0.647 MB / 293.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.03198, allocations: 378.8 kB / 293.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.03203, allocations: 44 kB / 293.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.03305, allocations: 0.6983 MB / 294.5 MB, free: 0 / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.03319, allocations: 147.5 kB / 294.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.03338, allocations: 207.7 kB / 294.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009243/0.03431, allocations: 0.8727 MB / 295.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.03431, allocations: 4 kB / 295.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.03431, allocations: 0 / 295.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.03432, allocations: 0 / 295.8 MB, free: 14.77 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.000833/0.03515, allocations: 0.7879 MB / 296.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.03518, allocations: 8.031 kB / 296.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.0357, allocations: 171.8 kB / 296.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.03603, allocations: 287.8 kB / 297 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.03605, allocations: 29.38 kB / 297 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.03611, allocations: 44.36 kB / 297.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.03658, allocations: 0.5844 MB / 297.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.0366, allocations: 8.078 kB / 297.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.03664, allocations: 28.12 kB / 297.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.03665, allocations: 12 kB / 297.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.03686, allocations: 158.7 kB / 297.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007414/0.04427, allocations: 4.917 MB / 302.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.04453, allocations: 188.9 kB / 303 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.04463, allocations: 79.62 kB / 303.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005486/0.05012, allocations: 2.504 MB / 305.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.05015, allocations: 49.31 kB / 305.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.05015, allocations: 0 / 305.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.0071/0.05725, allocations: 1.884 MB / 307.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.05728, allocations: 55.41 kB / 307.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.0575, allocations: 312.1 kB / 307.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.05752, allocations: 33.7 kB / 307.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.05766, allocations: 283.1 kB / 308.2 MB, free: 2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.05776, allocations: 170.5 kB / 308.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.05788, allocations: 103.9 kB / 308.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.05803, allocations: 0.5195 MB / 308.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.05813, allocations: 69.25 kB / 309 MB, free: 1.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.05833, allocations: 241.9 kB / 309.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.05868, allocations: 354.5 kB / 309.6 MB, free: 420 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.05868, allocations: 0 / 309.6 MB, free: 420 kB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006274/0.05931, allocations: 448.3 kB / 310 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.05932, allocations: 8 kB / 310 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.05933, allocations: 4 kB / 310 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/0.06354, allocations: 1.84 MB / 311.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.06375, allocations: 111.8 kB / 312 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.065, allocations: 3.36 MB / 315.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.06512, allocations: 20.12 kB / 315.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.06514, allocations: 20 kB / 315.4 MB, free: 10.42 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 0.0001117/0.06525, allocations: 180.5 kB / 315.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.06531, allocations: 55.77 kB / 315.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.06582, allocations: 0.5296 MB / 316.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.06583, allocations: 7.984 kB / 316.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.06583, allocations: 3.938 kB / 316.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004035/0.06623, allocations: 0.6408 MB / 316.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.06713, allocations: 0.9569 MB / 317.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.06714, allocations: 0 / 317.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.0673, allocations: 79.83 kB / 317.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.06881, allocations: 0.5532 MB / 318.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.06883, allocations: 12 kB / 318.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005444/0.06938, allocations: 1.639 MB / 320 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.06938, allocations: 0 / 320 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.06999, allocations: 0.7209 MB / 320.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.07003, allocations: 47.7 kB / 320.8 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.07006, allocations: 11.94 kB / 320.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.07018, allocations: 12 kB / 320.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.07021, allocations: 31.94 kB / 320.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.07023, allocations: 15.98 kB / 320.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.343e-05/0.07033, allocations: 201.1 kB / 321.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07033, allocations: 0 / 321.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004908/0.07082, allocations: 227.7 kB / 321.3 MB, free: 4.246 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.0004222/0.07124, allocations: 306.7 kB / 321.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.07178, allocations: 0.5308 MB / 322.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.07178, allocations: 4 kB / 322.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.07218, allocations: 266.2 kB / 322.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.07278, allocations: 200.7 kB / 322.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.07404, allocations: 1.004 MB / 323.6 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.07411, allocations: 130.7 kB / 323.7 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.07428, allocations: 63.36 kB / 323.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.07457, allocations: 230 kB / 324 MB, free: 1.449 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.07457, allocations: 0 / 324 MB, free: 1.449 MB / 298.7 MB Notification: Performance of Templates: time 0.01538/0.08995, allocations: 13.68 MB / 337.7 MB, free: 3.938 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.540790874045342]