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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2593, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005749/0.2651, allocations: 4.531 MB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2671, allocations: 1.822 MB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.2672, allocations: 4 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.2675, allocations: 39.69 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.2679, allocations: 127.2 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.2686, allocations: 250.6 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.269, allocations: 286.9 kB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.2691, allocations: 21.06 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.2694, allocations: 135.6 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2695, allocations: 75.67 kB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2696, allocations: 12 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.2698, allocations: 95.88 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.2699, allocations: 43.83 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.27, allocations: 75.72 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2703, allocations: 208.5 kB / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2704, allocations: 4 kB / 417.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2704, allocations: 0 / 417.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2704, allocations: 0 / 417.6 MB, free: 9.836 MB / 334.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.0009872/0.2714, allocations: 491.3 kB / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2714, allocations: 12.03 kB / 418.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.2716, allocations: 24.73 kB / 418.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.2719, allocations: 212 kB / 418.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2719, allocations: 12.66 kB / 418.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.272, allocations: 12.38 kB / 418.4 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.2724, allocations: 221.6 kB / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2724, allocations: 0 / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.2725, allocations: 8 kB / 418.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2725, allocations: 4 kB / 418.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.2728, allocations: 147.8 kB / 418.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2742, allocations: 0.9441 MB / 419.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.2746, allocations: 154.7 kB / 419.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2747, allocations: 52.83 kB / 419.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/0.2753, allocations: 0.5109 MB / 420.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2753, allocations: 42.44 kB / 420.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2753, allocations: 0 / 420.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002638/0.278, allocations: 0.7693 MB / 421.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.278, allocations: 55.41 kB / 421.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2782, allocations: 153.6 kB / 421.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2782, allocations: 33.7 kB / 421.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.2783, allocations: 139.8 kB / 421.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.2783, allocations: 67 kB / 421.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.2784, allocations: 61.59 kB / 421.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2786, allocations: 326.8 kB / 422 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.2788, allocations: 83.94 kB / 422.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.2792, allocations: 197.6 kB / 422.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.2798, allocations: 292.4 kB / 422.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2798, allocations: 4 kB / 422.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007383/0.2805, allocations: 317 kB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2806, allocations: 7.438 kB / 422.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2806, allocations: 8 kB / 422.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2806, allocations: 8 kB / 422.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.281, allocations: 83.83 kB / 423 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.281, allocations: 4 kB / 423 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.2813, allocations: 15.98 kB / 423 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.2813, allocations: 12 kB / 423 MB, free: 3.953 MB / 334.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.0001347/0.2814, allocations: 153.6 kB / 423.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.2815, allocations: 23.75 kB / 423.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.2822, allocations: 230.7 kB / 423.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2822, allocations: 7.984 kB / 423.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2822, allocations: 0 / 423.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2822, allocations: 3.938 kB / 423.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2836, allocations: 0.5989 MB / 424 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2836, allocations: 3.938 kB / 424 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.2839, allocations: 51.95 kB / 424.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.2839, allocations: 4 kB / 424.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.284, allocations: 7.984 kB / 424.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.284, allocations: 0 / 424.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.284, allocations: 3.938 kB / 424.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.2849, allocations: 407.1 kB / 424.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.285, allocations: 104.9 kB / 424.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.285, allocations: 8 kB / 424.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2853, allocations: 19.92 kB / 424.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.2853, allocations: 11.92 kB / 424.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.2854, allocations: 11.98 kB / 424.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.2855, allocations: 119.2 kB / 424.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2855, allocations: 4.062 kB / 424.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.2859, allocations: 64 kB / 424.8 MB, free: 2.016 MB / 334.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.0002568/0.2862, allocations: 123.2 kB / 425 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.2868, allocations: 221.4 kB / 425.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.2868, allocations: 4 kB / 425.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.2871, allocations: 93.02 kB / 425.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.2876, allocations: 47.7 kB / 425.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2887, allocations: 0.5018 MB / 425.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.289, allocations: 0.7128 MB / 426.5 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2891, allocations: 27.42 kB / 426.6 MB, free: 220 kB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2891, allocations: 4 kB / 426.6 MB, free: 216 kB / 334.1 MB Notification: Performance of Templates: time 0.005125/0.2942, allocations: 2.661 MB / 429.2 MB, free: 13.55 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches