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.003503/0.003503, allocations: 78.19 kB / 21.42 MB, free: 3.082 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: 151.8 kB / 24.81 MB, free: 9.281 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.8958/0.8958, allocations: 173.3 MB / 201.4 MB, free: 9.195 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.653e-06/1.653e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.012e-05, allocations: 6.25 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1258/0.1258, allocations: 24.68 MB / 293.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1284, allocations: 2.397 MB / 295.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1286, allocations: 8.594 kB / 295.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.129, allocations: 123.7 kB / 295.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1295, allocations: 393.1 kB / 296 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.1411, allocations: 6.776 MB / 302.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.1425, allocations: 1.138 MB / 303.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.1427, allocations: 96.45 kB / 304 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.1472, allocations: 3.563 MB / 307.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.1476, allocations: 377.1 kB / 307.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/0.1477, allocations: 59.19 kB / 308 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.1592, allocations: 8.935 MB / 316.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1594, allocations: 235.1 kB / 317.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.1597, allocations: 242.8 kB / 317.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.1682, allocations: 6.124 MB / 323.5 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1682, allocations: 0 / 323.5 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1682, allocations: 4 kB / 323.5 MB, free: 216 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1682, allocations: 0 / 323.5 MB, free: 216 kB / 266.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.002553/0.1707, allocations: 1.384 MB / 324.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1708, allocations: 9.812 kB / 324.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.171, allocations: 112.5 kB / 325 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1714, allocations: 314.2 kB / 325.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1714, allocations: 33 kB / 325.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.1715, allocations: 48 kB / 325.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.1721, allocations: 0.6157 MB / 326 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1721, allocations: 3.625 kB / 326 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1722, allocations: 16 kB / 326.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1722, allocations: 12 kB / 326.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.1726, allocations: 302.7 kB / 326.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.1784, allocations: 3.266 MB / 329.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.1789, allocations: 282.4 kB / 329.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.179, allocations: 122 kB / 330 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004712/0.1837, allocations: 2.389 MB / 332.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1838, allocations: 41.89 kB / 332.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.1838, allocations: 3.938 kB / 332.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002698/0.1865, allocations: 1.247 MB / 333.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.1865, allocations: 63.84 kB / 333.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1867, allocations: 290.6 kB / 334.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.1867, allocations: 37.7 kB / 334.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1868, allocations: 256.6 kB / 334.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1869, allocations: 204 kB / 334.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1871, allocations: 119.7 kB / 334.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1872, allocations: 0.5184 MB / 335.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1873, allocations: 85.23 kB / 335.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1876, allocations: 217.8 kB / 335.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.188, allocations: 330.2 kB / 335.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.188, allocations: 8 kB / 335.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000922/0.1889, allocations: 0.5103 MB / 336.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.189, allocations: 11.94 kB / 336.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.189, allocations: 0 / 336.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.1892, allocations: 94.09 kB / 336.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1895, allocations: 123.8 kB / 336.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.1913, allocations: 3.429 MB / 340 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1915, allocations: 23.94 kB / 340 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.1916, allocations: 23.98 kB / 340 MB, free: 15.37 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 (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): 1 system {(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.0001604/0.1917, allocations: 188.5 kB / 340.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.1919, allocations: 99.28 kB / 340.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.1927, allocations: 0.6264 MB / 340.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1927, allocations: 12 kB / 340.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1927, allocations: 0 / 340.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004838/0.1932, allocations: 0.5529 MB / 341.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1942, allocations: 0.8589 MB / 342.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.1942, allocations: 0 / 342.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1944, allocations: 103.8 kB / 342.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.1949, allocations: 139.6 kB / 342.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.1949, allocations: 15.98 kB / 342.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1949, allocations: 4 kB / 342.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1949, allocations: 0 / 342.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.1957, allocations: 0.6681 MB / 343.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.1958, allocations: 34.02 kB / 343.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1958, allocations: 15.98 kB / 343.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.196, allocations: 19.98 kB / 343.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.196, allocations: 40.38 kB / 343.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.1961, allocations: 27.97 kB / 343.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1962, allocations: 206.4 kB / 343.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 343.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002786/0.1989, allocations: 1.294 MB / 344.9 MB, free: 10.38 MB / 298.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): 1 system {(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.004002/0.2029, allocations: 1.824 MB / 346.7 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2037, allocations: 0.6569 MB / 347.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.2037, allocations: 12.12 kB / 347.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.2041, allocations: 226.2 kB / 347.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.2048, allocations: 237.2 kB / 347.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2061, allocations: 0.8845 MB / 348.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.2062, allocations: 130.9 kB / 348.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.2064, allocations: 107.3 kB / 349 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.2069, allocations: 321.9 kB / 349.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2069, allocations: 0 / 349.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of Templates: time 0.05046/0.2574, allocations: 50.62 MB / 399.9 MB, free: 3.574 MB / 346.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: 5.421031157951802]