Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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 3.2.3+maint.om/package.mo): time 0.0008722/0.0008723, allocations: 189.9 kB / 7.809 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008275/0.0008272, allocations: 86.28 kB / 261.4 MB, free: 13.55 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.1495/0.1495, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.875e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.297/4.497, allocations: 3.076 GB / 3.541 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/4.497, allocations: 71.69 kB / 3.541 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5263/5.023, allocations: 207.8 MB / 3.744 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.295e-05/5.023, allocations: 6.656 kB / 3.744 GB, free: 106.2 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.004021/5.027, allocations: 1.155 MB / 3.745 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/5.027, allocations: 11.78 kB / 3.745 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/5.027, allocations: 32.19 kB / 3.745 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/5.028, allocations: 227.9 kB / 3.745 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/5.028, allocations: 123.5 kB / 3.745 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/5.028, allocations: 11.5 kB / 3.745 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005722/5.028, allocations: 0.7114 MB / 3.746 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/5.029, allocations: 281.1 kB / 3.746 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/5.029, allocations: 5.812 kB / 3.746 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/5.029, allocations: 3.812 kB / 3.746 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/5.029, allocations: 3.844 kB / 3.746 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/5.031, allocations: 3.5 MB / 3.75 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/5.031, allocations: 51.59 kB / 3.75 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/5.031, allocations: 21.95 kB / 3.75 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/5.031, allocations: 445.4 kB / 3.75 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/5.031, allocations: 34.25 kB / 3.75 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/5.031, allocations: 0 / 3.75 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/5.031, allocations: 60.47 kB / 3.75 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.477e-05/5.031, allocations: 51.41 kB / 3.75 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/5.031, allocations: 217.8 kB / 3.751 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/5.031, allocations: 25.7 kB / 3.751 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/5.032, allocations: 254.1 kB / 3.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/5.032, allocations: 6.75 kB / 3.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/5.032, allocations: 0 / 3.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/5.032, allocations: 331.6 kB / 3.751 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/5.032, allocations: 34.62 kB / 3.751 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/5.032, allocations: 342 kB / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/5.032, allocations: 119.7 kB / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.032, allocations: 3.938 kB / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005532/5.033, allocations: 341.1 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/5.033, allocations: 3.938 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/5.033, allocations: 15.05 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/5.033, allocations: 15.44 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/5.033, allocations: 101.5 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/5.033, allocations: 15.84 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/5.033, allocations: 50.12 kB / 3.752 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/5.033, allocations: 35.12 kB / 3.752 GB, free: 100 MB / 0.4948 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 5.793e-05/5.033, allocations: 133 kB / 3.752 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/5.033, allocations: 19.62 kB / 3.752 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/5.033, allocations: 15.14 kB / 3.752 GB, free: 99.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/5.033, allocations: 3.969 kB / 3.752 GB, free: 99.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/5.033, allocations: 0 / 3.752 GB, free: 99.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/5.033, allocations: 0 / 3.752 GB, free: 99.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/5.034, allocations: 181.8 kB / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/5.034, allocations: 0 / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/5.034, allocations: 3.938 kB / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/5.034, allocations: 3.562 kB / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/5.034, allocations: 3.781 kB / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/5.034, allocations: 0 / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/5.034, allocations: 0 / 3.753 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.008e-05/5.034, allocations: 150 kB / 3.753 GB, free: 99.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/5.034, allocations: 106.5 kB / 3.753 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/5.034, allocations: 3.969 kB / 3.753 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/5.034, allocations: 3.969 kB / 3.753 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/5.034, allocations: 3.938 kB / 3.753 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/5.034, allocations: 3.891 kB / 3.753 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.179e-05/5.034, allocations: 148.8 kB / 3.753 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005082/5.035, allocations: 110.3 kB / 3.753 GB, free: 99.36 MB / 0.4948 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.0003123/5.035, allocations: 291.4 kB / 3.753 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001825/5.035, allocations: 137.7 kB / 3.754 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/5.035, allocations: 0 / 3.754 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/5.035, allocations: 3.844 kB / 3.754 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/5.035, allocations: 19.47 kB / 3.754 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/5.228, allocations: 96.24 MB / 3.848 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/5.228, allocations: 0.7531 MB / 3.848 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/5.228, allocations: 0 / 3.848 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.005797/5.234, allocations: 3.431 MB / 3.852 GB, free: 61.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches