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.001676/0.001676, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.89 kB / 358.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2453, allocations: 50.54 MB / 409.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005739/0.2511, allocations: 4.542 MB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2532, allocations: 1.818 MB / 415.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.2533, allocations: 0 / 415.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.2536, allocations: 51.66 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.254, allocations: 115.3 kB / 415.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.2547, allocations: 246.4 kB / 416 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.2551, allocations: 294.9 kB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.2551, allocations: 25.06 kB / 416.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.2554, allocations: 127.6 kB / 416.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2555, allocations: 79.69 kB / 416.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.2556, allocations: 8 kB / 416.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.2558, allocations: 95.88 kB / 416.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.2559, allocations: 43.81 kB / 416.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.256, allocations: 79.72 kB / 416.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.2564, allocations: 212.5 kB / 416.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2564, allocations: 0 / 416.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2564, allocations: 0 / 416.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2564, allocations: 0 / 416.9 MB, free: 9.895 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.00095/0.2573, allocations: 487.3 kB / 417.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2574, allocations: 12.03 kB / 417.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2576, allocations: 24.75 kB / 417.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.2579, allocations: 216 kB / 417.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2579, allocations: 12.66 kB / 417.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.2579, allocations: 12.38 kB / 417.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2584, allocations: 217.6 kB / 417.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2584, allocations: 4 kB / 417.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2584, allocations: 8 kB / 417.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2584, allocations: 4 kB / 417.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.2588, allocations: 147.8 kB / 418 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.2601, allocations: 0.944 MB / 419 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.2605, allocations: 154.8 kB / 419.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2606, allocations: 52.83 kB / 419.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.2612, allocations: 0.5148 MB / 419.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2612, allocations: 30.56 kB / 419.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.2612, allocations: 3.938 kB / 419.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002529/0.2637, allocations: 0.7686 MB / 420.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2638, allocations: 55.39 kB / 420.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2639, allocations: 161.4 kB / 420.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.264, allocations: 25.7 kB / 420.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.2641, allocations: 139.8 kB / 420.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.2641, allocations: 78.98 kB / 421 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.2642, allocations: 57.61 kB / 421 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2643, allocations: 326.8 kB / 421.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2646, allocations: 83.95 kB / 421.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2649, allocations: 193.6 kB / 421.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.2655, allocations: 289.4 kB / 421.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2655, allocations: 0 / 421.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006809/0.2662, allocations: 321 kB / 422.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2662, allocations: 10.97 kB / 422.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.2662, allocations: 4 kB / 422.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2662, allocations: 8.453 kB / 422.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.2666, allocations: 83.89 kB / 422.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2666, allocations: 11.88 kB / 422.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.2669, allocations: 15.98 kB / 422.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.2669, allocations: 16 kB / 422.4 MB, free: 4.004 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.000112/0.267, allocations: 141.6 kB / 422.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.2671, allocations: 19.75 kB / 422.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.2677, allocations: 238.7 kB / 422.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2677, allocations: 0 / 422.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2678, allocations: 7.984 kB / 422.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2678, allocations: 0 / 422.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.269, allocations: 0.5953 MB / 423.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.269, allocations: 4 kB / 423.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.2693, allocations: 52.08 kB / 423.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2693, allocations: 0 / 423.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2694, allocations: 8 kB / 423.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2694, allocations: 4 kB / 423.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-05/0.2694, allocations: 7.875 kB / 423.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.2702, allocations: 406 kB / 423.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.2703, allocations: 104.9 kB / 423.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2704, allocations: 12.06 kB / 423.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2706, allocations: 11.92 kB / 423.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.2706, allocations: 23.86 kB / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2707, allocations: 11.98 kB / 424 MB, free: 2.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.2708, allocations: 103.3 kB / 424.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2708, allocations: 0 / 424.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.2712, allocations: 67.98 kB / 424.1 MB, free: 2.086 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.00023/0.2714, allocations: 127.3 kB / 424.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.272, allocations: 223.5 kB / 424.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.272, allocations: 0 / 424.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2723, allocations: 88.75 kB / 424.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2727, allocations: 59.58 kB / 424.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2737, allocations: 488.1 kB / 425.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.274, allocations: 0.7168 MB / 425.8 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.2742, allocations: 45.88 kB / 425.9 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2743, allocations: 23.42 kB / 425.9 MB, free: 268 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2743, allocations: 0 / 425.9 MB, free: 268 kB / 334.1 MB Notification: Performance of Templates: time 0.005823/0.2801, allocations: 2.719 MB / 428.6 MB, free: 13.56 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