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.00219/0.00219, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.964/1.964, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001116/0.001116, allocations: 94.14 kB / 270.9 MB, free: 8.371 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.5684/0.5684, allocations: 43.54 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.524/9.664, allocations: 3.076 GB / 3.555 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/9.664, allocations: 72.97 kB / 3.555 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.09/10.75, allocations: 211.7 MB / 3.762 GB, free: 73.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.647e-06/10.75, allocations: 11.44 kB / 3.762 GB, free: 73.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.403e-05/10.75, allocations: 3.938 kB / 3.762 GB, free: 73.83 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.005514/10.76, allocations: 1.16 MB / 3.763 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/10.76, allocations: 10.97 kB / 3.763 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/10.76, allocations: 29.95 kB / 3.763 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/10.76, allocations: 219.4 kB / 3.763 GB, free: 72.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/10.76, allocations: 123.8 kB / 3.763 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/10.76, allocations: 23.38 kB / 3.763 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/10.76, allocations: 319.9 kB / 3.764 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/10.76, allocations: 7.219 kB / 3.764 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/10.76, allocations: 15.12 kB / 3.764 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/10.76, allocations: 7.234 kB / 3.764 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/10.76, allocations: 0.7424 MB / 3.764 GB, free: 72.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/10.76, allocations: 1.222 MB / 3.766 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/10.76, allocations: 167 kB / 3.766 GB, free: 71.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002917/10.77, allocations: 2.779 MB / 3.768 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/10.77, allocations: 34.38 kB / 3.768 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/10.77, allocations: 0 / 3.768 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004442/10.77, allocations: 126.4 kB / 3.769 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/10.77, allocations: 55.34 kB / 3.769 GB, free: 68.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/10.77, allocations: 198.6 kB / 3.769 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/10.77, allocations: 33.7 kB / 3.769 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/10.77, allocations: 276.7 kB / 3.769 GB, free: 67.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/10.77, allocations: 49.33 kB / 3.769 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/10.77, allocations: 7.938 kB / 3.769 GB, free: 67.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/10.77, allocations: 329.2 kB / 3.77 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/10.77, allocations: 46.98 kB / 3.77 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/10.77, allocations: 329.2 kB / 3.77 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/10.77, allocations: 99.59 kB / 3.77 GB, free: 67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/10.77, allocations: 0 / 3.77 GB, free: 67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007171/10.77, allocations: 380.4 kB / 3.77 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/10.77, allocations: 9.625 kB / 3.77 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/10.77, allocations: 13.73 kB / 3.77 GB, free: 66.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/10.77, allocations: 16.53 kB / 3.77 GB, free: 66.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/10.77, allocations: 103 kB / 3.77 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/10.77, allocations: 17.72 kB / 3.77 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/10.77, allocations: 59.23 kB / 3.771 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/10.77, allocations: 26.41 kB / 3.771 GB, free: 66.77 MB / 0.4948 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 () * 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.0001437/10.77, allocations: 157 kB / 3.771 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/10.77, allocations: 26.17 kB / 3.771 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/10.77, allocations: 170.2 kB / 3.771 GB, free: 66.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/10.77, allocations: 0 / 3.771 GB, free: 66.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/10.77, allocations: 0 / 3.771 GB, free: 66.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/10.77, allocations: 0 / 3.771 GB, free: 66.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/10.77, allocations: 431.7 kB / 3.771 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/10.77, allocations: 0 / 3.771 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/10.77, allocations: 23.7 kB / 3.771 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/10.77, allocations: 2.438 kB / 3.771 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/10.77, allocations: 7.438 kB / 3.771 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/10.77, allocations: 0 / 3.771 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/10.77, allocations: 3.375 kB / 3.771 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/10.77, allocations: 262 kB / 3.772 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/10.77, allocations: 114.8 kB / 3.772 GB, free: 65.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/10.77, allocations: 13.59 kB / 3.772 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/10.77, allocations: 3.562 kB / 3.772 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/10.77, allocations: 11.72 kB / 3.772 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/10.77, allocations: 10.78 kB / 3.772 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001472/10.77, allocations: 148.1 kB / 3.772 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.8e-07/10.77, allocations: 0 / 3.772 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008517/10.77, allocations: 114.7 kB / 3.772 GB, free: 65.59 MB / 0.4948 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 () * Number of clocked 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.0004789/10.77, allocations: 283.9 kB / 3.772 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003975/10.78, allocations: 165.7 kB / 3.772 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/10.78, allocations: 0.75 kB / 3.772 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/10.78, allocations: 24.09 kB / 3.772 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/10.78, allocations: 52.86 kB / 3.773 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6932/11.47, allocations: 98.52 MB / 3.869 GB, free: 58.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/11.47, allocations: 0.7338 MB / 3.869 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/11.47, allocations: 29.88 kB / 3.869 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/11.47, allocations: 1.375 kB / 3.869 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.009104/11.48, allocations: 4.179 MB / 3.874 GB, free: 57.48 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