Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001194/0.001194, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002814, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001094/0.001094, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.00265, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.918/0.918, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.003, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.018e-05, allocations: 2.312 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01351/0.01353, allocations: 12.97 MB / 252.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.01682, allocations: 2.231 MB / 254.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.01707, allocations: 11.94 kB / 254.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.01747, allocations: 143.1 kB / 254.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008381/0.0183, allocations: 0.5163 MB / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.02215, allocations: 1.427 MB / 256.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.02367, allocations: 1.358 MB / 258.2 MB, free: 444 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.02391, allocations: 123 kB / 258.3 MB, free: 320 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000897/0.0248, allocations: 0.6666 MB / 259 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.02528, allocations: 350.9 kB / 259.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.02535, allocations: 51.94 kB / 259.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.02723, allocations: 0.7296 MB / 260.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.02737, allocations: 111.6 kB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.02759, allocations: 175.8 kB / 260.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.02886, allocations: 0.7482 MB / 261.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.02888, allocations: 4 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02888, allocations: 0 / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.02891, allocations: 0 / 261.2 MB, free: 13.48 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001011/0.02992, allocations: 0.8113 MB / 262 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.02995, allocations: 11.89 kB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.03051, allocations: 253.1 kB / 262.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.03086, allocations: 249 kB / 262.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.03089, allocations: 29.38 kB / 262.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.03095, allocations: 44.36 kB / 262.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.03141, allocations: 0.5562 MB / 263.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.03143, allocations: 192 / 263.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.03146, allocations: 24.12 kB / 263.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.03148, allocations: 11.94 kB / 263.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.03168, allocations: 146.7 kB / 263.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007309/0.03899, allocations: 4.15 MB / 267.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.03925, allocations: 170.5 kB / 267.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.03933, allocations: 72.81 kB / 267.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005211/0.04455, allocations: 2.489 MB / 270.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.04458, allocations: 34.56 kB / 270.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/0.04458, allocations: 0 / 270.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.007881/0.05246, allocations: 2.014 MB / 272.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.05249, allocations: 63.09 kB / 272.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.05268, allocations: 252.8 kB / 272.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.05271, allocations: 41.7 kB / 272.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.0528, allocations: 212.9 kB / 272.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.0529, allocations: 162.6 kB / 272.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.053, allocations: 98.25 kB / 273 MB, free: 1.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.0531, allocations: 354.7 kB / 273.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.05319, allocations: 57.28 kB / 273.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.05334, allocations: 184.7 kB / 273.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.05366, allocations: 296.2 kB / 273.9 MB, free: 316 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.05367, allocations: 3.938 kB / 273.9 MB, free: 312 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1011/0.1547, allocations: 342.3 kB / 274.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1548, allocations: 6.5 kB / 274.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1548, allocations: 4 kB / 274.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003754/0.1585, allocations: 1.833 MB / 276.1 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1588, allocations: 131.5 kB / 276.2 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008074/0.1596, allocations: 2.254 MB / 278.4 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1598, allocations: 13.25 kB / 278.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1598, allocations: 21.45 kB / 278.5 MB, free: 17.73 MB / 266.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.0001189/0.16, allocations: 143.5 kB / 278.6 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.16, allocations: 39.89 kB / 278.7 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.1605, allocations: 0.5001 MB / 279.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1605, allocations: 11.17 kB / 279.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1605, allocations: 4.641 kB / 279.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003117/0.1608, allocations: 0.5729 MB / 279.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.1617, allocations: 0.8076 MB / 280.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1617, allocations: 0 / 280.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.1619, allocations: 100.8 kB / 280.7 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.162, allocations: 36.78 kB / 280.7 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.1636, allocations: 0.5676 MB / 281.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.1636, allocations: 11.88 kB / 281.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000327/0.1639, allocations: 1.087 MB / 282.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1639, allocations: 2.062 kB / 282.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.1646, allocations: 0.648 MB / 283 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.1647, allocations: 15.02 kB / 283 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1648, allocations: 10.53 kB / 283 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1648, allocations: 29.31 kB / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1648, allocations: 12.73 kB / 283.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.112e-05/0.1649, allocations: 85.23 kB / 283.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1649, allocations: 4.031 kB / 283.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005833/0.1655, allocations: 231.9 kB / 283.4 MB, free: 15.48 MB / 266.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.0004662/0.1659, allocations: 288.5 kB / 283.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.1665, allocations: 459.1 kB / 284.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/0.1665, allocations: 14.33 kB / 284.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.1669, allocations: 241.2 kB / 284.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.1675, allocations: 261.3 kB / 284.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.1733, allocations: 0.9661 MB / 285.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.1734, allocations: 128.9 kB / 285.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.1736, allocations: 60.45 kB / 285.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.1739, allocations: 193 kB / 286 MB, free: 14.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1739, allocations: 4 kB / 286 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Templates: time 0.01472/0.1886, allocations: 13.99 MB / 299.9 MB, free: 6.496 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.312506405636668]