Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 186.3 kB / 7.808 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 0.9722/0.9722, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008161/0.0008161, allocations: 93.42 kB / 261.4 MB, free: 13.62 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.1503/0.1503, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.069e-06/5.089e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1968, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.7304, allocations: 374.4 MB / 0.831 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001533/0.7306, allocations: 79.28 kB / 0.8311 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.03934/0.7699, allocations: 18.54 MB / 0.8492 GB, free: 185.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.77, allocations: 3.156 kB / 0.8492 GB, free: 185.3 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.0007909/0.7708, allocations: 0.5661 MB / 0.8498 GB, free: 184.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.7708, allocations: 8.5 kB / 0.8498 GB, free: 184.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.771, allocations: 35.25 kB / 0.8498 GB, free: 184.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.7712, allocations: 226.4 kB / 0.85 GB, free: 184.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.7712, allocations: 114.3 kB / 0.8501 GB, free: 184.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.7713, allocations: 12.12 kB / 0.8501 GB, free: 184.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006489/0.7719, allocations: 0.7154 MB / 0.8508 GB, free: 184.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.7722, allocations: 284.1 kB / 0.8511 GB, free: 183.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7722, allocations: 7.906 kB / 0.8511 GB, free: 183.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.7723, allocations: 1.094 kB / 0.8511 GB, free: 183.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.7723, allocations: 11.14 kB / 0.8511 GB, free: 183.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.7743, allocations: 3.497 MB / 0.8545 GB, free: 180.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.7743, allocations: 50 kB / 0.8546 GB, free: 180 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.7744, allocations: 17.45 kB / 0.8546 GB, free: 180 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.7748, allocations: 447 kB / 0.855 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.7748, allocations: 31.56 kB / 0.8551 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7748, allocations: 0 / 0.8551 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.7749, allocations: 57.36 kB / 0.8551 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.188e-05/0.7749, allocations: 51.41 kB / 0.8552 GB, free: 179.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.7751, allocations: 219.4 kB / 0.8554 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.7751, allocations: 30.77 kB / 0.8554 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.7752, allocations: 247.6 kB / 0.8556 GB, free: 179 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.7752, allocations: 12.56 kB / 0.8557 GB, free: 179 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.7752, allocations: 0 / 0.8557 GB, free: 179 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.7752, allocations: 330.4 kB / 0.856 GB, free: 178.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.7753, allocations: 32.31 kB / 0.856 GB, free: 178.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.7754, allocations: 333.2 kB / 0.8563 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.7757, allocations: 128.6 kB / 0.8564 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.7757, allocations: 3.031 kB / 0.8565 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005889/0.7763, allocations: 330.3 kB / 0.8568 GB, free: 178 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.7764, allocations: 6.344 kB / 0.8568 GB, free: 178 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7764, allocations: 11.16 kB / 0.8568 GB, free: 178 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7764, allocations: 19.88 kB / 0.8568 GB, free: 178 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.7766, allocations: 101.9 kB / 0.8569 GB, free: 178 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7767, allocations: 21.58 kB / 0.8569 GB, free: 178 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.7769, allocations: 55.78 kB / 0.857 GB, free: 177.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.777, allocations: 29.06 kB / 0.857 GB, free: 177.9 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.563e-05/0.777, allocations: 127.9 kB / 0.8571 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.7771, allocations: 24.59 kB / 0.8571 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.7771, allocations: 18.48 kB / 0.8572 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.7771, allocations: 5.219 kB / 0.8572 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7771, allocations: 0 / 0.8572 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7771, allocations: 1.219 kB / 0.8572 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7773, allocations: 174.5 kB / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7773, allocations: 0 / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.7773, allocations: 1.156 kB / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.7773, allocations: 0 / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.7773, allocations: 1.125 kB / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7773, allocations: 3.906 kB / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7773, allocations: 0 / 0.8573 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.493e-05/0.7774, allocations: 153.2 kB / 0.8575 GB, free: 177.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.7774, allocations: 111.5 kB / 0.8576 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.7775, allocations: 1.188 kB / 0.8576 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7776, allocations: 1.188 kB / 0.8576 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.7776, allocations: 5.25 kB / 0.8576 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.7776, allocations: 5.016 kB / 0.8576 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.749e-05/0.7777, allocations: 146.4 kB / 0.8577 GB, free: 177.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004446/0.7782, allocations: 94.5 kB / 0.8578 GB, free: 177.2 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.0001669/0.7784, allocations: 147.7 kB / 0.858 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.7786, allocations: 133.9 kB / 0.8581 GB, free: 177 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7786, allocations: 0 / 0.8581 GB, free: 177 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.7786, allocations: 7.203 kB / 0.8581 GB, free: 177 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.7788, allocations: 26.53 kB / 0.8581 GB, free: 177 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.7864, allocations: 4.092 MB / 0.8621 GB, free: 174.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.7866, allocations: 0.757 MB / 0.8629 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.7866, allocations: 0 / 0.8629 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.004387/0.791, allocations: 2.562 MB / 0.8654 GB, free: 171.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches