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.0008296/0.0008296, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.002043, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007295/0.0007295, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009958/0.001725, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8947/0.8947, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07858/0.9733, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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 2.455e-06/2.455e-06, allocations: 4 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.896e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02465/0.02466, allocations: 13.01 MB / 257.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.02775, allocations: 2.227 MB / 260 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.02804, allocations: 15.88 kB / 260 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.02839, allocations: 139.1 kB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.02908, allocations: 0.5202 MB / 260.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.03209, allocations: 1.429 MB / 262.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.03326, allocations: 1.35 MB / 263.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.03346, allocations: 119 kB / 263.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/0.03426, allocations: 0.6705 MB / 264.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.03472, allocations: 354.9 kB / 264.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.03478, allocations: 44 kB / 264.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.036, allocations: 0.7335 MB / 265.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.03615, allocations: 119.6 kB / 265.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.03634, allocations: 179.8 kB / 265.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.03739, allocations: 0.7441 MB / 266.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.0374, allocations: 0 / 266.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0374, allocations: 0 / 266.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.03741, allocations: 4 kB / 266.4 MB, free: 8.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.000914/0.03833, allocations: 0.8152 MB / 267.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.03836, allocations: 8.031 kB / 267.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.03886, allocations: 249.1 kB / 267.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.03921, allocations: 241 kB / 267.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.03923, allocations: 29.38 kB / 267.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.03929, allocations: 48.38 kB / 267.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.03969, allocations: 0.5523 MB / 268.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.03971, allocations: 8.141 kB / 268.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.03974, allocations: 20.12 kB / 268.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.03975, allocations: 12 kB / 268.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.03989, allocations: 146.7 kB / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.04529, allocations: 4.158 MB / 272.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.04551, allocations: 167 kB / 272.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.04557, allocations: 76.81 kB / 272.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1044/0.15, allocations: 2.475 MB / 275.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.15, allocations: 37.83 kB / 275.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/0.15, allocations: 2.469 kB / 275.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.008545/0.1585, allocations: 2.054 MB / 277.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.1586, allocations: 58.75 kB / 277.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1587, allocations: 254.8 kB / 277.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1587, allocations: 39.55 kB / 277.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1588, allocations: 215.2 kB / 278 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1589, allocations: 172.5 kB / 278.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.1589, allocations: 93.89 kB / 278.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.159, allocations: 349.3 kB / 278.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.159, allocations: 55.84 kB / 278.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1591, allocations: 189.8 kB / 278.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1594, allocations: 310.2 kB / 279.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1594, allocations: 5.219 kB / 279.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003822/0.1598, allocations: 349 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1598, allocations: 7.031 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1598, allocations: 4.297 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/0.1634, allocations: 1.838 MB / 281.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1636, allocations: 124.5 kB / 281.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006735/0.1643, allocations: 2.26 MB / 283.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1644, allocations: 12.44 kB / 283.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1645, allocations: 23.28 kB / 283.7 MB, free: 12.29 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 8.997e-05/0.1645, allocations: 149 kB / 283.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.1646, allocations: 35.61 kB / 283.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.165, allocations: 0.4976 MB / 284.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.165, allocations: 13.17 kB / 284.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.165, allocations: 0 / 284.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002962/0.1653, allocations: 0.5801 MB / 285 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.1661, allocations: 0.8156 MB / 285.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.1661, allocations: 1.375 kB / 285.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1663, allocations: 88.14 kB / 285.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1663, allocations: 35.94 kB / 286 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.1676, allocations: 0.5687 MB / 286.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1676, allocations: 12.75 kB / 286.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002567/0.1679, allocations: 1.081 MB / 287.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1679, allocations: 0 / 287.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.1684, allocations: 0.6547 MB / 288.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1684, allocations: 16.17 kB / 288.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1685, allocations: 7.5 kB / 288.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1686, allocations: 36.45 kB / 288.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1686, allocations: 14.64 kB / 288.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.1687, allocations: 85.23 kB / 288.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1687, allocations: 0 / 288.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004717/0.1691, allocations: 236.8 kB / 288.7 MB, free: 9.949 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.0003912/0.1695, allocations: 285.5 kB / 288.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.17, allocations: 460.1 kB / 289.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.17, allocations: 9.625 kB / 289.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.1703, allocations: 286.3 kB / 289.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.171, allocations: 0.9706 MB / 290.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.1765, allocations: 0.96 MB / 291.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.1766, allocations: 127.1 kB / 291.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.1767, allocations: 64.19 kB / 291.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.177, allocations: 188 kB / 292 MB, free: 8.262 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.177, allocations: 4 kB / 292 MB, free: 8.258 MB / 266.7 MB Notification: Performance of Templates: time 0.01191/0.1889, allocations: 13.31 MB / 305.3 MB, free: 13.71 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1965390173718333]