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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 191.2 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 96.3 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 45.15 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.191e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.858/5.96, allocations: 3.083 GB / 3.587 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/5.96, allocations: 71.95 kB / 3.587 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7535/6.714, allocations: 209.7 MB / 3.792 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.792e-05/6.714, allocations: 4 kB / 3.792 GB, free: 39.26 MB / 0.5261 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.005975/6.72, allocations: 1.165 MB / 3.793 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/6.72, allocations: 12.03 kB / 3.793 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/6.72, allocations: 27.72 kB / 3.793 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/6.72, allocations: 226.7 kB / 3.793 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/6.72, allocations: 115.3 kB / 3.794 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/6.72, allocations: 12 kB / 3.794 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007799/6.721, allocations: 0.7111 MB / 3.794 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/6.722, allocations: 285.9 kB / 3.795 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/6.722, allocations: 3.938 kB / 3.795 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/6.722, allocations: 0 / 3.795 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/6.722, allocations: 8 kB / 3.795 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/6.725, allocations: 3.499 MB / 3.798 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/6.725, allocations: 42.58 kB / 3.798 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/6.725, allocations: 20.98 kB / 3.798 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/6.726, allocations: 450 kB / 3.798 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/6.726, allocations: 34.56 kB / 3.799 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 3.256e-06/6.726, allocations: 0 / 3.799 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002407/6.726, allocations: 53.44 kB / 3.799 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/6.726, allocations: 55.41 kB / 3.799 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/6.726, allocations: 212.8 kB / 3.799 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/6.726, allocations: 25.7 kB / 3.799 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/6.727, allocations: 258 kB / 3.799 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/6.727, allocations: 11.98 kB / 3.799 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/6.727, allocations: 0 / 3.799 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/6.727, allocations: 326.8 kB / 3.799 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/6.727, allocations: 40.8 kB / 3.799 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/6.727, allocations: 336.2 kB / 3.8 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/6.727, allocations: 119.8 kB / 3.8 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/6.727, allocations: 4 kB / 3.8 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007377/6.728, allocations: 337 kB / 3.8 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/6.728, allocations: 4.969 kB / 3.8 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/6.728, allocations: 12 kB / 3.8 GB, free: 29.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/6.728, allocations: 20 kB / 3.8 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/6.729, allocations: 103.8 kB / 3.8 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/6.729, allocations: 19.92 kB / 3.8 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/6.729, allocations: 47.44 kB / 3.8 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/6.729, allocations: 36 kB / 3.8 GB, free: 29.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.000101/6.729, allocations: 128.6 kB / 3.801 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/6.729, allocations: 15.81 kB / 3.801 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/6.729, allocations: 20.8 kB / 3.801 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/6.729, allocations: 4 kB / 3.801 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/6.729, allocations: 3.984 kB / 3.801 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/6.729, allocations: 0 / 3.801 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/6.729, allocations: 178.1 kB / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/6.729, allocations: 4 kB / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/6.729, allocations: 3.938 kB / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/6.729, allocations: 0 / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/6.729, allocations: 0 / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/6.729, allocations: 0 / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/6.729, allocations: 0 / 3.801 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001367/6.73, allocations: 155.3 kB / 3.801 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/6.73, allocations: 104.9 kB / 3.801 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/6.73, allocations: 0 / 3.801 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/6.73, allocations: 7.938 kB / 3.801 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/6.73, allocations: 0 / 3.801 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/6.73, allocations: 0 / 3.801 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000104/6.73, allocations: 153.2 kB / 3.801 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008049/6.731, allocations: 111.9 kB / 3.801 GB, free: 28.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006468/6.732, allocations: 306.8 kB / 3.802 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002851/6.732, allocations: 129.9 kB / 3.802 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.732, allocations: 0 / 3.802 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/6.732, allocations: 7.984 kB / 3.802 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/6.732, allocations: 21.31 kB / 3.802 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5516/7.284, allocations: 97.12 MB / 3.897 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/7.284, allocations: 0.7554 MB / 3.897 GB, free: 154 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/7.284, allocations: 0 / 3.897 GB, free: 154 MB / 0.5261 GB Notification: Performance of Templates: time 0.008804/7.293, allocations: 3.428 MB / 3.901 GB, free: 153.7 MB / 0.5261 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