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.001896/0.001896, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.002351/0.002351, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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 1.453/1.453, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.132e-06/1.132e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.355e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1345/0.1346, allocations: 24.38 MB / 291.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.1384, allocations: 3.762 MB / 295.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1385, allocations: 7.094 kB / 295.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.1391, allocations: 194.2 kB / 295.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000661/0.1398, allocations: 365.3 kB / 296 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.1434, allocations: 1.489 MB / 297.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1444, allocations: 0.896 MB / 298.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1446, allocations: 69.56 kB / 298.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006139/0.1507, allocations: 4.286 MB / 302.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1511, allocations: 252 kB / 303 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.1511, allocations: 35.62 kB / 303 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1524, allocations: 0.7037 MB / 303.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1525, allocations: 104.8 kB / 303.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1526, allocations: 146.1 kB / 304 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009929/0.1536, allocations: 0.9603 MB / 305 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1536, allocations: 2.109 kB / 305 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1536, allocations: 0 / 305 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1536, allocations: 0 / 305 MB, free: 12.98 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.0007409/0.1544, allocations: 0.5884 MB / 305.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1544, allocations: 9.891 kB / 305.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.1549, allocations: 120.1 kB / 305.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1552, allocations: 231.2 kB / 305.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1553, allocations: 21.31 kB / 305.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.1553, allocations: 27.66 kB / 305.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.1558, allocations: 495 kB / 306.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1558, allocations: 2.875 kB / 306.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1558, allocations: 17.19 kB / 306.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1558, allocations: 11.03 kB / 306.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.1561, allocations: 208.2 kB / 306.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.1671, allocations: 4.101 MB / 310.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1673, allocations: 173.2 kB / 310.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1674, allocations: 89.77 kB / 311 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009184/0.1766, allocations: 2.686 MB / 313.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1767, allocations: 38.56 kB / 313.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.1767, allocations: 0 / 313.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.005785/0.1824, allocations: 1.26 MB / 315 MB, free: 6.656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.1825, allocations: 55.41 kB / 315.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1826, allocations: 235.2 kB / 315.3 MB, free: 6.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1826, allocations: 33.7 kB / 315.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.1827, allocations: 202.3 kB / 315.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.1828, allocations: 94.7 kB / 315.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.1828, allocations: 65.69 kB / 315.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.1829, allocations: 334.8 kB / 316 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.183, allocations: 87.97 kB / 316.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1832, allocations: 194.7 kB / 316.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.1835, allocations: 302.6 kB / 316.6 MB, free: 4.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1835, allocations: 0 / 316.6 MB, free: 4.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005809/0.1841, allocations: 403.2 kB / 317 MB, free: 4.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1841, allocations: 8 kB / 317 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1841, allocations: 8.297 kB / 317 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003997/0.1881, allocations: 0.9335 MB / 317.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1883, allocations: 70.16 kB / 318 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.1894, allocations: 1.844 MB / 319.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1896, allocations: 16.06 kB / 319.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.1896, allocations: 15.98 kB / 319.9 MB, free: 1.598 MB / 266.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.0001395/0.1898, allocations: 156.1 kB / 320 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.1898, allocations: 39.81 kB / 320 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.1904, allocations: 490 kB / 320.5 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1904, allocations: 4 kB / 320.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1904, allocations: 7.031 kB / 320.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004688/0.1909, allocations: 0.732 MB / 321.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.1923, allocations: 0.8385 MB / 322.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.1923, allocations: 3.938 kB / 322.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1925, allocations: 43.97 kB / 322.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.1944, allocations: 321.7 kB / 322.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1945, allocations: 8 kB / 322.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006744/0.1951, allocations: 0.6577 MB / 323.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1951, allocations: 0 / 323.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1963, allocations: 0.7399 MB / 323.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1963, allocations: 27.52 kB / 323.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.1964, allocations: 4 kB / 323.9 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1966, allocations: 8 kB / 323.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.1966, allocations: 26.7 kB / 323.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.1966, allocations: 8 kB / 323.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.1968, allocations: 165.6 kB / 324.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1968, allocations: 4.125 kB / 324.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.1976, allocations: 191.7 kB / 324.3 MB, free: 12.98 MB / 282.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.0006551/0.1982, allocations: 282 kB / 324.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008889/0.1991, allocations: 446.4 kB / 325 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1991, allocations: 4 kB / 325 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.1997, allocations: 230.1 kB / 325.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.2006, allocations: 140.2 kB / 325.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2019, allocations: 0.7417 MB / 326.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2021, allocations: 168.3 kB / 326.3 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.2023, allocations: 55.02 kB / 326.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.2024, allocations: 28.5 kB / 326.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2024, allocations: 0 / 326.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.0183/0.2207, allocations: 9.279 MB / 335.6 MB, free: 1.777 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.407880375045352]