Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002205/0.002205, 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.009/2.009, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001093/0.001093, allocations: 82.72 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.2805/0.2805, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.346e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.28, allocations: 375.1 MB / 0.8391 GB, free: 49.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.281, allocations: 74.31 kB / 0.8392 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06896/1.35, allocations: 18.85 MB / 0.8576 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/1.35, allocations: 0 / 0.8576 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.35, allocations: 7.938 kB / 0.8576 GB, free: 33.82 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.001222/1.351, allocations: 0.5621 MB / 0.8582 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.351, allocations: 8.031 kB / 0.8582 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/1.351, allocations: 23.81 kB / 0.8582 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/1.352, allocations: 232.8 kB / 0.8584 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.352, allocations: 126.9 kB / 0.8586 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/1.352, allocations: 27 kB / 0.8586 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/1.352, allocations: 306.1 kB / 0.8589 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.352, allocations: 0 / 0.8589 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/1.352, allocations: 11.38 kB / 0.8589 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.353, allocations: 11.98 kB / 0.8589 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/1.354, allocations: 0.7325 MB / 0.8596 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.355, allocations: 1.227 MB / 0.8608 GB, free: 30.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/1.356, allocations: 150.8 kB / 0.8609 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.356, allocations: 83.27 kB / 0.861 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00315/1.359, allocations: 3.018 MB / 0.864 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.359, allocations: 38.31 kB / 0.864 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/1.359, allocations: 0 / 0.864 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003513/1.359, allocations: 104.6 kB / 0.8641 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.359, allocations: 55.41 kB / 0.8642 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/1.36, allocations: 190.6 kB / 0.8643 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.36, allocations: 29.2 kB / 0.8644 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.36, allocations: 280.3 kB / 0.8646 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/1.36, allocations: 53.67 kB / 0.8647 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/1.36, allocations: 7.438 kB / 0.8647 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/1.36, allocations: 330.8 kB / 0.865 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/1.36, allocations: 43.12 kB / 0.8651 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.36, allocations: 334.1 kB / 0.8654 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/1.361, allocations: 106.4 kB / 0.8655 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.361, allocations: 0 / 0.8655 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007203/1.361, allocations: 365.2 kB / 0.8658 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.361, allocations: 8 kB / 0.8658 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.361, allocations: 15.94 kB / 0.8658 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.361, allocations: 12 kB / 0.8659 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/1.362, allocations: 106.7 kB / 0.866 GB, free: 25.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/1.362, allocations: 19.89 kB / 0.866 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/1.362, allocations: 59.31 kB / 0.866 GB, free: 24.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.362, allocations: 27.98 kB / 0.8661 GB, free: 24.96 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 () * 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.0001075/1.363, allocations: 139.8 kB / 0.8662 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/1.363, allocations: 19.44 kB / 0.8662 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/1.363, allocations: 155.1 kB / 0.8664 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.363, allocations: 0 / 0.8664 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.363, allocations: 3.984 kB / 0.8664 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.363, allocations: 7.953 kB / 0.8664 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/1.364, allocations: 432.5 kB / 0.8668 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.364, allocations: 0 / 0.8668 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.364, allocations: 12 kB / 0.8668 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.364, allocations: 8.078 kB / 0.8668 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.364, allocations: 7.828 kB / 0.8668 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.364, allocations: 7.938 kB / 0.8668 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.364, allocations: 8.109 kB / 0.8668 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/1.364, allocations: 256.4 kB / 0.8671 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.364, allocations: 119.9 kB / 0.8672 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/1.364, allocations: 0 / 0.8672 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.365, allocations: 4 kB / 0.8672 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/1.365, allocations: 15.75 kB / 0.8672 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.365, allocations: 4 kB / 0.8672 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001414/1.365, allocations: 155.9 kB / 0.8674 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.4e-07/1.365, allocations: 4 kB / 0.8674 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006775/1.366, allocations: 91.67 kB / 0.8674 GB, free: 23.5 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 () * 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.000305/1.366, allocations: 157.8 kB / 0.8676 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.366, allocations: 171.5 kB / 0.8678 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.366, allocations: 0 / 0.8678 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/1.366, allocations: 27.62 kB / 0.8678 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/1.367, allocations: 36.31 kB / 0.8678 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.383, allocations: 4.828 MB / 0.8725 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/1.383, allocations: 0.7365 MB / 0.8733 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/1.383, allocations: 35.42 kB / 0.8733 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/1.383, allocations: 0 / 0.8733 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.00741/1.391, allocations: 3.281 MB / 0.8765 GB, free: 15 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches