Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [: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.001437/0.001437, allocations: 183.8 kB / 8.475 MB, free: 0.5391 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 214.1 MB, free: 8.488 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009283/0.0009285, allocations: 91.41 kB / 262.1 MB, free: 5.121 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.656e-06, allocations: 4 kB / 315 MB, free: 1.988 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09083, allocations: 47.56 MB / 362.5 MB, free: 2.309 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6904/0.7813, allocations: 271.9 MB / 0.6195 GB, free: 41.79 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.7816, allocations: 62.91 kB / 0.6196 GB, free: 41.76 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.02017/0.8017, allocations: 9.105 MB / 0.6285 GB, free: 34.55 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.8018, allocations: 4 kB / 0.6285 GB, free: 34.55 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007625/0.8026, allocations: 452.2 kB / 0.6289 GB, free: 34.07 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8026, allocations: 8.031 kB / 0.6289 GB, free: 34.06 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.8028, allocations: 23.83 kB / 0.6289 GB, free: 34.04 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.803, allocations: 213.4 kB / 0.6292 GB, free: 33.8 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.8031, allocations: 5.125 kB / 0.6292 GB, free: 33.8 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.8031, allocations: 8 kB / 0.6292 GB, free: 33.79 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000224/0.8033, allocations: 116.4 kB / 0.6293 GB, free: 33.71 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.8036, allocations: 183.3 kB / 0.6295 GB, free: 33.54 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8036, allocations: 3.938 kB / 0.6295 GB, free: 33.53 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.8036, allocations: 0 / 0.6295 GB, free: 33.53 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8036, allocations: 4 kB / 0.6295 GB, free: 33.53 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.8048, allocations: 0.9062 MB / 0.6303 GB, free: 32.64 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.805, allocations: 119.3 kB / 0.6305 GB, free: 32.54 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.8051, allocations: 50.78 kB / 0.6305 GB, free: 32.5 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.8056, allocations: 0.4918 MB / 0.631 GB, free: 31.97 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.8056, allocations: 42.09 kB / 0.631 GB, free: 31.92 MB / 402.8 MB Notification: Performance of pre-optimization done (n=14): time 2.455e-06/0.8056, allocations: 0 / 0.631 GB, free: 31.92 MB / 402.8 MB Notification: Performance of matching and sorting (n=20): time 0.001842/0.8075, allocations: 0.5991 MB / 0.6316 GB, free: 31.36 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.8075, allocations: 59.41 kB / 0.6317 GB, free: 31.29 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.8076, allocations: 133.3 kB / 0.6318 GB, free: 31.16 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.8076, allocations: 25.7 kB / 0.6318 GB, free: 31.12 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.8077, allocations: 143.4 kB / 0.632 GB, free: 30.99 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.8077, allocations: 66.56 kB / 0.632 GB, free: 30.93 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.8078, allocations: 0 / 0.632 GB, free: 30.93 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.8078, allocations: 326.4 kB / 0.6323 GB, free: 30.61 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.8079, allocations: 55.38 kB / 0.6324 GB, free: 30.57 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.8081, allocations: 169.3 kB / 0.6325 GB, free: 30.39 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.8083, allocations: 84.14 kB / 0.6326 GB, free: 30.33 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8083, allocations: 0 / 0.6326 GB, free: 30.33 MB / 402.8 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004433/0.8088, allocations: 247 kB / 0.6329 GB, free: 30.13 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8088, allocations: 9.406 kB / 0.6329 GB, free: 30.12 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8088, allocations: 4 kB / 0.6329 GB, free: 30.12 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8088, allocations: 4.469 kB / 0.6329 GB, free: 30.11 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.8092, allocations: 86.5 kB / 0.633 GB, free: 30.03 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8093, allocations: 11.94 kB / 0.633 GB, free: 30.02 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.8095, allocations: 15.89 kB / 0.633 GB, free: 30 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.8096, allocations: 14.31 kB / 0.633 GB, free: 29.99 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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.183e-05/0.8097, allocations: 113.1 kB / 0.6331 GB, free: 29.88 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.8097, allocations: 13.03 kB / 0.6331 GB, free: 29.87 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.8102, allocations: 206.3 kB / 0.6333 GB, free: 29.71 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.8102, allocations: 0 / 0.6333 GB, free: 29.71 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8102, allocations: 0 / 0.6333 GB, free: 29.71 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8103, allocations: 3.984 kB / 0.6333 GB, free: 29.7 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.8112, allocations: 0.5164 MB / 0.6338 GB, free: 29.19 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8113, allocations: 0 / 0.6338 GB, free: 29.19 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.8116, allocations: 59.27 kB / 0.6339 GB, free: 29.14 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8116, allocations: 0.9375 kB / 0.6339 GB, free: 29.14 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.8116, allocations: 7.984 kB / 0.6339 GB, free: 29.13 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8116, allocations: 0 / 0.6339 GB, free: 29.13 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8116, allocations: 4 kB / 0.6339 GB, free: 29.12 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004378/0.8121, allocations: 390.4 kB / 0.6343 GB, free: 28.75 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.8121, allocations: 90.11 kB / 0.6344 GB, free: 28.64 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.8122, allocations: 7.375 kB / 0.6344 GB, free: 28.64 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.8125, allocations: 11.98 kB / 0.6344 GB, free: 28.63 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.8125, allocations: 11.89 kB / 0.6344 GB, free: 28.62 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.8125, allocations: 15.23 kB / 0.6344 GB, free: 28.61 MB / 402.8 MB Notification: Performance of sort global known variables: time 5.328e-05/0.8126, allocations: 107 kB / 0.6345 GB, free: 28.51 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0004199/0.813, allocations: 67.31 kB / 0.6346 GB, free: 28.45 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002207/0.8132, allocations: 131.2 kB / 0.6347 GB, free: 28.3 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.8135, allocations: 169.7 kB / 0.6349 GB, free: 28.18 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8136, allocations: 0 / 0.6349 GB, free: 28.18 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.8137, allocations: 67.73 kB / 0.6349 GB, free: 28.13 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.814, allocations: 35.03 kB / 0.6349 GB, free: 28.11 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.8148, allocations: 291.9 kB / 0.6352 GB, free: 27.82 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.8151, allocations: 0.7497 MB / 0.636 GB, free: 27.05 MB / 402.8 MB Notification: Performance of SimCode: time 2.4e-07/0.8151, allocations: 0 / 0.636 GB, free: 27.05 MB / 402.8 MB Notification: Performance of Templates: time 0.006186/0.8213, allocations: 3.026 MB / 0.6389 GB, free: 24.07 MB / 402.8 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches