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.001343/0.001342, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2561, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006379/0.2625, allocations: 4.53 MB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.2644, allocations: 1.818 MB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2644, allocations: 3.938 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.2647, allocations: 39.75 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.265, allocations: 131.2 kB / 415.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.2657, allocations: 242.6 kB / 416 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.266, allocations: 290.9 kB / 416.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.2661, allocations: 25.05 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.2663, allocations: 131.5 kB / 416.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2664, allocations: 75.69 kB / 416.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.2665, allocations: 8 kB / 416.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.2667, allocations: 95.92 kB / 416.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.2668, allocations: 43.77 kB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.2669, allocations: 83.72 kB / 416.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2672, allocations: 204.6 kB / 416.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2672, allocations: 3.984 kB / 416.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2672, allocations: 0 / 416.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2672, allocations: 0 / 416.9 MB, free: 9.855 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.0009474/0.2682, allocations: 499.3 kB / 417.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2682, allocations: 8.031 kB / 417.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.2684, allocations: 20.75 kB / 417.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.2687, allocations: 212.1 kB / 417.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2687, allocations: 8.656 kB / 417.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.2688, allocations: 16.38 kB / 417.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.2692, allocations: 217.6 kB / 417.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2692, allocations: 7.984 kB / 417.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.2692, allocations: 4 kB / 417.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2693, allocations: 4 kB / 417.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2696, allocations: 147.8 kB / 418 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2709, allocations: 0.9479 MB / 419 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.2713, allocations: 154.7 kB / 419.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2715, allocations: 60.77 kB / 419.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.272, allocations: 0.5031 MB / 419.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2721, allocations: 42.56 kB / 419.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2721, allocations: 0 / 419.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002573/0.2746, allocations: 0.763 MB / 420.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2747, allocations: 55.41 kB / 420.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2748, allocations: 157.4 kB / 420.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2749, allocations: 29.7 kB / 420.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.275, allocations: 147.8 kB / 420.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.275, allocations: 67 kB / 421 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2751, allocations: 61.61 kB / 421 MB, free: 5.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2752, allocations: 326.8 kB / 421.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2755, allocations: 83.94 kB / 421.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.2758, allocations: 189.7 kB / 421.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.2764, allocations: 298 kB / 421.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2764, allocations: 0 / 421.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006939/0.2771, allocations: 313.1 kB / 422.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2771, allocations: 8 kB / 422.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2772, allocations: 4.469 kB / 422.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2772, allocations: 8 kB / 422.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.2776, allocations: 87.81 kB / 422.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2776, allocations: 8 kB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2778, allocations: 19.92 kB / 422.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2779, allocations: 12 kB / 422.3 MB, free: 3.965 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.0001232/0.278, allocations: 137.7 kB / 422.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.2781, allocations: 19.75 kB / 422.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.2787, allocations: 248.8 kB / 422.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2787, allocations: 3.938 kB / 422.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2788, allocations: 0 / 422.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2788, allocations: 3.984 kB / 422.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.28, allocations: 0.5876 MB / 423.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2801, allocations: 4.125 kB / 423.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.2804, allocations: 59.89 kB / 423.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2804, allocations: 0 / 423.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2804, allocations: 4 kB / 423.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2804, allocations: 4 kB / 423.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2804, allocations: 3.938 kB / 423.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.2813, allocations: 407 kB / 423.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.2814, allocations: 109 kB / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.2814, allocations: 8 kB / 423.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2817, allocations: 15.92 kB / 423.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.2817, allocations: 15.92 kB / 424 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.2818, allocations: 11.98 kB / 424 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.2818, allocations: 107.3 kB / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2818, allocations: 0 / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.2822, allocations: 64 kB / 424.1 MB, free: 2.051 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.0002418/0.2825, allocations: 135.2 kB / 424.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006204/0.2831, allocations: 215.7 kB / 424.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2831, allocations: 0 / 424.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.2834, allocations: 97 kB / 424.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.2838, allocations: 59.02 kB / 424.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2848, allocations: 484.1 kB / 425.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2851, allocations: 0.7168 MB / 425.8 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.2853, allocations: 49.88 kB / 425.9 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.2854, allocations: 23.42 kB / 425.9 MB, free: 224 kB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2854, allocations: 0 / 425.9 MB, free: 224 kB / 334.1 MB Notification: Performance of Templates: time 0.005565/0.291, allocations: 2.72 MB / 428.6 MB, free: 13.52 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