Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001806/0.001806, allocations: 199.5 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.0008992, allocations: 100 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.623e-06, allocations: 0 / 343.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 51.47 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/0.7919, allocations: 273.7 MB / 0.6526 GB, free: 81.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.7923, allocations: 64.22 kB / 0.6527 GB, free: 81.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.0202/0.8125, allocations: 9.373 MB / 0.6618 GB, free: 74.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.8125, allocations: 0 / 0.6618 GB, free: 74.32 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.0007343/0.8133, allocations: 465.1 kB / 0.6623 GB, free: 73.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8133, allocations: 12.03 kB / 0.6623 GB, free: 73.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.8135, allocations: 21.58 kB / 0.6623 GB, free: 73.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.8137, allocations: 206.7 kB / 0.6625 GB, free: 73.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.8137, allocations: 7.828 kB / 0.6625 GB, free: 73.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.8138, allocations: 8 kB / 0.6625 GB, free: 73.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002139/0.814, allocations: 110.9 kB / 0.6626 GB, free: 73.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.8142, allocations: 182.7 kB / 0.6628 GB, free: 73.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.8143, allocations: 7.812 kB / 0.6628 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.8143, allocations: 0 / 0.6628 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8143, allocations: 4 kB / 0.6628 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.8153, allocations: 0.9023 MB / 0.6637 GB, free: 72.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.8156, allocations: 125.6 kB / 0.6638 GB, free: 72.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.8156, allocations: 40.98 kB / 0.6639 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.8161, allocations: 0.5023 MB / 0.6644 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8161, allocations: 38.47 kB / 0.6644 GB, free: 71.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.8161, allocations: 4.844 kB / 0.6644 GB, free: 71.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001785/0.8179, allocations: 0.5906 MB / 0.665 GB, free: 71.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.8179, allocations: 55.39 kB / 0.665 GB, free: 71.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.818, allocations: 131 kB / 0.6652 GB, free: 70.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8181, allocations: 29.7 kB / 0.6652 GB, free: 70.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.8181, allocations: 143.4 kB / 0.6653 GB, free: 70.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.8182, allocations: 66.58 kB / 0.6654 GB, free: 70.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.8182, allocations: 0 / 0.6654 GB, free: 70.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.8182, allocations: 330.6 kB / 0.6657 GB, free: 70.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.8183, allocations: 57.22 kB / 0.6658 GB, free: 70.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.8185, allocations: 175.2 kB / 0.6659 GB, free: 70.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.8186, allocations: 77.47 kB / 0.666 GB, free: 70.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8186, allocations: 3.938 kB / 0.666 GB, free: 70.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003813/0.819, allocations: 253.8 kB / 0.6662 GB, free: 69.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.819, allocations: 4 kB / 0.6662 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.819, allocations: 5.375 kB / 0.6662 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.8191, allocations: 8 kB / 0.6663 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.8194, allocations: 83.69 kB / 0.6663 GB, free: 69.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.8195, allocations: 4 kB / 0.6663 GB, free: 69.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.8197, allocations: 19.89 kB / 0.6664 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.8197, allocations: 15.88 kB / 0.6664 GB, free: 69.76 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 7.139e-05/0.8198, allocations: 116.8 kB / 0.6665 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.8199, allocations: 15.81 kB / 0.6665 GB, free: 69.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.8203, allocations: 196.9 kB / 0.6667 GB, free: 69.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8203, allocations: 7.984 kB / 0.6667 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8204, allocations: 0 / 0.6667 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8204, allocations: 0 / 0.6667 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.8213, allocations: 0.5216 MB / 0.6672 GB, free: 68.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8213, allocations: 1.688 kB / 0.6672 GB, free: 68.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.8216, allocations: 55.7 kB / 0.6673 GB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.8216, allocations: 8.125 kB / 0.6673 GB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.8216, allocations: 4 kB / 0.6673 GB, free: 68.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8216, allocations: 0 / 0.6673 GB, free: 68.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8216, allocations: 3.359 kB / 0.6673 GB, free: 68.88 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003963/0.822, allocations: 393 kB / 0.6676 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.8221, allocations: 92.91 kB / 0.6677 GB, free: 68.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.8221, allocations: 4 kB / 0.6677 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.8224, allocations: 9.297 kB / 0.6677 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.8224, allocations: 23.39 kB / 0.6678 GB, free: 68.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.8225, allocations: 8 kB / 0.6678 GB, free: 68.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.373e-05/0.8225, allocations: 102.1 kB / 0.6679 GB, free: 68.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.8229, allocations: 52 kB / 0.6679 GB, free: 68.22 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.0001934/0.8231, allocations: 144.7 kB / 0.6681 GB, free: 68.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.8233, allocations: 168.1 kB / 0.6682 GB, free: 67.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8233, allocations: 7.938 kB / 0.6682 GB, free: 67.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.8234, allocations: 76.92 kB / 0.6683 GB, free: 67.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.8238, allocations: 28.44 kB / 0.6683 GB, free: 67.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.8245, allocations: 283.6 kB / 0.6686 GB, free: 67.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.8247, allocations: 0.743 MB / 0.6693 GB, free: 66.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8247, allocations: 8 kB / 0.6693 GB, free: 66.82 MB / 442.7 MB Notification: Performance of Templates: time 0.005855/0.8306, allocations: 3.013 MB / 0.6723 GB, free: 63.87 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches