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.0007927/0.0007927, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001794, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006936/0.0006936, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001827, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9151/0.9151, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07326/0.9884, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.453e-06/1.453e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.501e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02359/0.0236, allocations: 25.22 MB / 270.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.02635, allocations: 2.463 MB / 272.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.0265, allocations: 7.938 kB / 272.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.02682, allocations: 123.2 kB / 272.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.02727, allocations: 389.5 kB / 273.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1128/0.14, allocations: 6.214 MB / 279.4 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1412, allocations: 1.146 MB / 280.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1414, allocations: 100.3 kB / 280.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.1459, allocations: 3.264 MB / 283.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.1464, allocations: 359 kB / 284.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.1464, allocations: 61.59 kB / 284.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.1572, allocations: 9.497 MB / 293.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1574, allocations: 202.8 kB / 294 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1576, allocations: 194.2 kB / 294.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005616/0.1632, allocations: 4.762 MB / 299 MB, free: 12.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.1632, allocations: 0 / 299 MB, free: 12.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1632, allocations: 0 / 299 MB, free: 12.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1632, allocations: 0 / 299 MB, free: 12.51 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.002493/0.1657, allocations: 1.728 MB / 300.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1658, allocations: 12.03 kB / 300.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.166, allocations: 184.8 kB / 300.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1663, allocations: 262.1 kB / 301.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1664, allocations: 33 kB / 301.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.1664, allocations: 51.95 kB / 301.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.167, allocations: 0.62 MB / 301.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.167, allocations: 0 / 301.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.167, allocations: 28 kB / 301.9 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.167, allocations: 8.75 kB / 301.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1674, allocations: 262.7 kB / 302.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.1725, allocations: 3.096 MB / 305.3 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.1729, allocations: 310.1 kB / 305.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.173, allocations: 96.97 kB / 305.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004321/0.1774, allocations: 2.391 MB / 308 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1774, allocations: 54.98 kB / 308.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.713e-06/0.1774, allocations: 0 / 308.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002452/0.1798, allocations: 1.23 MB / 309.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1799, allocations: 63.89 kB / 309.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.18, allocations: 227.3 kB / 309.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.18, allocations: 37.7 kB / 309.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.1801, allocations: 201.2 kB / 309.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/0.1802, allocations: 205.1 kB / 310 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1803, allocations: 105.5 kB / 310.2 MB, free: 1.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.1804, allocations: 347.4 kB / 310.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.797e-05/0.1805, allocations: 68.11 kB / 310.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1807, allocations: 172 kB / 310.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.1811, allocations: 310.3 kB / 311 MB, free: 484 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1811, allocations: 4 kB / 311 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006805/0.1818, allocations: 426 kB / 311.4 MB, free: 48 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1818, allocations: 4 kB / 311.5 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1818, allocations: 7.938 kB / 311.5 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.182, allocations: 76.19 kB / 311.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1824, allocations: 154.7 kB / 311.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1836, allocations: 2.956 MB / 314.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1837, allocations: 15.98 kB / 314.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.1837, allocations: 24.25 kB / 314.7 MB, free: 12.63 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.0003545/0.1841, allocations: 150.3 kB / 314.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.1843, allocations: 87.53 kB / 314.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.1849, allocations: 0.5032 MB / 315.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1849, allocations: 4 kB / 315.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1849, allocations: 4 kB / 315.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003704/0.1852, allocations: 471.3 kB / 315.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/0.186, allocations: 0.7439 MB / 316.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.186, allocations: 3.938 kB / 316.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.1863, allocations: 126.2 kB / 316.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.1863, allocations: 31.81 kB / 316.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.1867, allocations: 143.8 kB / 316.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.1868, allocations: 16 kB / 316.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001981/0.187, allocations: 0.5993 MB / 317.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.187, allocations: 11.73 kB / 317.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.1876, allocations: 0.554 MB / 318.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.1877, allocations: 12 kB / 318.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1878, allocations: 19.98 kB / 318.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1879, allocations: 40.36 kB / 318.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.1879, allocations: 23.98 kB / 318.2 MB, free: 9.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.188, allocations: 87.31 kB / 318.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.188, allocations: 3.75 kB / 318.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002138/0.1901, allocations: 1.329 MB / 319.6 MB, free: 7.613 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.002974/0.1931, allocations: 1.926 MB / 321.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005661/0.1936, allocations: 0.5156 MB / 322.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.1937, allocations: 14.83 kB / 322.1 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.1941, allocations: 153.3 kB / 322.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.1947, allocations: 289.7 kB / 322.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.1991, allocations: 0.9012 MB / 323.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.1992, allocations: 134.9 kB / 323.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.1995, allocations: 99.38 kB / 323.6 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.1999, allocations: 249 kB / 323.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1999, allocations: 0 / 323.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Templates: time 0.04377/0.2437, allocations: 51.12 MB / 375 MB, free: 0.582 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.335682591423392]