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.001314/0.001314, allocations: 87.58 kB / 21.19 MB, free: 3.367 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.001442/0.001442, allocations: 165 kB / 24.56 MB, free: 0 / 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.9017/0.9017, allocations: 177.1 MB / 205 MB, free: 5.582 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.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.696e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.13/0.13, allocations: 26.1 MB / 299.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1329, allocations: 2.699 MB / 301.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.1331, allocations: 7.938 kB / 301.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.1336, allocations: 168.1 kB / 302 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006762/0.1343, allocations: 0.5398 MB / 302.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.1466, allocations: 6.922 MB / 309.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1481, allocations: 1.619 MB / 311 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1483, allocations: 144.5 kB / 311.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/0.1491, allocations: 0.829 MB / 312 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.1497, allocations: 0.5256 MB / 312.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.1498, allocations: 87.88 kB / 312.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.161, allocations: 8.982 MB / 321.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.1613, allocations: 347.1 kB / 321.9 MB, free: 236 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.1617, allocations: 343.5 kB / 322.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009364/0.1711, allocations: 6.352 MB / 328.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1711, allocations: 0 / 328.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1711, allocations: 0 / 328.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1711, allocations: 0 / 328.6 MB, free: 9.527 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002162/0.1733, allocations: 1.571 MB / 330.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1733, allocations: 16.02 kB / 330.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.1736, allocations: 156 kB / 330.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.174, allocations: 393.7 kB / 330.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1741, allocations: 52.83 kB / 330.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.1742, allocations: 68 kB / 330.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.1751, allocations: 0.8843 MB / 331.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1751, allocations: 4 kB / 331.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.1752, allocations: 24 kB / 331.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1752, allocations: 16 kB / 331.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.176, allocations: 0.5032 MB / 332.3 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.1825, allocations: 3.868 MB / 336.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.1834, allocations: 478 kB / 336.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.1836, allocations: 209.8 kB / 336.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004688/0.1883, allocations: 2.531 MB / 339.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1884, allocations: 54.27 kB / 339.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.395e-06/0.1884, allocations: 0 / 339.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004419/0.1928, allocations: 2.207 MB / 341.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1928, allocations: 64.41 kB / 341.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.193, allocations: 324.2 kB / 342 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.1931, allocations: 45.7 kB / 342.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1932, allocations: 299.8 kB / 342.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1933, allocations: 313.2 kB / 342.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1935, allocations: 168.2 kB / 342.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1936, allocations: 0.5235 MB / 343.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1939, allocations: 169.9 kB / 343.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.1943, allocations: 319.4 kB / 343.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1951, allocations: 0.5302 MB / 344.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1951, allocations: 0 / 344.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001317/0.1965, allocations: 0.8035 MB / 345.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1965, allocations: 8 kB / 345.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1965, allocations: 0 / 345.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.1969, allocations: 154.8 kB / 345.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.1973, allocations: 187.8 kB / 345.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.1993, allocations: 5.299 MB / 350.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1995, allocations: 20 kB / 350.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.1995, allocations: 43.98 kB / 350.9 MB, free: 2.535 MB / 298.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.0001776/0.1997, allocations: 208.5 kB / 351.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.2, allocations: 158.9 kB / 351.2 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2012, allocations: 0.9649 MB / 352.2 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.2012, allocations: 11.98 kB / 352.2 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2012, allocations: 0 / 352.2 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008984/0.2021, allocations: 0.9934 MB / 353.2 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2037, allocations: 1.365 MB / 354.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2037, allocations: 8.062 kB / 354.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.2041, allocations: 159.8 kB / 354.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.2049, allocations: 282.8 kB / 355 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.205, allocations: 27.98 kB / 355 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005461/0.2055, allocations: 1.833 MB / 356.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2055, allocations: 4.125 kB / 356.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2068, allocations: 1.026 MB / 357.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.2069, allocations: 47.64 kB / 357.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2069, allocations: 20 kB / 357.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2072, allocations: 35.97 kB / 358 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.2072, allocations: 60.89 kB / 358 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.2073, allocations: 43.97 kB / 358.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.2074, allocations: 239 kB / 358.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2074, allocations: 4 kB / 358.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002663/0.2101, allocations: 1.364 MB / 359.7 MB, free: 9.344 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.003799/0.2139, allocations: 1.81 MB / 361.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.2151, allocations: 0.9068 MB / 362.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2151, allocations: 4 kB / 362.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.2155, allocations: 338.5 kB / 362.7 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/0.2165, allocations: 361.1 kB / 363.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2185, allocations: 1.336 MB / 364.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2186, allocations: 172.9 kB / 364.6 MB, free: 4.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.219, allocations: 176.9 kB / 364.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2191, allocations: 76.47 kB / 364.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2191, allocations: 0 / 364.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of Templates: time 0.04373/0.2629, allocations: 48.71 MB / 413.6 MB, free: 3.605 MB / 362.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: 13.167040900792927]