Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_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 4.0.0+maint.om/package.mo): time 0.000975/0.0009751, allocations: 184 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 107.1 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.863e-06, allocations: 0 / 336.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.7015, allocations: 272.9 MB / 0.6443 GB, free: 11.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.7018, allocations: 66.78 kB / 0.6444 GB, free: 11.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.02286/0.7247, allocations: 9.312 MB / 0.6535 GB, free: 3.676 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.7247, allocations: 0 / 0.6535 GB, free: 3.676 MB / 442.7 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.0008307/0.7256, allocations: 459 kB / 0.6539 GB, free: 3.191 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7256, allocations: 12.03 kB / 0.6539 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.7258, allocations: 23.8 kB / 0.6539 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.7261, allocations: 208.4 kB / 0.6541 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7261, allocations: 4.656 kB / 0.6541 GB, free: 2.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.7261, allocations: 8 kB / 0.6542 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002547/0.7264, allocations: 112.5 kB / 0.6543 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.7267, allocations: 181.3 kB / 0.6544 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.7267, allocations: 3.906 kB / 0.6544 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.7267, allocations: 3.938 kB / 0.6544 GB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.7267, allocations: 4 kB / 0.6544 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.728, allocations: 0.9135 MB / 0.6553 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.7283, allocations: 121.5 kB / 0.6555 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.7284, allocations: 38.8 kB / 0.6555 GB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.7289, allocations: 0.5122 MB / 0.656 GB, free: 1.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.729, allocations: 41.94 kB / 0.656 GB, free: 1.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.729, allocations: 0 / 0.656 GB, free: 1.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001915/0.7309, allocations: 0.5995 MB / 0.6566 GB, free: 464 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.7309, allocations: 51.41 kB / 0.6567 GB, free: 400 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7311, allocations: 135.3 kB / 0.6568 GB, free: 268 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.7311, allocations: 29.7 kB / 0.6568 GB, free: 232 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.7312, allocations: 138 kB / 0.657 GB, free: 96 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.7312, allocations: 77.75 kB / 0.657 GB, free: 28 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.7313, allocations: 4 kB / 0.657 GB, free: 24 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.1532/0.8845, allocations: 322.2 kB / 0.6573 GB, free: 204.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.8847, allocations: 56.53 kB / 0.6574 GB, free: 204.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.8848, allocations: 170.2 kB / 0.6576 GB, free: 204.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.8851, allocations: 80.47 kB / 0.6576 GB, free: 204.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8851, allocations: 3.594 kB / 0.6576 GB, free: 204.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004315/0.8855, allocations: 251.1 kB / 0.6579 GB, free: 204.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8856, allocations: 3.812 kB / 0.6579 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8856, allocations: 7.797 kB / 0.6579 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.8856, allocations: 7.719 kB / 0.6579 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.886, allocations: 83 kB / 0.658 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8861, allocations: 11.67 kB / 0.658 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.8863, allocations: 18.8 kB / 0.658 GB, free: 204.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.8864, allocations: 17.75 kB / 0.658 GB, free: 204.5 MB / 442.7 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 9.195e-05/0.8865, allocations: 106.7 kB / 0.6581 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.8865, allocations: 18.25 kB / 0.6581 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.887, allocations: 194.9 kB / 0.6583 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.887, allocations: 6.156 kB / 0.6583 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.887, allocations: 0 / 0.6583 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.887, allocations: 3.562 kB / 0.6583 GB, free: 204.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.888, allocations: 0.513 MB / 0.6588 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.888, allocations: 3.188 kB / 0.6588 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.8883, allocations: 50.67 kB / 0.6589 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.8883, allocations: 10.64 kB / 0.6589 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8883, allocations: 0 / 0.6589 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.8883, allocations: 4.625 kB / 0.6589 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8884, allocations: 0 / 0.6589 GB, free: 204.1 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004131/0.8888, allocations: 389.6 kB / 0.6593 GB, free: 203.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.8888, allocations: 91.61 kB / 0.6594 GB, free: 203.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.8889, allocations: 3.328 kB / 0.6594 GB, free: 203.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.8891, allocations: 14.59 kB / 0.6594 GB, free: 203.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.8892, allocations: 17.91 kB / 0.6594 GB, free: 203.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.8892, allocations: 13.44 kB / 0.6594 GB, free: 203.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.965e-05/0.8892, allocations: 101.6 kB / 0.6595 GB, free: 203.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000357/0.8896, allocations: 62.47 kB / 0.6596 GB, free: 203.7 MB / 442.7 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.0002147/0.8898, allocations: 137.2 kB / 0.6597 GB, free: 203.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.8901, allocations: 176.3 kB / 0.6599 GB, free: 203.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8901, allocations: 0 / 0.6599 GB, free: 203.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.8902, allocations: 71.53 kB / 0.6599 GB, free: 203.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.8905, allocations: 29.25 kB / 0.66 GB, free: 203.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.8913, allocations: 293.5 kB / 0.6602 GB, free: 203.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.8915, allocations: 0.753 MB / 0.661 GB, free: 202.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8915, allocations: 3.625 kB / 0.661 GB, free: 202.8 MB / 442.7 MB Notification: Performance of Templates: time 0.005401/0.8969, allocations: 3.014 MB / 0.6639 GB, free: 202.7 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches