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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008918/0.0008918, allocations: 105 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002102/0.0002103, allocations: 4 kB / 357.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1912, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5972, allocations: 274.5 MB / 0.6679 GB, free: 5.984 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.5974, allocations: 66.34 kB / 0.6679 GB, free: 5.953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.187/0.7844, allocations: 9.715 MB / 0.6774 GB, free: 178.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.7845, allocations: 0 / 0.6774 GB, free: 178.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.7845, allocations: 4.938 kB / 0.6774 GB, free: 178.2 MB / 458.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.0007373/0.7852, allocations: 464.6 kB / 0.6779 GB, free: 177.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7853, allocations: 9.156 kB / 0.6779 GB, free: 177.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.7855, allocations: 22.88 kB / 0.6779 GB, free: 177.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.7857, allocations: 209 kB / 0.6781 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.7857, allocations: 12.06 kB / 0.6781 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.7857, allocations: 16.89 kB / 0.6781 GB, free: 177.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.7861, allocations: 215 kB / 0.6783 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7861, allocations: 8.141 kB / 0.6783 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.7862, allocations: 5.625 kB / 0.6783 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7862, allocations: 3.906 kB / 0.6783 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.7865, allocations: 150 kB / 0.6785 GB, free: 177.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.7876, allocations: 0.9393 MB / 0.6794 GB, free: 176.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.7879, allocations: 145.8 kB / 0.6795 GB, free: 176.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.7883, allocations: 0.5019 MB / 0.68 GB, free: 176.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7884, allocations: 31.88 kB / 0.6801 GB, free: 176.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.7884, allocations: 4 kB / 0.6801 GB, free: 176.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002337/0.7907, allocations: 0.7559 MB / 0.6808 GB, free: 175.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.7908, allocations: 58.27 kB / 0.6809 GB, free: 175.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7909, allocations: 144.3 kB / 0.681 GB, free: 175.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.7909, allocations: 29.86 kB / 0.681 GB, free: 175.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.791, allocations: 141.8 kB / 0.6812 GB, free: 175.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.791, allocations: 74.17 kB / 0.6812 GB, free: 175.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.791, allocations: 10.31 kB / 0.6812 GB, free: 175.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.7911, allocations: 324.4 kB / 0.6815 GB, free: 175.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.7913, allocations: 79.28 kB / 0.6816 GB, free: 175.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.7916, allocations: 185.6 kB / 0.6818 GB, free: 175.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.7919, allocations: 103.2 kB / 0.6819 GB, free: 175.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7919, allocations: 5.125 kB / 0.6819 GB, free: 175.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006978/0.7926, allocations: 326 kB / 0.6822 GB, free: 175 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7926, allocations: 9.094 kB / 0.6822 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.7926, allocations: 3.812 kB / 0.6822 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7927, allocations: 6 kB / 0.6822 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.7931, allocations: 75.42 kB / 0.6823 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.7931, allocations: 13.33 kB / 0.6823 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.7933, allocations: 18.58 kB / 0.6823 GB, free: 175 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.7934, allocations: 22.45 kB / 0.6824 GB, free: 175 MB / 458.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 () * Number of clocked 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 0.000126/0.7936, allocations: 132.3 kB / 0.6825 GB, free: 174.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.7936, allocations: 19.28 kB / 0.6825 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.7943, allocations: 238.7 kB / 0.6827 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7943, allocations: 6.5 kB / 0.6827 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7943, allocations: 3.938 kB / 0.6827 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7943, allocations: 3.797 kB / 0.6827 GB, free: 174.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.7955, allocations: 0.5948 MB / 0.6833 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7955, allocations: 1.375 kB / 0.6833 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.7958, allocations: 53.09 kB / 0.6834 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.7958, allocations: 2.75 kB / 0.6834 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.7959, allocations: 8.641 kB / 0.6834 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7959, allocations: 10.81 kB / 0.6834 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7959, allocations: 1.375 kB / 0.6834 GB, free: 174.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.7967, allocations: 446.1 kB / 0.6838 GB, free: 174.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.7967, allocations: 85.14 kB / 0.6839 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.7968, allocations: 11.88 kB / 0.6839 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.797, allocations: 18.75 kB / 0.6839 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.797, allocations: 22.2 kB / 0.684 GB, free: 174.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.7971, allocations: 6.875 kB / 0.684 GB, free: 174.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.7971, allocations: 109 kB / 0.6841 GB, free: 174 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7971, allocations: 0 / 0.6841 GB, free: 174 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.7976, allocations: 59.94 kB / 0.6841 GB, free: 174 MB / 458.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 () * Number of clocked 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.0002124/0.7978, allocations: 157.2 kB / 0.6843 GB, free: 173.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004878/0.7983, allocations: 212 kB / 0.6845 GB, free: 173.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7983, allocations: 3.844 kB / 0.6845 GB, free: 173.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.7985, allocations: 89.97 kB / 0.6846 GB, free: 173.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.7988, allocations: 40.92 kB / 0.6846 GB, free: 173.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.7996, allocations: 0.5561 MB / 0.6851 GB, free: 173.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.7997, allocations: 0.7193 MB / 0.6859 GB, free: 172.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.8, allocations: 45.47 kB / 0.6859 GB, free: 172.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.8001, allocations: 24.92 kB / 0.6859 GB, free: 172.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.8001, allocations: 0 / 0.6859 GB, free: 172.8 MB / 458.7 MB Notification: Performance of Templates: time 0.00481/0.8049, allocations: 2.736 MB / 0.6886 GB, free: 172.6 MB / 458.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