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.001104/0.001104, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 50.53 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006763/0.2606, allocations: 4.548 MB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2629, allocations: 1.814 MB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.263, allocations: 0 / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.2633, allocations: 47.67 kB / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2637, allocations: 119.2 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.2645, allocations: 254.6 kB / 416 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.2649, allocations: 286.9 kB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.265, allocations: 21.06 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.2653, allocations: 135.5 kB / 416.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2655, allocations: 75.75 kB / 416.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.2655, allocations: 8 kB / 416.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.2658, allocations: 103.9 kB / 416.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.2659, allocations: 39.83 kB / 416.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.266, allocations: 79.7 kB / 416.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.2664, allocations: 227.2 kB / 417 MB, free: 9.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2664, allocations: 4 kB / 417 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2664, allocations: 0 / 417 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2664, allocations: 0 / 417 MB, free: 9.816 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.0009466/0.2674, allocations: 494.9 kB / 417.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2674, allocations: 16.03 kB / 417.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.2676, allocations: 20.88 kB / 417.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2679, allocations: 204.2 kB / 417.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2679, allocations: 12.66 kB / 417.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2679, allocations: 12.38 kB / 417.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.2684, allocations: 221.6 kB / 417.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2684, allocations: 0 / 417.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2684, allocations: 8 kB / 417.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2685, allocations: 7.938 kB / 417.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.2688, allocations: 143.8 kB / 418.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2701, allocations: 0.9519 MB / 419 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.2705, allocations: 162.6 kB / 419.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2707, allocations: 52.83 kB / 419.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.2712, allocations: 0.511 MB / 419.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2712, allocations: 30.56 kB / 419.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2713, allocations: 0 / 419.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002557/0.2738, allocations: 0.769 MB / 420.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2739, allocations: 55.41 kB / 420.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.274, allocations: 162.4 kB / 420.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.274, allocations: 29.7 kB / 420.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.2741, allocations: 140.2 kB / 420.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.2742, allocations: 79.38 kB / 421 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.2743, allocations: 57.69 kB / 421.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2744, allocations: 322.8 kB / 421.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2747, allocations: 87.94 kB / 421.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.275, allocations: 185.7 kB / 421.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.2756, allocations: 300.7 kB / 421.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2756, allocations: 0 / 421.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007312/0.2763, allocations: 321.1 kB / 422.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2764, allocations: 4 kB / 422.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2764, allocations: 4 kB / 422.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2764, allocations: 4.469 kB / 422.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.2768, allocations: 87.83 kB / 422.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2768, allocations: 7.938 kB / 422.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.277, allocations: 15.98 kB / 422.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2771, allocations: 19.98 kB / 422.4 MB, free: 3.918 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.0001177/0.2772, allocations: 133.7 kB / 422.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.2772, allocations: 19.84 kB / 422.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.2779, allocations: 250.5 kB / 422.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2779, allocations: 0 / 422.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2779, allocations: 4 kB / 422.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2779, allocations: 4 kB / 422.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2792, allocations: 0.5876 MB / 423.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2792, allocations: 4 kB / 423.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.2795, allocations: 56.02 kB / 423.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2795, allocations: 4 kB / 423.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2796, allocations: 7.984 kB / 423.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2796, allocations: 4 kB / 423.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2796, allocations: 3.938 kB / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.2804, allocations: 409.8 kB / 423.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.2805, allocations: 105 kB / 424 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2806, allocations: 8.062 kB / 424 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2808, allocations: 19.92 kB / 424 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.2809, allocations: 11.98 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.2809, allocations: 11.98 kB / 424 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.281, allocations: 108.7 kB / 424.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.281, allocations: 4 kB / 424.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.2814, allocations: 59.94 kB / 424.2 MB, free: 2.004 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.0002064/0.2816, allocations: 135.1 kB / 424.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.2822, allocations: 223.8 kB / 424.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2822, allocations: 0 / 424.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.2825, allocations: 91.81 kB / 424.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.2829, allocations: 52.33 kB / 424.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2839, allocations: 491.6 kB / 425.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2842, allocations: 0.7128 MB / 425.9 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.2844, allocations: 41.94 kB / 425.9 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.2845, allocations: 27.42 kB / 425.9 MB, free: 180 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2845, allocations: 0 / 425.9 MB, free: 180 kB / 334.1 MB Notification: Performance of Templates: time 0.005733/0.2903, allocations: 2.701 MB / 428.6 MB, free: 13.49 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches