Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008646/0.0008642, allocations: 89.11 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2521, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01035/0.2626, allocations: 11.76 MB / 386.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.265, allocations: 1.611 MB / 388.5 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.2654, allocations: 2.188 kB / 388.5 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.2659, allocations: 129.7 kB / 388.6 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.2665, allocations: 292.9 kB / 388.9 MB, free: 34.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.2676, allocations: 355.7 kB / 389.2 MB, free: 34.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2688, allocations: 1.054 MB / 390.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.269, allocations: 80.62 kB / 390.4 MB, free: 33.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006086/0.2696, allocations: 346.8 kB / 390.7 MB, free: 33.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.2699, allocations: 255 kB / 390.9 MB, free: 32.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.27, allocations: 12 kB / 391 MB, free: 32.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.2702, allocations: 107.8 kB / 391.1 MB, free: 32.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.2703, allocations: 75.7 kB / 391.1 MB, free: 32.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2705, allocations: 185.1 kB / 391.3 MB, free: 32.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2708, allocations: 364.1 kB / 391.7 MB, free: 32.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2708, allocations: 0 / 391.7 MB, free: 32.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2708, allocations: 0 / 391.7 MB, free: 32.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2709, allocations: 0 / 391.7 MB, free: 32.11 MB / 298.7 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.0006778/0.2715, allocations: 0.5069 MB / 392.2 MB, free: 31.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2716, allocations: 8.031 kB / 392.2 MB, free: 31.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.2718, allocations: 48.48 kB / 392.2 MB, free: 31.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.2722, allocations: 287.7 kB / 392.5 MB, free: 31.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2722, allocations: 20.94 kB / 392.5 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.2722, allocations: 24.38 kB / 392.6 MB, free: 31.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.2727, allocations: 313.5 kB / 392.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2727, allocations: 4 kB / 392.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2727, allocations: 12 kB / 392.9 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2727, allocations: 8 kB / 392.9 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.273, allocations: 193.5 kB / 393.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.2745, allocations: 1.736 MB / 394.8 MB, free: 28.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2747, allocations: 134.6 kB / 394.9 MB, free: 28.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.2748, allocations: 68.72 kB / 395 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.275, allocations: 170.2 kB / 395.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.275, allocations: 42.56 kB / 395.2 MB, free: 28.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.275, allocations: 0 / 395.2 MB, free: 28.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001616/0.2766, allocations: 0.8027 MB / 396 MB, free: 27.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2767, allocations: 55.34 kB / 396.1 MB, free: 27.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2769, allocations: 282.5 kB / 396.4 MB, free: 27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2769, allocations: 33.7 kB / 396.4 MB, free: 26.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.277, allocations: 195.6 kB / 396.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.277, allocations: 78.84 kB / 396.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.2771, allocations: 8 kB / 396.7 MB, free: 26.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.2771, allocations: 334.8 kB / 397 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.2772, allocations: 67.75 kB / 397.1 MB, free: 26.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2774, allocations: 187.2 kB / 397.2 MB, free: 26.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.2776, allocations: 283.2 kB / 397.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2777, allocations: 4 kB / 397.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004051/0.2781, allocations: 321.8 kB / 397.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2781, allocations: 8 kB / 397.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2781, allocations: 7.938 kB / 397.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.376e-05/0.2782, allocations: 29.3 kB / 397.9 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.2785, allocations: 83.89 kB / 398 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008285/0.2793, allocations: 1.299 MB / 399.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2795, allocations: 16 kB / 399.3 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.2796, allocations: 19.98 kB / 399.3 MB, free: 23.79 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.2797, allocations: 157.6 kB / 399.5 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.2798, allocations: 27.72 kB / 399.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.2801, allocations: 213 kB / 399.7 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2801, allocations: 0 / 399.7 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.2801, allocations: 0 / 399.7 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002547/0.2804, allocations: 491.7 kB / 400.2 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.2813, allocations: 0.7683 MB / 400.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2813, allocations: 11.92 kB / 400.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2815, allocations: 43.97 kB / 401 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2815, allocations: 4 kB / 401 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2815, allocations: 8 kB / 401 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2815, allocations: 4.219 kB / 401 MB, free: 21.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2815, allocations: 11.94 kB / 401 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.2818, allocations: 394.8 kB / 401.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.2819, allocations: 100.8 kB / 401.5 MB, free: 21.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.282, allocations: 8 kB / 401.5 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.2822, allocations: 19.92 kB / 401.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2822, allocations: 16.05 kB / 401.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.2823, allocations: 19.98 kB / 401.6 MB, free: 21.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.2824, allocations: 198 kB / 401.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2824, allocations: 0 / 401.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.2829, allocations: 103.9 kB / 401.9 MB, free: 20.96 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.2831, allocations: 143.1 kB / 402 MB, free: 20.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2836, allocations: 294.9 kB / 402.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.2836, allocations: 5 kB / 402.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.2837, allocations: 72.17 kB / 402.4 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009431/0.2847, allocations: 161 kB / 402.5 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.2856, allocations: 0.7746 MB / 403.3 MB, free: 19.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2858, allocations: 0.7641 MB / 404.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.2859, allocations: 35.42 kB / 404.1 MB, free: 18.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2859, allocations: 0 / 404.1 MB, free: 18.62 MB / 298.7 MB Notification: Performance of Templates: time 0.006565/0.2925, allocations: 5.154 MB / 409.2 MB, free: 13.47 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches