Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001303/0.001303, allocations: 72.06 kB / 21.7 MB, free: 2.844 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.004492/0.004492, allocations: 145.6 kB / 24.97 MB, free: 8.844 MB / 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 0.927/0.927, allocations: 173.4 MB / 201.5 MB, free: 9.324 MB / 186.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.846e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1357/0.1357, allocations: 51.18 MB / 319.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1396, allocations: 5.258 MB / 324.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1398, allocations: 7.406 kB / 324.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.1404, allocations: 230.7 kB / 324.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.141, allocations: 386.7 kB / 325.1 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.1529, allocations: 7.192 MB / 332.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.1539, allocations: 1.106 MB / 333.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.154, allocations: 93.81 kB / 333.5 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.1583, allocations: 3.77 MB / 337.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.1587, allocations: 375 kB / 337.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.1588, allocations: 60 kB / 337.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.1697, allocations: 9.328 MB / 347 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.17, allocations: 235.4 kB / 347.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1703, allocations: 247.5 kB / 347.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009651/0.1799, allocations: 6.391 MB / 353.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1799, allocations: 0 / 353.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1799, allocations: 0 / 353.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1799, allocations: 0 / 353.9 MB, free: 2.938 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002953/0.1829, allocations: 1.415 MB / 355.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1829, allocations: 8.031 kB / 355.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1832, allocations: 119.5 kB / 355.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1836, allocations: 310.7 kB / 355.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1837, allocations: 40.92 kB / 355.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.1837, allocations: 51.95 kB / 355.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.1845, allocations: 0.6512 MB / 356.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1845, allocations: 0 / 356.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.1846, allocations: 20 kB / 356.5 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1846, allocations: 16 kB / 356.5 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.1852, allocations: 361.7 kB / 356.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006594/0.1918, allocations: 3.485 MB / 360.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.1925, allocations: 315.8 kB / 360.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1927, allocations: 136 kB / 360.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004818/0.1975, allocations: 2.598 MB / 363.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1975, allocations: 41.89 kB / 363.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.315e-06/0.1975, allocations: 0 / 363.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.002877/0.2004, allocations: 1.356 MB / 364.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2004, allocations: 55.91 kB / 364.9 MB, free: 7.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2006, allocations: 292.2 kB / 365.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2007, allocations: 41.64 kB / 365.2 MB, free: 7.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2008, allocations: 256 kB / 365.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.2009, allocations: 194.3 kB / 365.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.201, allocations: 120 kB / 365.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/0.2013, allocations: 0.5234 MB / 366.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2015, allocations: 101.2 kB / 366.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.2018, allocations: 239.5 kB / 366.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.2024, allocations: 374.4 kB / 367 MB, free: 5.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2024, allocations: 4 kB / 367 MB, free: 5.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009879/0.2034, allocations: 0.5503 MB / 367.5 MB, free: 4.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2034, allocations: 8 kB / 367.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2034, allocations: 7.312 kB / 367.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.2037, allocations: 87 kB / 367.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.2039, allocations: 124.1 kB / 367.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.2056, allocations: 4.393 MB / 372.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2057, allocations: 12 kB / 372.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.2058, allocations: 31.94 kB / 372.2 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2059, allocations: 184.5 kB / 372.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.2061, allocations: 103.3 kB / 372.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.2072, allocations: 0.6288 MB / 373.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2072, allocations: 8.062 kB / 373.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.2072, allocations: 0 / 373.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005583/0.2078, allocations: 0.5686 MB / 373.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.2088, allocations: 0.9237 MB / 374.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2088, allocations: 8 kB / 374.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2091, allocations: 103.8 kB / 374.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/0.2095, allocations: 135.6 kB / 374.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2096, allocations: 19.98 kB / 374.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002713/0.2098, allocations: 0.9166 MB / 375.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2098, allocations: 0 / 375.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.2107, allocations: 0.693 MB / 376.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2107, allocations: 27.81 kB / 376.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.2108, allocations: 12 kB / 376.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.211, allocations: 23.97 kB / 376.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.211, allocations: 40.38 kB / 376.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.211, allocations: 23.98 kB / 376.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.2112, allocations: 221.1 kB / 376.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2112, allocations: 0 / 376.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002447/0.2136, allocations: 1.333 MB / 378.1 MB, free: 9.754 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003661/0.2173, allocations: 1.867 MB / 380 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.2183, allocations: 0.7015 MB / 380.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2183, allocations: 3.938 kB / 380.7 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.2186, allocations: 199.1 kB / 380.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.2193, allocations: 234.1 kB / 381.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2207, allocations: 0.9157 MB / 382 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.215e-05/0.2208, allocations: 134.9 kB / 382.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.2211, allocations: 113.3 kB / 382.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2212, allocations: 60.48 kB / 382.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2212, allocations: 0 / 382.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of Templates: time 0.04144/0.2626, allocations: 45.01 MB / 427.4 MB, free: 8.578 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 8.399878884898499]