Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009224/0.0009223, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 94.59 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002969, allocations: 15.92 kB / 352.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2004, allocations: 50.39 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09156/0.2921, allocations: 82.78 MB / 485.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.2923, allocations: 80.48 kB / 485.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03689/0.3292, allocations: 13.86 MB / 499.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3293, allocations: 4 kB / 499.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.3293, allocations: 12 kB / 499.5 MB, free: 15.5 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.001923/0.3313, allocations: 0.9967 MB / 0.4887 GB, free: 14.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3313, allocations: 8.031 kB / 0.4887 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.3315, allocations: 88 kB / 0.4888 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.3323, allocations: 476.6 kB / 0.4893 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3324, allocations: 100.9 kB / 0.4894 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.3325, allocations: 44.38 kB / 0.4894 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3337, allocations: 0.6676 MB / 0.4901 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3337, allocations: 0 / 0.4901 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.3338, allocations: 24 kB / 0.4901 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3338, allocations: 12 kB / 0.4901 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3349, allocations: 479.7 kB / 0.4906 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.3382, allocations: 1.89 MB / 0.4924 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.3401, allocations: 0.7171 MB / 0.4931 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.3407, allocations: 286.4 kB / 0.4934 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.3408, allocations: 12.55 kB / 0.4934 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3408, allocations: 47.06 kB / 0.4934 GB, free: 9.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.575e-06/0.3409, allocations: 0 / 0.4934 GB, free: 9.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.004853/0.3457, allocations: 1.624 MB / 0.495 GB, free: 7.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/0.346, allocations: 0.5645 MB / 0.4956 GB, free: 6.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.3467, allocations: 0.5342 MB / 0.4961 GB, free: 6.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.3468, allocations: 41.7 kB / 0.4961 GB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.347, allocations: 276.6 kB / 0.4964 GB, free: 6.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.3472, allocations: 197 kB / 0.4966 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.3472, allocations: 8 kB / 0.4966 GB, free: 5.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3474, allocations: 378.8 kB / 0.497 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.348, allocations: 213 kB / 0.4972 GB, free: 5.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.3487, allocations: 435.7 kB / 0.4976 GB, free: 4.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.3498, allocations: 0.5166 MB / 0.4981 GB, free: 4.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3498, allocations: 3.938 kB / 0.4981 GB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002247/0.352, allocations: 0.877 MB / 0.4989 GB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.3521, allocations: 29.7 kB / 0.499 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3521, allocations: 0 / 0.499 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008895/0.353, allocations: 238.3 kB / 0.4992 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.3537, allocations: 139.8 kB / 0.4993 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2022/0.556, allocations: 5.147 MB / 0.5044 GB, free: 93.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.5568, allocations: 87.92 kB / 0.5044 GB, free: 93.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.5568, allocations: 20.22 kB / 0.5045 GB, free: 93.99 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.0003285/0.5572, allocations: 204.2 kB / 0.5047 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5573, allocations: 69.91 kB / 0.5047 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.5596, allocations: 0.8343 MB / 0.5055 GB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5596, allocations: 9.375 kB / 0.5056 GB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5596, allocations: 3.438 kB / 0.5056 GB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/0.5616, allocations: 1.1 MB / 0.5066 GB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.5649, allocations: 1.582 MB / 0.5082 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5649, allocations: 0.6875 kB / 0.5082 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.5657, allocations: 144.3 kB / 0.5083 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008005/0.5665, allocations: 190.6 kB / 0.5085 GB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.5666, allocations: 12.95 kB / 0.5085 GB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.5705, allocations: 3.535 MB / 0.512 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5705, allocations: 3.656 kB / 0.512 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.573, allocations: 1.155 MB / 0.5131 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.5733, allocations: 208.3 kB / 0.5133 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/0.5734, allocations: 16.17 kB / 0.5133 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.5738, allocations: 47.73 kB / 0.5133 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.5739, allocations: 41.72 kB / 0.5134 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.574, allocations: 19.11 kB / 0.5134 GB, free: 89.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.5744, allocations: 381.2 kB / 0.5138 GB, free: 89.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5744, allocations: 0.8438 kB / 0.5138 GB, free: 89.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006943/0.5751, allocations: 219.8 kB / 0.514 GB, free: 89.78 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.0001815/0.5753, allocations: 132.3 kB / 0.5141 GB, free: 89.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.577, allocations: 1.031 MB / 0.5151 GB, free: 89.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.577, allocations: 3.844 kB / 0.5151 GB, free: 89.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.5779, allocations: 0.5654 MB / 0.5157 GB, free: 88.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.5787, allocations: 178.1 kB / 0.5158 GB, free: 88.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5808, allocations: 1.537 MB / 0.5173 GB, free: 87.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.5811, allocations: 0.8928 MB / 0.5182 GB, free: 87.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.5815, allocations: 75.44 kB / 0.5183 GB, free: 87.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5816, allocations: 51.88 kB / 0.5183 GB, free: 87.15 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5816, allocations: 0 / 0.5183 GB, free: 87.15 MB / 378.7 MB Notification: Performance of Templates: time 0.01814/0.5998, allocations: 12.79 MB / 0.5308 GB, free: 79.57 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches