Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007855/0.0007856, allocations: 98.75 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002075/0.0002075, allocations: 4 kB / 358.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.2932, allocations: 82.09 MB / 491.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.2935, allocations: 77.16 kB / 491.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02554/0.319, allocations: 10.29 MB / 0.4901 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3191, allocations: 0 / 0.4901 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.645e-05/0.3191, allocations: 12 kB / 0.4901 GB, free: 15 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001193/0.3203, allocations: 0.8275 MB / 0.4909 GB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3204, allocations: 8.031 kB / 0.4909 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3205, allocations: 80.12 kB / 0.491 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.321, allocations: 410.9 kB / 0.4914 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.3211, allocations: 63.27 kB / 0.4914 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.3212, allocations: 32.38 kB / 0.4914 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.322, allocations: 0.5112 MB / 0.4919 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.322, allocations: 11.86 kB / 0.492 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.3221, allocations: 16 kB / 0.492 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3221, allocations: 8 kB / 0.492 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.3229, allocations: 387.8 kB / 0.4923 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.3249, allocations: 1.343 MB / 0.4937 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.3257, allocations: 466.3 kB / 0.4941 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.3261, allocations: 208.8 kB / 0.4943 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3261, allocations: 7.984 kB / 0.4943 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3262, allocations: 43.22 kB / 0.4944 GB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.543e-06/0.3262, allocations: 0 / 0.4944 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001576/0.3278, allocations: 0.7975 MB / 0.4951 GB, free: 9.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.3279, allocations: 445 kB / 0.4956 GB, free: 8.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.3284, allocations: 474 kB / 0.496 GB, free: 8.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3285, allocations: 41.7 kB / 0.496 GB, free: 8.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3286, allocations: 248.5 kB / 0.4963 GB, free: 8.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3288, allocations: 134 kB / 0.4964 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.3288, allocations: 4 kB / 0.4964 GB, free: 8.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3289, allocations: 366.7 kB / 0.4968 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.3293, allocations: 163.9 kB / 0.4969 GB, free: 7.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3298, allocations: 314.3 kB / 0.4972 GB, free: 7.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.3305, allocations: 379.3 kB / 0.4976 GB, free: 6.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3305, allocations: 3.984 kB / 0.4976 GB, free: 6.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009628/0.3315, allocations: 0.5205 MB / 0.4981 GB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3315, allocations: 29.7 kB / 0.4981 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3315, allocations: 0 / 0.4981 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.3317, allocations: 57.62 kB / 0.4982 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.3321, allocations: 91.88 kB / 0.4983 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.3341, allocations: 2.74 MB / 0.5009 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.3345, allocations: 75.64 kB / 0.501 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3345, allocations: 15.98 kB / 0.501 GB, free: 2.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.3347, allocations: 169.8 kB / 0.5012 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.3348, allocations: 59.28 kB / 0.5012 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.3349, allocations: 56.92 kB / 0.5013 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3349, allocations: 4 kB / 0.5013 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3349, allocations: 8 kB / 0.5013 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000907/0.3358, allocations: 0.7775 MB / 0.5021 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3374, allocations: 1.091 MB / 0.5031 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3374, allocations: 0 / 0.5031 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.3379, allocations: 99.88 kB / 0.5032 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3379, allocations: 0 / 0.5032 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3379, allocations: 11.98 kB / 0.5032 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3379, allocations: 0 / 0.5032 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3379, allocations: 4 kB / 0.5032 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1596/0.4975, allocations: 0.7245 MB / 0.504 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4979, allocations: 168.5 kB / 0.5041 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.498, allocations: 10.72 kB / 0.5041 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.4984, allocations: 37.91 kB / 0.5042 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.4985, allocations: 25.39 kB / 0.5042 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4985, allocations: 10.98 kB / 0.5042 GB, free: 94.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005067/0.4991, allocations: 342.7 kB / 0.5045 GB, free: 94.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4991, allocations: 0.5938 kB / 0.5045 GB, free: 94.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005744/0.4996, allocations: 149.7 kB / 0.5047 GB, free: 94.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.4999, allocations: 123.2 kB / 0.5048 GB, free: 94.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.5012, allocations: 0.68 MB / 0.5055 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5012, allocations: 1.781 kB / 0.5055 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.5017, allocations: 203.1 kB / 0.5056 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.5024, allocations: 140.7 kB / 0.5058 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5041, allocations: 1.156 MB / 0.5069 GB, free: 93.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5045, allocations: 0.8358 MB / 0.5077 GB, free: 92.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00031/0.5048, allocations: 65.39 kB / 0.5078 GB, free: 92.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5049, allocations: 41.8 kB / 0.5078 GB, free: 92.62 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5049, allocations: 2.734 kB / 0.5078 GB, free: 92.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01237/0.5173, allocations: 8.139 MB / 0.5158 GB, free: 91.83 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches