Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008968/0.0008968, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008805/0.0008805, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.8747/0.8747, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.215e-05, allocations: 2.312 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0212/0.02121, allocations: 25.76 MB / 300 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.0238, allocations: 2.67 MB / 302.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.02398, allocations: 11.94 kB / 302.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.02439, allocations: 166.9 kB / 302.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.02495, allocations: 0.5434 MB / 303.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.03546, allocations: 6.91 MB / 310.3 MB, free: 224 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.03653, allocations: 1.617 MB / 311.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.03671, allocations: 141.5 kB / 312 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/0.0373, allocations: 0.8226 MB / 312.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.03782, allocations: 0.5298 MB / 313.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-05/0.0379, allocations: 84 kB / 313.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.04825, allocations: 8.994 MB / 322.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.04848, allocations: 347.2 kB / 322.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.04872, allocations: 339.4 kB / 323.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.05482, allocations: 6.352 MB / 329.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.05483, allocations: 7.984 kB / 329.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.05483, allocations: 0 / 329.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.05483, allocations: 0 / 329.5 MB, free: 12.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001822/0.05666, allocations: 1.571 MB / 331 MB, free: 11.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.05669, allocations: 15.98 kB / 331.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.057, allocations: 159.6 kB / 331.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.05737, allocations: 374.4 kB / 331.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.0574, allocations: 49.31 kB / 331.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.05748, allocations: 68 kB / 331.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.05826, allocations: 0.8258 MB / 332.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.05828, allocations: 0 / 332.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.05832, allocations: 31.98 kB / 332.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.05834, allocations: 12 kB / 332.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.05894, allocations: 413.9 kB / 333 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/0.06513, allocations: 3.595 MB / 336.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.06583, allocations: 428.1 kB / 337 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.06602, allocations: 181.3 kB / 337.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004544/0.07056, allocations: 2.302 MB / 339.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.0706, allocations: 57.97 kB / 339.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 1.783e-06/0.0706, allocations: 0 / 339.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.00391/0.07451, allocations: 1.988 MB / 341.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.07454, allocations: 60.41 kB / 341.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.07472, allocations: 316.1 kB / 341.9 MB, free: 248 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.07477, allocations: 45.7 kB / 341.9 MB, free: 196 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1056/0.1804, allocations: 292.2 kB / 342.2 MB, free: 44.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.1807, allocations: 323.7 kB / 342.5 MB, free: 44.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.1809, allocations: 169.5 kB / 342.7 MB, free: 44.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.181, allocations: 0.5336 MB / 343.2 MB, free: 43.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1812, allocations: 129 kB / 343.3 MB, free: 43.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1816, allocations: 283.1 kB / 343.6 MB, free: 43.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.1823, allocations: 471.5 kB / 344.1 MB, free: 43.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1823, allocations: 1.156 kB / 344.1 MB, free: 43.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00128/0.1835, allocations: 0.7234 MB / 344.8 MB, free: 43.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1836, allocations: 7.766 kB / 344.8 MB, free: 43.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1836, allocations: 2.25 kB / 344.8 MB, free: 43.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.184, allocations: 143.8 kB / 345 MB, free: 43.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.1844, allocations: 192.2 kB / 345.1 MB, free: 43.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1856, allocations: 5.242 MB / 350.4 MB, free: 38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1858, allocations: 21.38 kB / 350.4 MB, free: 38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.1859, allocations: 41.98 kB / 350.5 MB, free: 38 MB / 314.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0001928/0.1861, allocations: 210.1 kB / 350.7 MB, free: 37.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.1864, allocations: 152.4 kB / 350.8 MB, free: 37.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1875, allocations: 0.9118 MB / 351.7 MB, free: 37.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1875, allocations: 8.156 kB / 351.7 MB, free: 37.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1875, allocations: 0 / 351.7 MB, free: 37.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007022/0.1882, allocations: 0.9408 MB / 352.7 MB, free: 36.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.1899, allocations: 1.229 MB / 353.9 MB, free: 36.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1899, allocations: 2.375 kB / 353.9 MB, free: 36.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.1903, allocations: 165.8 kB / 354.1 MB, free: 36.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008182/0.1911, allocations: 275.6 kB / 354.3 MB, free: 36.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.1911, allocations: 37.91 kB / 354.4 MB, free: 36.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002697/0.1914, allocations: 1.82 MB / 356.2 MB, free: 34.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1914, allocations: 6.938 kB / 356.2 MB, free: 34.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1924, allocations: 0.9486 MB / 357.1 MB, free: 34.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1924, allocations: 45.48 kB / 357.2 MB, free: 34.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.1925, allocations: 24.08 kB / 357.2 MB, free: 34.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1927, allocations: 29.62 kB / 357.2 MB, free: 34.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1928, allocations: 58.55 kB / 357.3 MB, free: 34.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1928, allocations: 40.34 kB / 357.3 MB, free: 34.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.1929, allocations: 221 kB / 357.5 MB, free: 34.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 4.031 kB / 357.6 MB, free: 34.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002392/0.1953, allocations: 1.371 MB / 358.9 MB, free: 34.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003042/0.1984, allocations: 1.84 MB / 360.8 MB, free: 34.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.1991, allocations: 0.8369 MB / 361.6 MB, free: 33.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1991, allocations: 2.578 kB / 361.6 MB, free: 33.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.1995, allocations: 313.8 kB / 361.9 MB, free: 33.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.2003, allocations: 355.1 kB / 362.3 MB, free: 33.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2019, allocations: 1.332 MB / 363.6 MB, free: 33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.2019, allocations: 164 kB / 363.7 MB, free: 32.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.2023, allocations: 144.4 kB / 363.9 MB, free: 32.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.2029, allocations: 424.8 kB / 364.3 MB, free: 32.81 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2029, allocations: 0 / 364.3 MB, free: 32.81 MB / 314.7 MB Notification: Performance of Templates: time 0.04274/0.2456, allocations: 55.89 MB / 420.2 MB, free: 1.004 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 10.246412999927998]