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.001018/0.001018, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008161/0.0008163, allocations: 103.3 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 45.22 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3095, allocations: 63.24 MB / 0.5192 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.552/5.862, allocations: 3.084 GB / 3.603 GB, free: 39.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/5.862, allocations: 79.77 kB / 3.604 GB, free: 39.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6822/6.544, allocations: 213.5 MB / 3.812 GB, free: 59.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/6.544, allocations: 0 / 3.812 GB, free: 59.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.426e-05/6.544, allocations: 4 kB / 3.812 GB, free: 59.42 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.005216/6.549, allocations: 1.17 MB / 3.813 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/6.549, allocations: 8.031 kB / 3.813 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/6.55, allocations: 23.81 kB / 3.813 GB, free: 58.17 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/6.55, allocations: 222.7 kB / 3.813 GB, free: 57.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/6.55, allocations: 123.4 kB / 3.814 GB, free: 57.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/6.55, allocations: 24 kB / 3.814 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/6.55, allocations: 327.6 kB / 3.814 GB, free: 57.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/6.55, allocations: 3.953 kB / 3.814 GB, free: 57.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/6.551, allocations: 23.8 kB / 3.814 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/6.551, allocations: 4 kB / 3.814 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/6.551, allocations: 0.7352 MB / 3.815 GB, free: 56.63 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/6.552, allocations: 1.221 MB / 3.816 GB, free: 55.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/6.553, allocations: 160.9 kB / 3.816 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/6.555, allocations: 2.777 MB / 3.819 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/6.555, allocations: 34.56 kB / 3.819 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/6.555, allocations: 0 / 3.819 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0003756/6.555, allocations: 129.4 kB / 3.819 GB, free: 51.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/6.555, allocations: 59.41 kB / 3.819 GB, free: 51.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/6.555, allocations: 190.1 kB / 3.819 GB, free: 51.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/6.555, allocations: 29.69 kB / 3.819 GB, free: 51.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/6.555, allocations: 218.8 kB / 3.819 GB, free: 51.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/6.556, allocations: 51.34 kB / 3.819 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/6.556, allocations: 4 kB / 3.819 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/6.556, allocations: 326.8 kB / 3.82 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/6.556, allocations: 52.83 kB / 3.82 GB, free: 50.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/6.556, allocations: 324.9 kB / 3.82 GB, free: 50.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/6.556, allocations: 99.86 kB / 3.82 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/6.556, allocations: 7.938 kB / 3.82 GB, free: 50.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005249/6.557, allocations: 381.1 kB / 3.82 GB, free: 49.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/6.557, allocations: 8 kB / 3.82 GB, free: 49.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/6.557, allocations: 16 kB / 3.821 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/6.557, allocations: 16 kB / 3.821 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/6.557, allocations: 96.48 kB / 3.821 GB, free: 49.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/6.557, allocations: 19.92 kB / 3.821 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/6.557, allocations: 55.44 kB / 3.821 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/6.557, allocations: 28 kB / 3.821 GB, free: 49.56 MB / 0.5417 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.0001236/6.557, allocations: 153.5 kB / 3.821 GB, free: 49.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/6.557, allocations: 23.75 kB / 3.821 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/6.558, allocations: 166.4 kB / 3.821 GB, free: 49.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/6.558, allocations: 4 kB / 3.821 GB, free: 49.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/6.558, allocations: 4 kB / 3.821 GB, free: 49.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/6.558, allocations: 0 / 3.821 GB, free: 49.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/6.558, allocations: 429.7 kB / 3.821 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/6.558, allocations: 0 / 3.821 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/6.558, allocations: 16.09 kB / 3.821 GB, free: 48.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/6.558, allocations: 3.938 kB / 3.821 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/6.558, allocations: 16.06 kB / 3.821 GB, free: 48.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/6.558, allocations: 0 / 3.821 GB, free: 48.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/6.558, allocations: 0 / 3.821 GB, free: 48.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/6.559, allocations: 261.5 kB / 3.822 GB, free: 48.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/6.559, allocations: 116.8 kB / 3.822 GB, free: 48.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/6.559, allocations: 11.88 kB / 3.822 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/6.559, allocations: 4 kB / 3.822 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/6.559, allocations: 4 kB / 3.822 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/6.559, allocations: 11.98 kB / 3.822 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.686e-05/6.559, allocations: 152.5 kB / 3.822 GB, free: 48.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/6.559, allocations: 4 kB / 3.822 GB, free: 48.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006803/6.56, allocations: 107.9 kB / 3.822 GB, free: 47.94 MB / 0.5417 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.0004767/6.56, allocations: 279.4 kB / 3.822 GB, free: 47.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002736/6.56, allocations: 169.6 kB / 3.823 GB, free: 47.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.56, allocations: 0 / 3.823 GB, free: 47.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/6.561, allocations: 27.92 kB / 3.823 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/6.561, allocations: 41.91 kB / 3.823 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4744/7.035, allocations: 99.43 MB / 3.92 GB, free: 86.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/7.036, allocations: 0.7322 MB / 3.92 GB, free: 85.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002732/7.036, allocations: 58.19 kB / 3.921 GB, free: 85.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/7.036, allocations: 27.03 kB / 3.921 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of SimCode: time 8.42e-07/7.036, allocations: 0 / 3.921 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of Templates: time 0.007622/7.043, allocations: 4.802 MB / 3.925 GB, free: 85.34 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/jenkins/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