Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007576/0.0007576, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001894, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007105/0.0007105, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009726/0.001683, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8824/0.8824, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07926/0.9617, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.6e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02437/0.02439, allocations: 25.22 MB / 270.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.02677, allocations: 2.463 MB / 272.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.02689, allocations: 7.938 kB / 272.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.02715, allocations: 119.2 kB / 273 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.02753, allocations: 397.5 kB / 273.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1207/0.1482, allocations: 6.211 MB / 279.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.1491, allocations: 1.146 MB / 280.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1493, allocations: 96.62 kB / 280.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.1525, allocations: 3.277 MB / 284.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.1529, allocations: 352.8 kB / 284.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.1529, allocations: 59.12 kB / 284.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00909/0.162, allocations: 9.497 MB / 294 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1622, allocations: 199.9 kB / 294.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1623, allocations: 191.2 kB / 294.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.1666, allocations: 4.759 MB / 299.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.1666, allocations: 0 / 299.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1666, allocations: 0 / 299.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1666, allocations: 0 / 299.2 MB, free: 12.48 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001904/0.1685, allocations: 1.723 MB / 300.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.506e-05/0.1686, allocations: 10.38 kB / 300.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.1688, allocations: 184.8 kB / 301.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1691, allocations: 253.7 kB / 301.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1691, allocations: 33 kB / 301.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.1691, allocations: 47.95 kB / 301.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.1697, allocations: 0.6257 MB / 302 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1697, allocations: 2.812 kB / 302 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.1698, allocations: 24 kB / 302.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1698, allocations: 11.98 kB / 302.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1702, allocations: 262.8 kB / 302.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.175, allocations: 3.096 MB / 305.4 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.1755, allocations: 308.9 kB / 305.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.1756, allocations: 92.59 kB / 305.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003903/0.1795, allocations: 2.398 MB / 308.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1795, allocations: 43.06 kB / 308.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.472e-06/0.1795, allocations: 0 / 308.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002621/0.1822, allocations: 1.346 MB / 309.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1822, allocations: 55.91 kB / 309.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1823, allocations: 231.9 kB / 309.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1823, allocations: 37.7 kB / 309.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.1824, allocations: 191.9 kB / 310.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.1825, allocations: 202.8 kB / 310.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1826, allocations: 110.5 kB / 310.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.1826, allocations: 342.8 kB / 310.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.1827, allocations: 72.09 kB / 310.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.183, allocations: 173.6 kB / 311 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.1834, allocations: 329.3 kB / 311.3 MB, free: 348 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1834, allocations: 0 / 311.3 MB, free: 348 kB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006656/0.184, allocations: 417.3 kB / 311.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.1841, allocations: 8.281 kB / 311.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1841, allocations: 7.938 kB / 311.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.1843, allocations: 82.31 kB / 311.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.1846, allocations: 159.8 kB / 312 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.1857, allocations: 2.943 MB / 314.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1858, allocations: 23.98 kB / 314.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1858, allocations: 20 kB / 315 MB, free: 12.5 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): 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.0001133/0.1859, allocations: 150.6 kB / 315.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.1861, allocations: 87.47 kB / 315.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.1867, allocations: 0.5055 MB / 315.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1867, allocations: 4 kB / 315.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1867, allocations: 0 / 315.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003508/0.187, allocations: 470.3 kB / 316.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.1877, allocations: 0.7474 MB / 316.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1877, allocations: 0 / 316.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.188, allocations: 122.4 kB / 317 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.188, allocations: 27.81 kB / 317.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003991/0.1884, allocations: 149.5 kB / 317.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1885, allocations: 12 kB / 317.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001894/0.1887, allocations: 0.6094 MB / 317.8 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1887, allocations: 7.281 kB / 317.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.1892, allocations: 0.5566 MB / 318.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1893, allocations: 12 kB / 318.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1894, allocations: 24.05 kB / 318.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1895, allocations: 43.64 kB / 318.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1895, allocations: 19.98 kB / 318.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.1896, allocations: 86.77 kB / 318.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 318.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001885/0.1915, allocations: 1.333 MB / 319.9 MB, free: 7.484 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): 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.002839/0.1943, allocations: 1.919 MB / 321.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.1948, allocations: 0.5197 MB / 322.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.1948, allocations: 7.984 kB / 322.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1951, allocations: 192.9 kB / 322.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.1958, allocations: 0.9223 MB / 323.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.2001, allocations: 0.903 MB / 324.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.2002, allocations: 130.9 kB / 324.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.2004, allocations: 95.39 kB / 324.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.2009, allocations: 253 kB / 324.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2009, allocations: 0 / 324.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of Templates: time 0.04005/0.2409, allocations: 50.13 MB / 375 MB, free: 0.6094 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.969502509571612]