Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001476/0.001476, allocations: 85.31 kB / 21.44 MB, free: 296 kB / 14.72 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.001829/0.001829, allocations: 162.1 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.258e-05, allocations: 10.16 kB / 299 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0149/0.01494, allocations: 11.82 MB / 310.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.01736, allocations: 1.588 MB / 312.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.01751, allocations: 7.938 kB / 312.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.01807, allocations: 174.8 kB / 312.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.01879, allocations: 329.8 kB / 312.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.01998, allocations: 426.8 kB / 313.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.02111, allocations: 0.8325 MB / 314.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.02132, allocations: 68.88 kB / 314.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009172/0.02224, allocations: 0.4986 MB / 314.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.02271, allocations: 239.2 kB / 315 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.02279, allocations: 28 kB / 315 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.02311, allocations: 95.73 kB / 315.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.02328, allocations: 103.6 kB / 315.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.02352, allocations: 135.7 kB / 315.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008077/0.02432, allocations: 498.6 kB / 315.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02433, allocations: 0 / 315.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02433, allocations: 0 / 315.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.02434, allocations: 3.984 kB / 315.8 MB, free: 7.789 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009108/0.02525, allocations: 0.5052 MB / 316.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.0253, allocations: 11.98 kB / 316.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.02558, allocations: 40.75 kB / 316.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.02611, allocations: 237.2 kB / 316.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.02613, allocations: 16.88 kB / 316.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.0262, allocations: 24.38 kB / 316.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.02691, allocations: 0.5396 MB / 317.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.02693, allocations: 192 / 317.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.02697, allocations: 16.12 kB / 317.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.02698, allocations: 4 kB / 317.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.02731, allocations: 193.8 kB / 317.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.02921, allocations: 1.329 MB / 318.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.02946, allocations: 126.6 kB / 318.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.02958, allocations: 64.78 kB / 318.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.02966, allocations: 15.98 kB / 318.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.02969, allocations: 34.56 kB / 319 MB, free: 4.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.0297, allocations: 0 / 319 MB, free: 4.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001847/0.03154, allocations: 0.6535 MB / 319.6 MB, free: 3.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.03159, allocations: 55.41 kB / 319.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.03188, allocations: 253.8 kB / 319.9 MB, free: 3.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.03192, allocations: 33.7 kB / 319.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.03207, allocations: 212.2 kB / 320.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.03213, allocations: 67.39 kB / 320.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.03223, allocations: 65.66 kB / 320.3 MB, free: 3.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.0324, allocations: 346.7 kB / 320.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.03253, allocations: 71.97 kB / 320.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.03277, allocations: 197.7 kB / 320.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.03317, allocations: 275.2 kB / 321.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.03317, allocations: 4 kB / 321.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005465/0.03372, allocations: 326.3 kB / 321.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.03374, allocations: 12 kB / 321.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.03375, allocations: 4 kB / 321.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.874e-05/0.03385, allocations: 28.78 kB / 321.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.03418, allocations: 83.89 kB / 321.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.03549, allocations: 1.26 MB / 322.9 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.03566, allocations: 15.94 kB / 322.9 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.03569, allocations: 16.16 kB / 322.9 MB, free: 176 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.0359, allocations: 161.7 kB / 323 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1534/0.1893, allocations: 24.55 kB / 323.1 MB, free: 35.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.1898, allocations: 200.5 kB / 323.3 MB, free: 35.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1898, allocations: 2.531 kB / 323.3 MB, free: 35.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1898, allocations: 0.5 kB / 323.3 MB, free: 35.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002796/0.1901, allocations: 483.6 kB / 323.7 MB, free: 35.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1911, allocations: 0.6101 MB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1911, allocations: 2.906 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1913, allocations: 40.27 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1913, allocations: 5.875 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1913, allocations: 10.5 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1913, allocations: 8.234 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1913, allocations: 6.125 kB / 324.4 MB, free: 34.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.1917, allocations: 390.2 kB / 324.8 MB, free: 34.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1918, allocations: 27.89 kB / 324.8 MB, free: 34.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.1918, allocations: 9.516 kB / 324.8 MB, free: 34.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.192, allocations: 9.594 kB / 324.9 MB, free: 34.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1921, allocations: 22.62 kB / 324.9 MB, free: 34.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.1921, allocations: 17.97 kB / 324.9 MB, free: 34.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1923, allocations: 173.2 kB / 325.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1923, allocations: 3.438 kB / 325.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.1928, allocations: 99.62 kB / 325.2 MB, free: 34.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002594/0.193, allocations: 137.6 kB / 325.3 MB, free: 34.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.1935, allocations: 292.7 kB / 325.6 MB, free: 34.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1935, allocations: 1.125 kB / 325.6 MB, free: 34.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1936, allocations: 70.47 kB / 325.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.1944, allocations: 125.2 kB / 325.8 MB, free: 34.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.1953, allocations: 0.5734 MB / 326.3 MB, free: 33.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1954, allocations: 151.4 kB / 326.5 MB, free: 33.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1956, allocations: 55.23 kB / 326.5 MB, free: 33.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.1957, allocations: 28.06 kB / 326.6 MB, free: 33.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1957, allocations: 0 / 326.6 MB, free: 33.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01125/0.207, allocations: 4.709 MB / 331.3 MB, free: 33.04 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.535989325493574]