Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 195.1 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 244.1 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009666/0.0009665, allocations: 92.25 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3847/0.3847, allocations: 44.83 MB / 392.9 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002588, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3425, allocations: 62.95 MB / 0.5165 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.383/5.726, allocations: 3.084 GB / 3.601 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/5.726, allocations: 74.98 kB / 3.601 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6101/6.336, allocations: 189.4 MB / 3.786 GB, free: 96.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/6.336, allocations: 0 / 3.786 GB, free: 96.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.621e-05/6.336, allocations: 3.688 kB / 3.786 GB, free: 96.71 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004189/6.34, allocations: 1.168 MB / 3.787 GB, free: 95.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/6.34, allocations: 11.38 kB / 3.787 GB, free: 95.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/6.341, allocations: 27.47 kB / 3.787 GB, free: 95.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/6.341, allocations: 224.6 kB / 3.787 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/6.341, allocations: 123.8 kB / 3.787 GB, free: 95.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/6.341, allocations: 24 kB / 3.787 GB, free: 95.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/6.341, allocations: 324.9 kB / 3.788 GB, free: 95.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/6.341, allocations: 7.875 kB / 3.788 GB, free: 95.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/6.342, allocations: 15.41 kB / 3.788 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/6.342, allocations: 7.875 kB / 3.788 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/6.342, allocations: 0.7309 MB / 3.788 GB, free: 95.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/6.343, allocations: 1.176 MB / 3.79 GB, free: 94.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/6.343, allocations: 164.5 kB / 3.79 GB, free: 94.19 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/6.344, allocations: 83.44 kB / 3.79 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/6.345, allocations: 2.817 MB / 3.793 GB, free: 91.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/6.345, allocations: 34.56 kB / 3.793 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/6.345, allocations: 3.938 kB / 3.793 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0002486/6.346, allocations: 114.8 kB / 3.793 GB, free: 91.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/6.346, allocations: 51.41 kB / 3.793 GB, free: 91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/6.346, allocations: 222.1 kB / 3.793 GB, free: 90.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/6.346, allocations: 29.7 kB / 3.793 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/6.346, allocations: 222.8 kB / 3.793 GB, free: 90.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/6.346, allocations: 42.38 kB / 3.793 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/6.346, allocations: 7.594 kB / 3.793 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/6.346, allocations: 338.2 kB / 3.794 GB, free: 90.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/6.346, allocations: 47.94 kB / 3.794 GB, free: 90.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/6.346, allocations: 338.6 kB / 3.794 GB, free: 89.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/6.347, allocations: 440.1 kB / 3.794 GB, free: 89.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/6.347, allocations: 3.969 kB / 3.794 GB, free: 89.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004553/6.347, allocations: 380 kB / 3.795 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/6.347, allocations: 11.16 kB / 3.795 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/6.347, allocations: 12.66 kB / 3.795 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/6.347, allocations: 11.56 kB / 3.795 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/6.347, allocations: 100.9 kB / 3.795 GB, free: 89.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/6.347, allocations: 27.09 kB / 3.795 GB, free: 89.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/6.348, allocations: 54.11 kB / 3.795 GB, free: 89.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/6.348, allocations: 27.59 kB / 3.795 GB, free: 89.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.489e-05/6.348, allocations: 160.8 kB / 3.795 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/6.348, allocations: 15.69 kB / 3.795 GB, free: 88.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/6.348, allocations: 150.2 kB / 3.795 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/6.348, allocations: 3.969 kB / 3.795 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/6.348, allocations: 3.938 kB / 3.795 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/6.348, allocations: 0 / 3.795 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/6.348, allocations: 400.6 kB / 3.796 GB, free: 88.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/6.348, allocations: 0 / 3.796 GB, free: 88.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/6.349, allocations: 23.44 kB / 3.796 GB, free: 88.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/6.349, allocations: 3.969 kB / 3.796 GB, free: 88.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/6.349, allocations: 0 / 3.796 GB, free: 88.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/6.349, allocations: 3.969 kB / 3.796 GB, free: 88.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/6.349, allocations: 0 / 3.796 GB, free: 88.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/6.349, allocations: 209.1 kB / 3.796 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/6.349, allocations: 107.4 kB / 3.796 GB, free: 88.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/6.349, allocations: 7.906 kB / 3.796 GB, free: 88.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/6.349, allocations: 3.906 kB / 3.796 GB, free: 88.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/6.349, allocations: 15.05 kB / 3.796 GB, free: 88.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/6.349, allocations: 1.594 kB / 3.796 GB, free: 88.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.296e-05/6.349, allocations: 153.1 kB / 3.796 GB, free: 88.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/6.349, allocations: 3.938 kB / 3.796 GB, free: 88.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005569/6.35, allocations: 121.5 kB / 3.796 GB, free: 88.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0004096/6.35, allocations: 269.5 kB / 3.797 GB, free: 87.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002573/6.35, allocations: 163.9 kB / 3.797 GB, free: 87.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.35, allocations: 0 / 3.797 GB, free: 87.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/6.35, allocations: 27.56 kB / 3.797 GB, free: 87.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/6.351, allocations: 50.38 kB / 3.797 GB, free: 87.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06392/6.415, allocations: 42.42 MB / 3.838 GB, free: 75.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/6.415, allocations: 0.7223 MB / 3.839 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/6.415, allocations: 38.53 kB / 3.839 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/6.415, allocations: 0 / 3.839 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.005687/6.421, allocations: 4.039 MB / 3.843 GB, free: 74.55 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches