Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 201.1 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 97.98 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4058/0.4058, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 8 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3827, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.298/7.681, allocations: 3.084 GB / 3.603 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/7.682, allocations: 78.62 kB / 3.603 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9063/8.588, allocations: 189.4 MB / 3.788 GB, free: 96.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.224e-06/8.588, allocations: 0 / 3.788 GB, free: 96.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.905e-05/8.588, allocations: 3.688 kB / 3.788 GB, free: 96.35 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.006116/8.594, allocations: 1.161 MB / 3.789 GB, free: 95.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/8.594, allocations: 11.91 kB / 3.789 GB, free: 95.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/8.595, allocations: 28.08 kB / 3.789 GB, free: 95.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/8.595, allocations: 221.1 kB / 3.789 GB, free: 95.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/8.595, allocations: 130.9 kB / 3.789 GB, free: 95.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/8.595, allocations: 20.06 kB / 3.789 GB, free: 95.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/8.596, allocations: 322.2 kB / 3.79 GB, free: 95.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/8.596, allocations: 7.875 kB / 3.79 GB, free: 95.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/8.596, allocations: 11.97 kB / 3.79 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/8.596, allocations: 7.562 kB / 3.79 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/8.597, allocations: 0.7396 MB / 3.79 GB, free: 94.91 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/8.598, allocations: 1.172 MB / 3.792 GB, free: 93.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/8.599, allocations: 159.1 kB / 3.792 GB, free: 93.85 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/8.599, allocations: 86.75 kB / 3.792 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/8.601, allocations: 2.825 MB / 3.795 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/8.601, allocations: 34.56 kB / 3.795 GB, free: 90.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/8.601, allocations: 3.938 kB / 3.795 GB, free: 90.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0003242/8.602, allocations: 114.5 kB / 3.795 GB, free: 90.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/8.602, allocations: 51.41 kB / 3.795 GB, free: 90.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/8.602, allocations: 225 kB / 3.795 GB, free: 90.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/8.602, allocations: 25.7 kB / 3.795 GB, free: 90.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/8.602, allocations: 224.5 kB / 3.795 GB, free: 90.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/8.602, allocations: 41.39 kB / 3.795 GB, free: 90.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/8.602, allocations: 11.5 kB / 3.795 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/8.602, allocations: 330.3 kB / 3.796 GB, free: 89.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/8.602, allocations: 44.83 kB / 3.796 GB, free: 89.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/8.602, allocations: 341.4 kB / 3.796 GB, free: 89.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/8.603, allocations: 445.6 kB / 3.796 GB, free: 89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/8.603, allocations: 3.875 kB / 3.796 GB, free: 89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006381/8.604, allocations: 375.5 kB / 3.797 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/8.604, allocations: 11.41 kB / 3.797 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/8.604, allocations: 15.62 kB / 3.797 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.068e-05/8.604, allocations: 11.47 kB / 3.797 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/8.604, allocations: 97.47 kB / 3.797 GB, free: 88.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/8.604, allocations: 28.97 kB / 3.797 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/8.604, allocations: 55.12 kB / 3.797 GB, free: 88.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/8.604, allocations: 27.38 kB / 3.797 GB, free: 88.77 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 0.000146/8.605, allocations: 156.9 kB / 3.797 GB, free: 88.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/8.605, allocations: 19.47 kB / 3.797 GB, free: 88.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/8.605, allocations: 141.5 kB / 3.797 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/8.605, allocations: 4 kB / 3.797 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/8.605, allocations: 3.938 kB / 3.797 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/8.605, allocations: 0 / 3.797 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/8.605, allocations: 413.2 kB / 3.798 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/8.605, allocations: 0 / 3.798 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/8.606, allocations: 19.75 kB / 3.798 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/8.606, allocations: 3.969 kB / 3.798 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/8.606, allocations: 96 / 3.798 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/8.606, allocations: 7.875 kB / 3.798 GB, free: 88.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/8.606, allocations: 3.969 kB / 3.798 GB, free: 88.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/8.606, allocations: 205.1 kB / 3.798 GB, free: 87.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/8.606, allocations: 111 kB / 3.798 GB, free: 87.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/8.606, allocations: 6.672 kB / 3.798 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/8.606, allocations: 3.125 kB / 3.798 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/8.606, allocations: 11.02 kB / 3.798 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/8.606, allocations: 3.656 kB / 3.798 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001266/8.606, allocations: 153.3 kB / 3.798 GB, free: 87.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/8.606, allocations: 0 / 3.798 GB, free: 87.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007403/8.607, allocations: 113.2 kB / 3.798 GB, free: 87.71 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.0005726/8.608, allocations: 272.7 kB / 3.799 GB, free: 87.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003859/8.608, allocations: 165 kB / 3.799 GB, free: 87.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/8.608, allocations: 3.906 kB / 3.799 GB, free: 87.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/8.608, allocations: 19.72 kB / 3.799 GB, free: 87.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/8.609, allocations: 60.78 kB / 3.799 GB, free: 87.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08771/8.696, allocations: 42.38 MB / 3.84 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/8.697, allocations: 0.7262 MB / 3.841 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003532/8.697, allocations: 64.44 kB / 3.841 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/8.697, allocations: 29.86 kB / 3.841 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/8.697, allocations: 0 / 3.841 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.0109/8.708, allocations: 4.814 MB / 3.846 GB, free: 74.18 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches