Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001579, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.189e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09355, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5408, allocations: 82.72 MB / 451.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5412, allocations: 74.64 kB / 451.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07534/0.6165, allocations: 17.01 MB / 468.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6166, allocations: 4 kB / 468.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.6167, allocations: 16 kB / 468.9 MB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00341/0.6201, allocations: 1.112 MB / 470 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.6202, allocations: 12.03 kB / 470 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.6207, allocations: 110.8 kB / 470.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6223, allocations: 0.5438 MB / 470.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.6227, allocations: 154.3 kB / 470.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.623, allocations: 60.22 kB / 470.9 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.625, allocations: 0.8199 MB / 471.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6251, allocations: 7.844 kB / 471.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.6252, allocations: 28 kB / 471.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6253, allocations: 16 kB / 471.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.627, allocations: 0.5167 MB / 472.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.6335, allocations: 2.209 MB / 474.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.6358, allocations: 0.9851 MB / 475.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.6368, allocations: 351.8 kB / 475.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.637, allocations: 12.77 kB / 475.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.637, allocations: 47.34 kB / 475.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.827e-06/0.6371, allocations: 0 / 475.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.003896/0.641, allocations: 0.9201 MB / 476.8 MB, free: 2.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003812/0.6414, allocations: 0.8235 MB / 477.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.6427, allocations: 0.578 MB / 478.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.6429, allocations: 45.7 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.6433, allocations: 359.5 kB / 478.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.6437, allocations: 268 kB / 478.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.6437, allocations: 16 kB / 478.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6439, allocations: 338.8 kB / 479.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.6447, allocations: 225.6 kB / 479.4 MB, free: 120 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.6458, allocations: 0.5055 MB / 479.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.6467, allocations: 365.8 kB / 480.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6467, allocations: 0 / 480.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003858/0.6506, allocations: 1.008 MB / 481.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.6507, allocations: 89.11 kB / 481.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6507, allocations: 0 / 481.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.6518, allocations: 211.3 kB / 481.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.6532, allocations: 155.8 kB / 481.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.6633, allocations: 6.226 MB / 488 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.6649, allocations: 123.3 kB / 488.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.6651, allocations: 23.98 kB / 488.1 MB, free: 6.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.6654, allocations: 160.9 kB / 488.3 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.6657, allocations: 94.92 kB / 488.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.6661, allocations: 100.5 kB / 488.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6661, allocations: 8 kB / 488.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6661, allocations: 0 / 488.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003556/0.6697, allocations: 1.193 MB / 489.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/0.6761, allocations: 1.933 MB / 491.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6761, allocations: 4 kB / 491.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.6777, allocations: 151.8 kB / 491.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007586/0.6785, allocations: 166.5 kB / 491.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.6786, allocations: 19.98 kB / 491.9 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008368/0.687, allocations: 4.793 MB / 496.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.6871, allocations: 0 / 496.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.6919, allocations: 1.324 MB / 498 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007338/0.6926, allocations: 239.8 kB / 498.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.6929, allocations: 23.98 kB / 498.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6939, allocations: 67.86 kB / 498.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.6943, allocations: 76.55 kB / 498.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/0.6944, allocations: 16.12 kB / 498.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009386/0.6953, allocations: 467.2 kB / 498.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.6953, allocations: 0 / 498.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001492/0.6968, allocations: 295.7 kB / 499.2 MB, free: 10.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.6972, allocations: 140.3 kB / 499.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.7002, allocations: 1.267 MB / 0.4889 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.7002, allocations: 0 / 0.4889 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.7024, allocations: 0.7463 MB / 0.4896 GB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.7042, allocations: 217.7 kB / 0.4898 GB, free: 8.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.7081, allocations: 1.302 MB / 0.4911 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.7088, allocations: 0.9754 MB / 0.492 GB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.7093, allocations: 67.42 kB / 0.4921 GB, free: 6.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7093, allocations: 0 / 0.4921 GB, free: 6.07 MB / 378.7 MB Notification: Performance of Templates: time 0.04238/0.7517, allocations: 22.06 MB / 0.5136 GB, free: 15.95 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches