Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002046/0.002046, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.362/2.362, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001091/0.001091, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.274/0.274, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.038e-05, allocations: 4 kB / 425.3 MB, free: 23.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 58.86 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.362/9.482, allocations: 3.076 GB / 3.549 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/9.482, allocations: 80.5 kB / 3.549 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/10.61, allocations: 211.4 MB / 3.756 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/10.61, allocations: 3.938 kB / 3.756 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.602e-05/10.61, allocations: 3.531 kB / 3.756 GB, free: 115.2 MB / 0.5105 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.005519/10.61, allocations: 1.158 MB / 3.757 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/10.61, allocations: 14.84 kB / 3.757 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/10.61, allocations: 22.34 kB / 3.757 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/10.61, allocations: 222.2 kB / 3.757 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/10.61, allocations: 120.3 kB / 3.757 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/10.61, allocations: 25.53 kB / 3.757 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/10.61, allocations: 317.6 kB / 3.757 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/10.61, allocations: 2.406 kB / 3.757 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/10.61, allocations: 10.19 kB / 3.757 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/10.61, allocations: 7.469 kB / 3.757 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009974/10.61, allocations: 0.7332 MB / 3.758 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/10.62, allocations: 1.223 MB / 3.759 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/10.62, allocations: 161.1 kB / 3.759 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/10.62, allocations: 91.02 kB / 3.76 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003272/10.62, allocations: 3.025 MB / 3.762 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/10.62, allocations: 45.56 kB / 3.763 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/10.62, allocations: 0 / 3.763 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003556/10.62, allocations: 96.77 kB / 3.763 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/10.62, allocations: 58.56 kB / 3.763 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/10.62, allocations: 186.1 kB / 3.763 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/10.62, allocations: 25.7 kB / 3.763 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/10.62, allocations: 285.4 kB / 3.763 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/10.62, allocations: 51.48 kB / 3.763 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/10.62, allocations: 10.44 kB / 3.763 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/10.62, allocations: 329 kB / 3.763 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/10.62, allocations: 44.27 kB / 3.764 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/10.62, allocations: 332.1 kB / 3.764 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/10.62, allocations: 101.1 kB / 3.764 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/10.62, allocations: 7.531 kB / 3.764 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000746/10.62, allocations: 373 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/10.62, allocations: 14.66 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/10.62, allocations: 7.594 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/10.62, allocations: 15.38 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/10.62, allocations: 103.3 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/10.62, allocations: 22.91 kB / 3.764 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/10.62, allocations: 63.81 kB / 3.765 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/10.62, allocations: 28.94 kB / 3.765 GB, free: 109.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 0.000108/10.62, allocations: 127.5 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/10.62, allocations: 26.2 kB / 3.765 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/10.62, allocations: 170.7 kB / 3.765 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/10.62, allocations: 0 / 3.765 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/10.62, allocations: 0 / 3.765 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/10.62, allocations: 3.906 kB / 3.765 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/10.62, allocations: 429.2 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/10.62, allocations: 3.938 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/10.62, allocations: 14.08 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/10.62, allocations: 0 / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/10.63, allocations: 7.375 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/10.63, allocations: 3.938 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/10.63, allocations: 3.938 kB / 3.765 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/10.63, allocations: 260.5 kB / 3.766 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/10.63, allocations: 114.7 kB / 3.766 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/10.63, allocations: 7.328 kB / 3.766 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/10.63, allocations: 7.75 kB / 3.766 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/10.63, allocations: 7.016 kB / 3.766 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/10.63, allocations: 11.19 kB / 3.766 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001451/10.63, allocations: 148.8 kB / 3.766 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/10.63, allocations: 3.594 kB / 3.766 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008406/10.63, allocations: 113 kB / 3.766 GB, free: 108.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004734/10.63, allocations: 277.5 kB / 3.766 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004248/10.63, allocations: 170.4 kB / 3.766 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/10.63, allocations: 0 / 3.766 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/10.63, allocations: 29.17 kB / 3.766 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/10.63, allocations: 44.91 kB / 3.766 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3254/10.95, allocations: 98.05 MB / 3.862 GB, free: 68.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/10.95, allocations: 0.7326 MB / 3.863 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/10.95, allocations: 35.42 kB / 3.863 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/10.95, allocations: 3.938 kB / 3.863 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.008608/10.96, allocations: 4.173 MB / 3.867 GB, free: 63.84 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches