Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 200.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007869/0.0007867, allocations: 103.3 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002569, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09741/0.3154, allocations: 83.49 MB / 492.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.3157, allocations: 79.95 kB / 492.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03756/0.3533, allocations: 13.96 MB / 0.495 GB, free: 9.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3533, allocations: 4 kB / 0.495 GB, free: 9.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.279e-05/0.3534, allocations: 16 kB / 0.495 GB, free: 9.875 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002053/0.3554, allocations: 0.9967 MB / 0.496 GB, free: 8.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3555, allocations: 8.031 kB / 0.496 GB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.3558, allocations: 95.92 kB / 0.4961 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.3567, allocations: 476.6 kB / 0.4966 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.3568, allocations: 101 kB / 0.4967 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.357, allocations: 44.38 kB / 0.4967 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3582, allocations: 0.6637 MB / 0.4973 GB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3582, allocations: 4 kB / 0.4973 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.3583, allocations: 20 kB / 0.4974 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3583, allocations: 12 kB / 0.4974 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3596, allocations: 491.6 kB / 0.4978 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.3638, allocations: 1.891 MB / 0.4997 GB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3656, allocations: 0.7176 MB / 0.5004 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.3663, allocations: 286.4 kB / 0.5007 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.3663, allocations: 16.53 kB / 0.5007 GB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.3664, allocations: 47.06 kB / 0.5007 GB, free: 3.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.935e-06/0.3664, allocations: 0 / 0.5007 GB, free: 3.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.004978/0.3714, allocations: 1.621 MB / 0.5023 GB, free: 2.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002291/0.3716, allocations: 0.5684 MB / 0.5029 GB, free: 1.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.3723, allocations: 0.5265 MB / 0.5034 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.3723, allocations: 41.7 kB / 0.5034 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3726, allocations: 280.6 kB / 0.5037 GB, free: 464 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.3727, allocations: 201 kB / 0.5039 GB, free: 260 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.3728, allocations: 12 kB / 0.5039 GB, free: 248 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1622/0.535, allocations: 370.8 kB / 0.5042 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/0.5358, allocations: 206.8 kB / 0.5044 GB, free: 92.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.5366, allocations: 431.8 kB / 0.5049 GB, free: 91.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.5378, allocations: 0.5217 MB / 0.5054 GB, free: 91.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5378, allocations: 1.688 kB / 0.5054 GB, free: 91.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002457/0.5403, allocations: 0.8675 MB / 0.5062 GB, free: 91.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.5403, allocations: 33.2 kB / 0.5062 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5404, allocations: 1.375 kB / 0.5062 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.5412, allocations: 235.8 kB / 0.5065 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.542, allocations: 137.6 kB / 0.5066 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.5482, allocations: 5.161 MB / 0.5116 GB, free: 87.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.5491, allocations: 93.05 kB / 0.5117 GB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.5492, allocations: 19.67 kB / 0.5117 GB, free: 87.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003617/0.5496, allocations: 198.6 kB / 0.5119 GB, free: 87.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.5497, allocations: 71.19 kB / 0.512 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.5522, allocations: 0.8372 MB / 0.5128 GB, free: 87.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5522, allocations: 9.344 kB / 0.5128 GB, free: 87.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.5522, allocations: 0 / 0.5128 GB, free: 87.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/0.554, allocations: 1.102 MB / 0.5139 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.5568, allocations: 1.581 MB / 0.5155 GB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5568, allocations: 0 / 0.5155 GB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/0.5576, allocations: 137.5 kB / 0.5156 GB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.5583, allocations: 188.2 kB / 0.5158 GB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.5583, allocations: 15.08 kB / 0.5158 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.5622, allocations: 3.544 MB / 0.5192 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5622, allocations: 7.781 kB / 0.5192 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.5647, allocations: 1.158 MB / 0.5204 GB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.5649, allocations: 203.5 kB / 0.5206 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.565, allocations: 14.94 kB / 0.5206 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.5654, allocations: 44.7 kB / 0.5206 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5656, allocations: 53.58 kB / 0.5207 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.5656, allocations: 19.11 kB / 0.5207 GB, free: 82.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.566, allocations: 382.6 kB / 0.5211 GB, free: 82.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.566, allocations: 0 / 0.5211 GB, free: 82.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.5667, allocations: 223.4 kB / 0.5213 GB, free: 82.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.5669, allocations: 118.3 kB / 0.5214 GB, free: 82.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.5686, allocations: 1.033 MB / 0.5224 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5686, allocations: 0 / 0.5224 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.5695, allocations: 0.5667 MB / 0.5229 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.5703, allocations: 169.5 kB / 0.5231 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.5722, allocations: 1.547 MB / 0.5246 GB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.5725, allocations: 0.8886 MB / 0.5255 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000334/0.5729, allocations: 74.86 kB / 0.5256 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.573, allocations: 53.08 kB / 0.5256 GB, free: 79.84 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.573, allocations: 0 / 0.5256 GB, free: 79.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01693/0.5899, allocations: 12.79 MB / 0.5381 GB, free: 70.59 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches