Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 186.1 kB / 8.15 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.2 MB / 213.8 MB, free: 8.656 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 88.03 kB / 261.8 MB, free: 5.086 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3414/0.3414, allocations: 43.49 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.859e-06, allocations: 0 / 417.7 MB, free: 68.58 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 58.85 MB / 476.5 MB, free: 9.684 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8705/0.9764, allocations: 374.4 MB / 0.831 GB, free: 39.4 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.9767, allocations: 68.41 kB / 0.8311 GB, free: 39.37 MB / 498.8 MB Notification: Performance of FrontEnd: time 0.06591/1.043, allocations: 18.56 MB / 0.8492 GB, free: 24.21 MB / 498.8 MB Notification: Performance of Transformations before backend: time 1.561e-05/1.043, allocations: 4 kB / 0.8492 GB, free: 24.21 MB / 498.8 MB 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.001226/1.044, allocations: 0.5629 MB / 0.8498 GB, free: 23.62 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.044, allocations: 8.031 kB / 0.8498 GB, free: 23.62 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/1.044, allocations: 35.7 kB / 0.8498 GB, free: 23.58 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/1.045, allocations: 217.8 kB / 0.85 GB, free: 23.34 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.045, allocations: 115.3 kB / 0.8501 GB, free: 23.2 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/1.045, allocations: 16 kB / 0.8501 GB, free: 23.18 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001015/1.046, allocations: 0.7077 MB / 0.8508 GB, free: 22.59 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/1.046, allocations: 286.1 kB / 0.8511 GB, free: 22.34 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.046, allocations: 7.844 kB / 0.8511 GB, free: 22.34 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/1.046, allocations: 0 / 0.8511 GB, free: 22.34 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/1.046, allocations: 8 kB / 0.8511 GB, free: 22.33 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/1.05, allocations: 3.503 MB / 0.8545 GB, free: 18.41 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.05, allocations: 37.52 kB / 0.8546 GB, free: 18.37 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/1.05, allocations: 28.11 kB / 0.8546 GB, free: 18.34 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/1.051, allocations: 447.9 kB / 0.855 GB, free: 17.88 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/1.051, allocations: 34.44 kB / 0.855 GB, free: 17.84 MB / 498.8 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/1.051, allocations: 0 / 0.855 GB, free: 17.84 MB / 498.8 MB Notification: Performance of matching and sorting (n=1): time 0.0002291/1.051, allocations: 57.41 kB / 0.8551 GB, free: 17.77 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/1.051, allocations: 51.41 kB / 0.8552 GB, free: 17.71 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/1.051, allocations: 217.1 kB / 0.8554 GB, free: 17.53 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.051, allocations: 29.73 kB / 0.8554 GB, free: 17.49 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.051, allocations: 313.9 kB / 0.8557 GB, free: 17.2 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/1.051, allocations: 15.33 kB / 0.8557 GB, free: 17.19 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/1.051, allocations: 0 / 0.8557 GB, free: 17.19 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/1.051, allocations: 333.1 kB / 0.856 GB, free: 16.86 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/1.052, allocations: 31.86 kB / 0.8561 GB, free: 16.84 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/1.052, allocations: 341.7 kB / 0.8564 GB, free: 16.38 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/1.052, allocations: 117.3 kB / 0.8565 GB, free: 16.28 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/1.052, allocations: 4 kB / 0.8565 GB, free: 16.27 MB / 498.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000921/1.053, allocations: 334.7 kB / 0.8568 GB, free: 15.96 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.053, allocations: 4 kB / 0.8568 GB, free: 15.96 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.053, allocations: 12.09 kB / 0.8568 GB, free: 15.95 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/1.053, allocations: 20 kB / 0.8568 GB, free: 15.93 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/1.054, allocations: 99.33 kB / 0.8569 GB, free: 15.84 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.054, allocations: 27.83 kB / 0.857 GB, free: 15.81 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/1.054, allocations: 31.69 kB / 0.857 GB, free: 15.78 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.054, allocations: 31.36 kB / 0.857 GB, free: 15.75 MB / 498.8 MB 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 8.513e-05/1.054, allocations: 50.42 kB / 0.8571 GB, free: 15.7 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/1.054, allocations: 23.81 kB / 0.8571 GB, free: 15.68 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/1.054, allocations: 16.3 kB / 0.8571 GB, free: 15.66 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.054, allocations: 7.906 kB / 0.8571 GB, free: 15.66 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.054, allocations: 0 / 0.8571 GB, free: 15.66 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.054, allocations: 4 kB / 0.8571 GB, free: 15.65 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/1.055, allocations: 192.4 kB / 0.8573 GB, free: 15.44 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.055, allocations: 0 / 0.8573 GB, free: 15.44 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/1.055, allocations: 0 / 0.8573 GB, free: 15.44 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.055, allocations: 0 / 0.8573 GB, free: 15.44 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.055, allocations: 0 / 0.8573 GB, free: 15.44 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.055, allocations: 7.984 kB / 0.8573 GB, free: 15.43 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.055, allocations: 0 / 0.8573 GB, free: 15.43 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/1.055, allocations: 150.9 kB / 0.8575 GB, free: 15.27 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/1.055, allocations: 116 kB / 0.8576 GB, free: 15.15 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/1.055, allocations: 11.83 kB / 0.8576 GB, free: 15.14 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.055, allocations: 4 kB / 0.8576 GB, free: 15.13 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/1.055, allocations: 0 / 0.8576 GB, free: 15.13 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/1.055, allocations: 4 kB / 0.8576 GB, free: 15.13 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.000126/1.056, allocations: 144.2 kB / 0.8577 GB, free: 15 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.000624/1.056, allocations: 95.55 kB / 0.8578 GB, free: 14.91 MB / 498.8 MB 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.0002616/1.056, allocations: 154.3 kB / 0.858 GB, free: 14.76 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.0003053/1.057, allocations: 133.7 kB / 0.8581 GB, free: 14.64 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.057, allocations: 3.938 kB / 0.8581 GB, free: 14.64 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/1.057, allocations: 8.125 kB / 0.8581 GB, free: 14.63 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/1.057, allocations: 15.91 kB / 0.8581 GB, free: 14.62 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.071, allocations: 4.128 MB / 0.8622 GB, free: 11.13 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.071, allocations: 0.7513 MB / 0.8629 GB, free: 10.35 MB / 498.8 MB Notification: Performance of SimCode: time 8.91e-07/1.071, allocations: 0 / 0.8629 GB, free: 10.35 MB / 498.8 MB Notification: Performance of Templates: time 0.006748/1.078, allocations: 3.15 MB / 0.866 GB, free: 7.203 MB / 498.8 MB 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/jenkins/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