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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0021/0.0021, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002496/0.002496, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.84 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 53.41 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006547/0.2764, allocations: 4.593 MB / 437 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2787, allocations: 1.825 MB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.2787, allocations: 8 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.2791, allocations: 35.73 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.2795, allocations: 127.2 kB / 439 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.2802, allocations: 254.9 kB / 439.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.2806, allocations: 298.8 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.2807, allocations: 9.266 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.281, allocations: 135.6 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2811, allocations: 83.66 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2811, allocations: 8 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.2814, allocations: 115.8 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.2815, allocations: 35.91 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.97e-05/0.2816, allocations: 75.7 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.282, allocations: 228.5 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.282, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.282, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.282, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 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.001021/0.283, allocations: 429.8 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.283, allocations: 8.031 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2832, allocations: 20.88 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.2835, allocations: 150.3 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2836, allocations: 16.59 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2836, allocations: 12.38 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.2841, allocations: 221.9 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2841, allocations: 3.938 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2841, allocations: 8 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2841, allocations: 7.938 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.2845, allocations: 147.8 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.2859, allocations: 0.9025 MB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2863, allocations: 146.7 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2864, allocations: 48.83 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004954/0.2869, allocations: 344.1 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.287, allocations: 30.56 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.056e-06/0.287, allocations: 3.938 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002618/0.2896, allocations: 0.702 MB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.2896, allocations: 55.39 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2898, allocations: 161.4 kB / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2898, allocations: 25.7 kB / 443.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.2899, allocations: 140.1 kB / 443.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.29, allocations: 79.38 kB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.2901, allocations: 53.7 kB / 443.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2902, allocations: 326.8 kB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.2905, allocations: 91.83 kB / 444.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2908, allocations: 198 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.2914, allocations: 296.8 kB / 444.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2914, allocations: 3.938 kB / 444.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007278/0.2922, allocations: 321.1 kB / 445.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2922, allocations: 4.469 kB / 445.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2922, allocations: 8 kB / 445.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2922, allocations: 7.984 kB / 445.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2926, allocations: 79.89 kB / 445.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.2926, allocations: 7.938 kB / 445.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2928, allocations: 15.98 kB / 445.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2929, allocations: 16 kB / 445.2 MB, free: 9.535 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.293, allocations: 141.7 kB / 445.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.2931, allocations: 19.84 kB / 445.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.2938, allocations: 238.6 kB / 445.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2938, allocations: 4 kB / 445.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2938, allocations: 7.922 kB / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2938, allocations: 0 / 445.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2951, allocations: 0.5743 MB / 446.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2951, allocations: 4 kB / 446.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.2954, allocations: 47.95 kB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2954, allocations: 0 / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2955, allocations: 8 kB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.2955, allocations: 7.938 kB / 446.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2955, allocations: 3.938 kB / 446.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.2964, allocations: 415.2 kB / 446.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.2964, allocations: 27.88 kB / 446.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.2965, allocations: 4 kB / 446.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.2967, allocations: 15.92 kB / 446.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.2968, allocations: 19.92 kB / 446.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2968, allocations: 7.984 kB / 446.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.2969, allocations: 112.1 kB / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2969, allocations: 8 kB / 446.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.2973, allocations: 63.94 kB / 446.9 MB, free: 7.727 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.2975, allocations: 119.2 kB / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.2982, allocations: 221.4 kB / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2982, allocations: 0 / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.2985, allocations: 84.94 kB / 447.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.2989, allocations: 59.81 kB / 447.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3002, allocations: 0.499 MB / 447.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3006, allocations: 0.7129 MB / 448.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3007, allocations: 31.41 kB / 448.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3007, allocations: 0 / 448.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.005077/0.3058, allocations: 2.637 MB / 451.3 MB, free: 3.297 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3332130999770015]