Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 182.5 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007832/0.0007831, allocations: 93.61 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 329.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2121, allocations: 47.58 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09125/0.3034, allocations: 84.31 MB / 461.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.3037, allocations: 75.97 kB / 461.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04285/0.3466, allocations: 15.84 MB / 477.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3467, allocations: 4 kB / 477.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.3467, allocations: 16 kB / 477.3 MB, free: 12.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002081/0.3488, allocations: 1.077 MB / 478.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3488, allocations: 11.97 kB / 478.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.3491, allocations: 95.91 kB / 478.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.3499, allocations: 0.4915 MB / 479 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.35, allocations: 109.3 kB / 479.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3502, allocations: 52.36 kB / 479.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3515, allocations: 0.8142 MB / 479.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3516, allocations: 3.938 kB / 479.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.3516, allocations: 24 kB / 480 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3517, allocations: 12 kB / 480 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3529, allocations: 0.5504 MB / 480.5 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.3565, allocations: 2.043 MB / 482.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.3578, allocations: 0.5691 MB / 483.1 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.3585, allocations: 290.4 kB / 483.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.3585, allocations: 16.78 kB / 483.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.3594, allocations: 359 kB / 483.8 MB, free: 5.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.3594, allocations: 0 / 483.8 MB, free: 5.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.005185/0.3646, allocations: 1.684 MB / 485.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003838/0.365, allocations: 0.8233 MB / 486.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.3658, allocations: 0.5784 MB / 486.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.3659, allocations: 41.7 kB / 486.9 MB, free: 1.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.3661, allocations: 340.7 kB / 487.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.3663, allocations: 197.1 kB / 487.4 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3664, allocations: 12 kB / 487.4 MB, free: 1.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3665, allocations: 374.8 kB / 487.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.3672, allocations: 245.1 kB / 488 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.368, allocations: 0.5373 MB / 488.6 MB, free: 160 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3693, allocations: 0.62 MB / 489.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3693, allocations: 4 kB / 489.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00231/0.3716, allocations: 0.9716 MB / 490.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.3717, allocations: 67.33 kB / 490.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3717, allocations: 0 / 490.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/0.3724, allocations: 229.5 kB / 490.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.3731, allocations: 123.8 kB / 490.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.3792, allocations: 4.26 MB / 494.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.3799, allocations: 91.41 kB / 494.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.38, allocations: 23.98 kB / 495 MB, free: 9.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.3803, allocations: 213.7 kB / 495.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3805, allocations: 83.09 kB / 495.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.3806, allocations: 82.84 kB / 495.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3807, allocations: 4 kB / 495.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3807, allocations: 0 / 495.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002176/0.3828, allocations: 1.128 MB / 496.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.3857, allocations: 1.619 MB / 498.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3857, allocations: 3.938 kB / 498.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.3864, allocations: 123.8 kB / 498.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.3869, allocations: 165.6 kB / 498.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.387, allocations: 19.98 kB / 498.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.3915, allocations: 3.655 MB / 0.4903 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3915, allocations: 0 / 0.4903 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.3942, allocations: 1.125 MB / 0.4914 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.3946, allocations: 216.3 kB / 0.4916 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.3948, allocations: 16 kB / 0.4916 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.3953, allocations: 59.89 kB / 0.4917 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3955, allocations: 52.48 kB / 0.4917 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.3955, allocations: 19.98 kB / 0.4917 GB, free: 348 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1553/0.5508, allocations: 411.3 kB / 0.4921 GB, free: 106 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5508, allocations: 0 / 0.4921 GB, free: 106 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001428/0.5523, allocations: 262.9 kB / 0.4924 GB, free: 106 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.5525, allocations: 137 kB / 0.4925 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.5549, allocations: 1.057 MB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.5549, allocations: 2.828 kB / 0.4935 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.5558, allocations: 0.5738 MB / 0.4941 GB, free: 105.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.5567, allocations: 210.2 kB / 0.4943 GB, free: 105.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.5592, allocations: 1.563 MB / 0.4958 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.5596, allocations: 0.9184 MB / 0.4967 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.56, allocations: 76.8 kB / 0.4968 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5601, allocations: 53.89 kB / 0.4968 GB, free: 103.9 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5601, allocations: 5.125 kB / 0.4968 GB, free: 103.9 MB / 378.7 MB Notification: Performance of Templates: time 0.02066/0.5808, allocations: 14.79 MB / 0.5113 GB, free: 100.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches