Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 111.6 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009698/0.0009698, allocations: 51.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2477, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005292/0.253, allocations: 4.49 MB / 405.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2549, allocations: 1.814 MB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.255, allocations: 4 kB / 407 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.2552, allocations: 39.69 kB / 407 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.2556, allocations: 123.2 kB / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.2562, allocations: 253.8 kB / 407.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.2565, allocations: 282.9 kB / 407.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2565, allocations: 13.12 kB / 407.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.2568, allocations: 135.6 kB / 407.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2569, allocations: 75.62 kB / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.2569, allocations: 8 kB / 407.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.2572, allocations: 103.9 kB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.2573, allocations: 27.91 kB / 408 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.2574, allocations: 83.64 kB / 408.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.2577, allocations: 208.6 kB / 408.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2577, allocations: 0 / 408.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2577, allocations: 0 / 408.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.2577, allocations: 4 kB / 408.3 MB, free: 1.242 MB / 318.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.0009384/0.2586, allocations: 0.4914 MB / 408.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2587, allocations: 8.031 kB / 408.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2589, allocations: 20.75 kB / 408.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2591, allocations: 208.2 kB / 409.1 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2592, allocations: 8.656 kB / 409.1 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2592, allocations: 12.38 kB / 409.1 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.2596, allocations: 217.6 kB / 409.3 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2596, allocations: 7.906 kB / 409.3 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.2597, allocations: 8 kB / 409.3 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2597, allocations: 4 kB / 409.3 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.26, allocations: 155.8 kB / 409.5 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2613, allocations: 0.944 MB / 410.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.2617, allocations: 150.7 kB / 410.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.2618, allocations: 52.83 kB / 410.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004861/0.2623, allocations: 0.4954 MB / 411.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2624, allocations: 34.56 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2624, allocations: 4 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002621/0.265, allocations: 0.7791 MB / 411.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2651, allocations: 55.41 kB / 412 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2652, allocations: 156.1 kB / 412.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.2653, allocations: 33.7 kB / 412.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.2653, allocations: 147.7 kB / 412.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.2654, allocations: 71.03 kB / 412.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.2655, allocations: 61.59 kB / 412.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2657, allocations: 326.8 kB / 412.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2659, allocations: 79.94 kB / 412.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2663, allocations: 202.4 kB / 413 MB, free: 12.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.2669, allocations: 296.2 kB / 413.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2669, allocations: 0 / 413.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007211/0.2677, allocations: 317.2 kB / 413.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2677, allocations: 8 kB / 413.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2677, allocations: 7.938 kB / 413.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2677, allocations: 4 kB / 413.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.2681, allocations: 83.89 kB / 413.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2681, allocations: 12.27 kB / 413.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2684, allocations: 12 kB / 413.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.2684, allocations: 19.98 kB / 413.8 MB, free: 11.34 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.000122/0.2685, allocations: 137.7 kB / 413.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.2686, allocations: 15.81 kB / 413.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.2693, allocations: 242.6 kB / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2693, allocations: 0 / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2693, allocations: 0 / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2693, allocations: 0 / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2706, allocations: 0.5993 MB / 414.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2706, allocations: 4 kB / 414.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2709, allocations: 51.91 kB / 414.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.271, allocations: 128 / 414.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.271, allocations: 11.98 kB / 414.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.271, allocations: 7.938 kB / 414.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.271, allocations: 0 / 414.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.2718, allocations: 399.1 kB / 415.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.2719, allocations: 92.94 kB / 415.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.272, allocations: 11.94 kB / 415.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.2722, allocations: 19.98 kB / 415.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.2722, allocations: 11.98 kB / 415.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2723, allocations: 11.98 kB / 415.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.2724, allocations: 110.6 kB / 415.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2724, allocations: 0 / 415.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.2728, allocations: 60 kB / 415.5 MB, free: 9.445 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.0002254/0.273, allocations: 147 kB / 415.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.2736, allocations: 218.8 kB / 415.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2736, allocations: 0 / 415.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.2739, allocations: 95.81 kB / 416 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2743, allocations: 39.91 kB / 416 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2754, allocations: 479.7 kB / 416.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.2757, allocations: 0.7168 MB / 417.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.2759, allocations: 45.92 kB / 417.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.276, allocations: 27.42 kB / 417.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.276, allocations: 0 / 417.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of Templates: time 0.005884/0.2819, allocations: 2.709 MB / 420 MB, free: 4.93 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches