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.0009741/0.0009742, allocations: 200 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 245.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008154, allocations: 89.91 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3653, allocations: 84.13 MB / 493.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.3655, allocations: 75.97 kB / 493.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04001/0.4055, allocations: 15.74 MB / 0.4974 GB, free: 7.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4056, allocations: 0 / 0.4974 GB, free: 7.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.212e-05/0.4056, allocations: 19.94 kB / 0.4974 GB, free: 7.449 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.002011/0.4077, allocations: 1.073 MB / 0.4984 GB, free: 6.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4077, allocations: 8.031 kB / 0.4985 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.4079, allocations: 103.8 kB / 0.4986 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.4087, allocations: 499.3 kB / 0.499 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.4088, allocations: 109.3 kB / 0.4991 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.4089, allocations: 56.31 kB / 0.4992 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.4102, allocations: 0.801 MB / 0.5 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4103, allocations: 7.938 kB / 0.5 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.4103, allocations: 28 kB / 0.5 GB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4104, allocations: 16 kB / 0.5 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4116, allocations: 0.5465 MB / 0.5006 GB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.415, allocations: 2.04 MB / 0.5025 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.4163, allocations: 0.5799 MB / 0.5031 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.4169, allocations: 290.4 kB / 0.5034 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.417, allocations: 17.62 kB / 0.5034 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007379/0.4177, allocations: 351 kB / 0.5037 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.815e-06/0.4177, allocations: 4 kB / 0.5037 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.1592/0.577, allocations: 1.672 MB / 0.5054 GB, free: 90.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.5771, allocations: 0.8226 MB / 0.5062 GB, free: 89.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.5779, allocations: 0.5827 MB / 0.5067 GB, free: 89.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.578, allocations: 43.45 kB / 0.5068 GB, free: 89.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.5782, allocations: 327.5 kB / 0.5071 GB, free: 89.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5784, allocations: 201.1 kB / 0.5073 GB, free: 89.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5784, allocations: 9.312 kB / 0.5073 GB, free: 89.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5785, allocations: 386.5 kB / 0.5077 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.5791, allocations: 238.8 kB / 0.5079 GB, free: 89.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.5798, allocations: 0.5367 MB / 0.5084 GB, free: 88.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.581, allocations: 0.6235 MB / 0.509 GB, free: 88.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.581, allocations: 0.8438 kB / 0.509 GB, free: 88.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002229/0.5833, allocations: 0.9748 MB / 0.51 GB, free: 88.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.5833, allocations: 59.38 kB / 0.51 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5833, allocations: 3.094 kB / 0.51 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.5841, allocations: 229.7 kB / 0.5103 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.5848, allocations: 131.8 kB / 0.5104 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/0.5899, allocations: 4.247 MB / 0.5145 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.5905, allocations: 97.47 kB / 0.5146 GB, free: 85.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.5906, allocations: 28.97 kB / 0.5147 GB, free: 85.8 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.000285/0.5909, allocations: 208.3 kB / 0.5149 GB, free: 85.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.591, allocations: 81.5 kB / 0.5149 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.5911, allocations: 79.2 kB / 0.515 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.5911, allocations: 7.812 kB / 0.515 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5911, allocations: 2.438 kB / 0.515 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001804/0.5929, allocations: 1.126 MB / 0.5161 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.5952, allocations: 1.622 MB / 0.5177 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5952, allocations: 3.891 kB / 0.5177 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.5958, allocations: 122.5 kB / 0.5178 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.5963, allocations: 173.5 kB / 0.518 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.5963, allocations: 15.34 kB / 0.518 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.6001, allocations: 3.659 MB / 0.5216 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6001, allocations: 3.938 kB / 0.5216 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.6023, allocations: 1.127 MB / 0.5227 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.6026, allocations: 217.1 kB / 0.5229 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.6027, allocations: 15.88 kB / 0.5229 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.6031, allocations: 47.16 kB / 0.5229 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6033, allocations: 63.59 kB / 0.523 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.6033, allocations: 18.94 kB / 0.523 GB, free: 80.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004229/0.6037, allocations: 412.4 kB / 0.5234 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6037, allocations: 0 / 0.5234 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000767/0.6045, allocations: 264.6 kB / 0.5237 GB, free: 80.12 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.0002011/0.6047, allocations: 136.1 kB / 0.5238 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.6064, allocations: 1.074 MB / 0.5249 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6065, allocations: 3.562 kB / 0.5249 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.6072, allocations: 0.5699 MB / 0.5254 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.6081, allocations: 192.8 kB / 0.5256 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.6104, allocations: 1.572 MB / 0.5271 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6107, allocations: 0.917 MB / 0.528 GB, free: 77.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.611, allocations: 76.78 kB / 0.5281 GB, free: 77.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6111, allocations: 49.98 kB / 0.5281 GB, free: 77.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6111, allocations: 4 kB / 0.5282 GB, free: 77.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01875/0.6299, allocations: 14.8 MB / 0.5426 GB, free: 66.05 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/jenkins1/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