Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001429/0.001429, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009873/0.0009873, allocations: 150.2 kB / 24.81 MB, free: 9.285 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.904/0.904, allocations: 173.3 MB / 201.4 MB, free: 9.203 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.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 4 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.439e-05, allocations: 6.312 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1187/0.1187, allocations: 25.66 MB / 294.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1211, allocations: 2.663 MB / 296.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1213, allocations: 13.97 kB / 296.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.1217, allocations: 164 kB / 296.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.1223, allocations: 0.5491 MB / 297.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.1327, allocations: 6.909 MB / 304.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1339, allocations: 1.616 MB / 306 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1341, allocations: 142.1 kB / 306.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.1347, allocations: 0.8218 MB / 306.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.1352, allocations: 0.5371 MB / 307.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-05/0.1353, allocations: 83.47 kB / 307.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008793/0.1441, allocations: 8.958 MB / 316.5 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1443, allocations: 344.4 kB / 316.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.1445, allocations: 338.5 kB / 317.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.1497, allocations: 6.336 MB / 323.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1497, allocations: 0 / 323.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1497, allocations: 0 / 323.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1497, allocations: 4 kB / 323.5 MB, free: 0.8359 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001883/0.1516, allocations: 1.571 MB / 325.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1516, allocations: 12.92 kB / 325.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.1519, allocations: 164 kB / 325.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1523, allocations: 372.4 kB / 325.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1523, allocations: 49.31 kB / 325.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.1524, allocations: 71.95 kB / 325.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1531, allocations: 0.8257 MB / 326.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1532, allocations: 4 kB / 326.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1532, allocations: 32 kB / 326.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1532, allocations: 12 kB / 326.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.1538, allocations: 415.4 kB / 327 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006017/0.1598, allocations: 3.661 MB / 330.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.1605, allocations: 423.1 kB / 331.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1606, allocations: 185.9 kB / 331.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.1649, allocations: 2.41 MB / 333.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1649, allocations: 46.05 kB / 333.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.1649, allocations: 4 kB / 333.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.003707/0.1686, allocations: 2.025 MB / 335.8 MB, free: 4.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1686, allocations: 64.34 kB / 335.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1688, allocations: 319 kB / 336.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.1689, allocations: 45.7 kB / 336.2 MB, free: 4.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.169, allocations: 299.4 kB / 336.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.1694, allocations: 328.4 kB / 336.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1695, allocations: 170 kB / 337 MB, free: 3.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1697, allocations: 0.5271 MB / 337.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1698, allocations: 129.9 kB / 337.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1702, allocations: 279.4 kB / 337.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.1708, allocations: 474.8 kB / 338.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1708, allocations: 4 kB / 338.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00117/0.172, allocations: 0.7761 MB / 339.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.172, allocations: 8 kB / 339.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.172, allocations: 288 / 339.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.1723, allocations: 150.6 kB / 339.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.1727, allocations: 183.8 kB / 339.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.174, allocations: 3.446 MB / 342.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1742, allocations: 16 kB / 342.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.1742, allocations: 35.98 kB / 343 MB, free: 13 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.0001554/0.1744, allocations: 208.6 kB / 343.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.1747, allocations: 158.8 kB / 343.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.176, allocations: 0.9569 MB / 344.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.176, allocations: 8 kB / 344.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.176, allocations: 0 / 344.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007763/0.1768, allocations: 0.9854 MB / 345.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1782, allocations: 1.276 MB / 346.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1782, allocations: 3.984 kB / 346.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1785, allocations: 163.8 kB / 346.7 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008078/0.1793, allocations: 278.9 kB / 347 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.1794, allocations: 31.98 kB / 347 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1794, allocations: 7.938 kB / 347 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1794, allocations: 0 / 347 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1806, allocations: 0.9988 MB / 348 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1806, allocations: 47.7 kB / 348.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.1807, allocations: 16 kB / 348.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1809, allocations: 27.98 kB / 348.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.181, allocations: 68.86 kB / 348.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.181, allocations: 39.97 kB / 348.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1811, allocations: 218.9 kB / 348.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1811, allocations: 0 / 348.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002588/0.1837, allocations: 1.36 MB / 349.8 MB, free: 5.879 MB / 298.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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003578/0.1873, allocations: 1.848 MB / 351.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.1882, allocations: 0.8674 MB / 352.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1882, allocations: 3.938 kB / 352.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005813/0.1888, allocations: 386.5 kB / 352.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.1896, allocations: 367.7 kB / 353.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1913, allocations: 1.302 MB / 354.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1914, allocations: 176.9 kB / 354.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003586/0.1918, allocations: 141 kB / 354.9 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/0.1924, allocations: 421.8 kB / 355.3 MB, free: 280 kB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1924, allocations: 4 kB / 355.3 MB, free: 276 kB / 298.7 MB Notification: Performance of Templates: time 0.05579/0.2482, allocations: 56.13 MB / 411.4 MB, free: 8.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 6.489169102162123]