Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001961/0.001961, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001981/0.001981, allocations: 161.6 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.808e-05, allocations: 2.312 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.05054/0.05057, allocations: 38.28 MB / 288.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.05783, allocations: 4.65 MB / 293.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.05814, allocations: 7.938 kB / 293.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.05903, allocations: 278.1 kB / 293.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.06005, allocations: 0.4968 MB / 294.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.06473, allocations: 1.668 MB / 295.8 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.06695, allocations: 1.287 MB / 297 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.06723, allocations: 107.1 kB / 297.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.06841, allocations: 0.6507 MB / 297.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006704/0.06908, allocations: 378.8 kB / 298.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.06918, allocations: 44 kB / 298.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.07097, allocations: 0.7296 MB / 298.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.07117, allocations: 143.5 kB / 299.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.0715, allocations: 215.6 kB / 299.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.07346, allocations: 1.177 MB / 300.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.07347, allocations: 4 kB / 300.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.07347, allocations: 0 / 300.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.07348, allocations: 0 / 300.5 MB, free: 1.641 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.001419/0.0749, allocations: 0.8305 MB / 301.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.07494, allocations: 19.97 kB / 301.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.07564, allocations: 163.8 kB / 301.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.07619, allocations: 295.8 kB / 301.8 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.07623, allocations: 29.38 kB / 301.8 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.07632, allocations: 44.36 kB / 301.8 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1081/0.1845, allocations: 0.6959 MB / 302.5 MB, free: 62.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1845, allocations: 3.672 kB / 302.5 MB, free: 62.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.1845, allocations: 23.09 kB / 302.6 MB, free: 62.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1846, allocations: 10.5 kB / 302.6 MB, free: 62.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.185, allocations: 290.2 kB / 302.9 MB, free: 62.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.1982, allocations: 5.291 MB / 308.1 MB, free: 60.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.1987, allocations: 272.1 kB / 308.4 MB, free: 60.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1989, allocations: 143.9 kB / 308.6 MB, free: 60.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009764/0.2087, allocations: 2.695 MB / 311.2 MB, free: 59.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2087, allocations: 41.52 kB / 311.3 MB, free: 59.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.2087, allocations: 0 / 311.3 MB, free: 59.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01081/0.2195, allocations: 2.259 MB / 313.5 MB, free: 58.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2196, allocations: 54.91 kB / 313.6 MB, free: 58.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.2198, allocations: 368.8 kB / 314 MB, free: 57.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2198, allocations: 35.92 kB / 314 MB, free: 57.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2199, allocations: 287.1 kB / 314.3 MB, free: 57.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.22, allocations: 183.3 kB / 314.5 MB, free: 57.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.2202, allocations: 124.3 kB / 314.6 MB, free: 57.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.2203, allocations: 0.5383 MB / 315.1 MB, free: 56.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2205, allocations: 142.9 kB / 315.3 MB, free: 56.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.2207, allocations: 333.8 kB / 315.6 MB, free: 56.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.2212, allocations: 0.5219 MB / 316.1 MB, free: 55.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2212, allocations: 0.875 kB / 316.1 MB, free: 55.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008996/0.2221, allocations: 0.6249 MB / 316.7 MB, free: 55.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2222, allocations: 8 kB / 316.7 MB, free: 55.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2222, allocations: 4 kB / 316.7 MB, free: 55.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00784/0.23, allocations: 1.871 MB / 318.6 MB, free: 53.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.2305, allocations: 107.9 kB / 318.7 MB, free: 53.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.2323, allocations: 3.52 MB / 322.2 MB, free: 49.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.2326, allocations: 12 kB / 322.3 MB, free: 49.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2326, allocations: 23.94 kB / 322.3 MB, free: 49.34 MB / 282.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.0001901/0.2328, allocations: 220.4 kB / 322.5 MB, free: 49.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.2329, allocations: 51.77 kB / 322.5 MB, free: 49.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/0.2338, allocations: 0.6898 MB / 323.2 MB, free: 48.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2338, allocations: 4 kB / 323.2 MB, free: 48.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2338, allocations: 0 / 323.2 MB, free: 48.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006334/0.2344, allocations: 0.7932 MB / 324 MB, free: 47.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.2359, allocations: 1.252 MB / 325.3 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2359, allocations: 0 / 325.3 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.2362, allocations: 75.91 kB / 325.4 MB, free: 46.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/0.2394, allocations: 0.5844 MB / 325.9 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.2394, allocations: 15.98 kB / 326 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006511/0.2401, allocations: 1.709 MB / 327.7 MB, free: 43.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2401, allocations: 0 / 327.7 MB, free: 43.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2412, allocations: 0.9905 MB / 328.7 MB, free: 42.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.2413, allocations: 39.66 kB / 328.7 MB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.2413, allocations: 12 kB / 328.7 MB, free: 42.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.2415, allocations: 15.92 kB / 328.7 MB, free: 42.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.2416, allocations: 27.89 kB / 328.7 MB, free: 42.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2416, allocations: 19.98 kB / 328.8 MB, free: 42.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.2418, allocations: 237.1 kB / 329 MB, free: 42.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2418, allocations: 0 / 329 MB, free: 42.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007691/0.2426, allocations: 231.7 kB / 329.2 MB, free: 42.13 MB / 282.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.0005528/0.2431, allocations: 296.7 kB / 329.5 MB, free: 41.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.2442, allocations: 0.6885 MB / 330.2 MB, free: 41.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2442, allocations: 4 kB / 330.2 MB, free: 41.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.2449, allocations: 345.1 kB / 330.5 MB, free: 40.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.246, allocations: 221.1 kB / 330.8 MB, free: 40.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2474, allocations: 1.056 MB / 331.8 MB, free: 39.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2475, allocations: 236.9 kB / 332 MB, free: 39.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000213/0.2478, allocations: 70.88 kB / 332.1 MB, free: 39.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.2478, allocations: 36.5 kB / 332.2 MB, free: 39.17 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2478, allocations: 3.938 kB / 332.2 MB, free: 39.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01626/0.2641, allocations: 11.98 MB / 344.1 MB, free: 27.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.98860722000245]