Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009721/0.0009721, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007968/0.0007967, allocations: 99.77 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002236/0.0002237, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1945, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09364/0.2882, allocations: 84.15 MB / 493.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.2884, allocations: 81 kB / 493.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04082/0.3292, allocations: 15.73 MB / 0.4974 GB, free: 6.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3293, allocations: 0 / 0.4974 GB, free: 6.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.3293, allocations: 12 kB / 0.4974 GB, free: 6.551 MB / 378.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.002226/0.3316, allocations: 1.089 MB / 0.4985 GB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3316, allocations: 12.03 kB / 0.4985 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.3319, allocations: 103 kB / 0.4986 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.3327, allocations: 474.6 kB / 0.4991 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3329, allocations: 104.7 kB / 0.4992 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.333, allocations: 52 kB / 0.4992 GB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.3344, allocations: 0.8043 MB / 0.5 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3345, allocations: 4 kB / 0.5 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.3345, allocations: 24 kB / 0.5 GB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3346, allocations: 15.94 kB / 0.5 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3359, allocations: 0.5504 MB / 0.5006 GB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.3392, allocations: 2.036 MB / 0.5026 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3407, allocations: 0.6198 MB / 0.5032 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3408, allocations: 20.92 kB / 0.5032 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1547/0.4955, allocations: 350.3 kB / 0.5035 GB, free: 90.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 4.688e-06/0.4955, allocations: 0 / 0.5035 GB, free: 90.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.005855/0.5014, allocations: 1.675 MB / 0.5052 GB, free: 89.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.5016, allocations: 0.8216 MB / 0.506 GB, free: 88.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.5024, allocations: 0.5181 MB / 0.5065 GB, free: 88.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.5025, allocations: 44.48 kB / 0.5065 GB, free: 88.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.5028, allocations: 327.8 kB / 0.5068 GB, free: 88.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.503, allocations: 196.6 kB / 0.507 GB, free: 88.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.503, allocations: 12.09 kB / 0.507 GB, free: 88.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5031, allocations: 385.2 kB / 0.5074 GB, free: 88.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.5037, allocations: 236 kB / 0.5076 GB, free: 88.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.5045, allocations: 0.5398 MB / 0.5081 GB, free: 87.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.5051, allocations: 335.4 kB / 0.5085 GB, free: 87.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5051, allocations: 1.375 kB / 0.5085 GB, free: 87.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002302/0.5074, allocations: 0.9818 MB / 0.5094 GB, free: 87.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5075, allocations: 58.44 kB / 0.5095 GB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5075, allocations: 2.531 kB / 0.5095 GB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.5082, allocations: 223.8 kB / 0.5097 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.509, allocations: 125.9 kB / 0.5098 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.5141, allocations: 4.348 MB / 0.5141 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.5147, allocations: 97.86 kB / 0.5142 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.5148, allocations: 26.38 kB / 0.5142 GB, free: 85 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.000274/0.5151, allocations: 208.5 kB / 0.5144 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5152, allocations: 86.56 kB / 0.5145 GB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.5153, allocations: 80.03 kB / 0.5145 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5153, allocations: 10.25 kB / 0.5145 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5154, allocations: 0.875 kB / 0.5145 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.5171, allocations: 1.125 MB / 0.5156 GB, free: 84.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.5194, allocations: 1.622 MB / 0.5172 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5195, allocations: 0 / 0.5172 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.52, allocations: 124 kB / 0.5174 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.5205, allocations: 181 kB / 0.5175 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.5205, allocations: 18.97 kB / 0.5175 GB, free: 83.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/0.5241, allocations: 3.715 MB / 0.5212 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5241, allocations: 0 / 0.5212 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.526, allocations: 1.117 MB / 0.5223 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5263, allocations: 220.2 kB / 0.5225 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.5264, allocations: 19.17 kB / 0.5225 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.5268, allocations: 53.23 kB / 0.5225 GB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5269, allocations: 52.77 kB / 0.5226 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.527, allocations: 15.09 kB / 0.5226 GB, free: 79.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.5273, allocations: 416.4 kB / 0.523 GB, free: 79.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5273, allocations: 0 / 0.523 GB, free: 79.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006691/0.528, allocations: 268.3 kB / 0.5233 GB, free: 79.23 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.0001765/0.5282, allocations: 134.8 kB / 0.5234 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.5299, allocations: 1.068 MB / 0.5244 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5299, allocations: 7.5 kB / 0.5244 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.5307, allocations: 0.5746 MB / 0.525 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.5313, allocations: 193.7 kB / 0.5252 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.5334, allocations: 1.566 MB / 0.5267 GB, free: 77.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5337, allocations: 0.9356 MB / 0.5276 GB, free: 76.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.5341, allocations: 76.47 kB / 0.5277 GB, free: 76.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5342, allocations: 54.27 kB / 0.5277 GB, free: 76.49 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.5342, allocations: 0 / 0.5277 GB, free: 76.49 MB / 378.7 MB Notification: Performance of Templates: time 0.01848/0.5527, allocations: 14.48 MB / 0.5419 GB, free: 65.17 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches