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.0009298/0.0009298, allocations: 177.2 kB / 17.41 MB, free: 4.258 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.281/1.281, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007121/0.0007121, allocations: 81.44 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3098/0.3098, allocations: 43.57 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.585/5.69, allocations: 3.077 GB / 3.557 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/5.69, allocations: 74.44 kB / 3.557 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3597/6.05, allocations: 187.7 MB / 3.74 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/6.05, allocations: 0 / 3.74 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.18e-05/6.05, allocations: 4 kB / 3.74 GB, free: 0.9805 MB / 0.4948 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.2444/6.294, allocations: 1.153 MB / 3.741 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/6.294, allocations: 10.17 kB / 3.741 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/6.295, allocations: 24.91 kB / 3.741 GB, free: 87.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/6.295, allocations: 225.7 kB / 3.741 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/6.295, allocations: 124 kB / 3.741 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/6.295, allocations: 22.16 kB / 3.741 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/6.296, allocations: 329.1 kB / 3.742 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/6.296, allocations: 5 kB / 3.742 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/6.296, allocations: 11.16 kB / 3.742 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/6.296, allocations: 6.781 kB / 3.742 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/6.297, allocations: 0.7359 MB / 3.742 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/6.298, allocations: 1.175 MB / 3.744 GB, free: 86.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/6.299, allocations: 158 kB / 3.744 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/6.299, allocations: 87.06 kB / 3.744 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002232/6.301, allocations: 2.815 MB / 3.747 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/6.301, allocations: 41.66 kB / 3.747 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/6.301, allocations: 0 / 3.747 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002853/6.301, allocations: 118.1 kB / 3.747 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/6.301, allocations: 52.56 kB / 3.747 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/6.302, allocations: 222.5 kB / 3.747 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/6.302, allocations: 27.45 kB / 3.747 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/6.302, allocations: 221.1 kB / 3.747 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/6.302, allocations: 46.86 kB / 3.747 GB, free: 82.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/6.302, allocations: 8.75 kB / 3.747 GB, free: 82.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/6.302, allocations: 328 kB / 3.748 GB, free: 82.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/6.302, allocations: 46.62 kB / 3.748 GB, free: 82.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/6.302, allocations: 344.5 kB / 3.748 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/6.303, allocations: 441.1 kB / 3.748 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/6.303, allocations: 3.281 kB / 3.748 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005679/6.303, allocations: 382.2 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/6.303, allocations: 9.438 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/6.303, allocations: 14.38 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/6.303, allocations: 14.16 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/6.304, allocations: 97.7 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/6.304, allocations: 25.67 kB / 3.749 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/6.304, allocations: 57.03 kB / 3.749 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/6.304, allocations: 29.55 kB / 3.749 GB, free: 81.75 MB / 0.4948 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 0.0001092/6.304, allocations: 151.4 kB / 3.749 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/6.304, allocations: 20.67 kB / 3.749 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/6.304, allocations: 143.2 kB / 3.749 GB, free: 81.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/6.304, allocations: 2.891 kB / 3.749 GB, free: 81.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/6.304, allocations: 3.938 kB / 3.749 GB, free: 81.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/6.304, allocations: 1.172 kB / 3.749 GB, free: 81.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/6.305, allocations: 407.5 kB / 3.75 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/6.305, allocations: 4.344 kB / 3.75 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/6.305, allocations: 16.11 kB / 3.75 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/6.305, allocations: 4.562 kB / 3.75 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/6.305, allocations: 7.422 kB / 3.75 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/6.305, allocations: 1.844 kB / 3.75 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/6.305, allocations: 0.9375 kB / 3.75 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/6.305, allocations: 208 kB / 3.75 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/6.305, allocations: 110.1 kB / 3.75 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/6.305, allocations: 4.047 kB / 3.75 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/6.305, allocations: 12.09 kB / 3.75 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/6.305, allocations: 7.078 kB / 3.75 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/6.305, allocations: 5.156 kB / 3.75 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001485/6.306, allocations: 157 kB / 3.75 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.306, allocations: 0.5 kB / 3.75 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007492/6.306, allocations: 113.9 kB / 3.75 GB, free: 80.9 MB / 0.4948 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.0005096/6.307, allocations: 266.6 kB / 3.751 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000374/6.307, allocations: 169.3 kB / 3.751 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/6.307, allocations: 1.188 kB / 3.751 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/6.307, allocations: 26.94 kB / 3.751 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/6.308, allocations: 53.12 kB / 3.751 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07468/6.382, allocations: 42.1 MB / 3.792 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/6.383, allocations: 0.7206 MB / 3.793 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/6.383, allocations: 30.72 kB / 3.793 GB, free: 76.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/6.383, allocations: 0 / 3.793 GB, free: 76.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.005902/6.389, allocations: 4.051 MB / 3.797 GB, free: 76.76 MB / 0.4948 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