Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 230.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008097/0.0008097, allocations: 106.9 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.68e-05, allocations: 7.984 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4341, allocations: 81.33 MB / 468.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4344, allocations: 71.97 kB / 468.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04341/0.4778, allocations: 16.5 MB / 485.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4779, allocations: 3.938 kB / 485.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.4779, allocations: 20 kB / 485.4 MB, free: 12.83 MB / 362.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.002032/0.48, allocations: 1.112 MB / 486.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.48, allocations: 8.031 kB / 486.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.4802, allocations: 114.8 kB / 486.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.4811, allocations: 0.5358 MB / 487.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.4813, allocations: 130.3 kB / 487.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.4814, allocations: 40 kB / 487.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008522/0.4823, allocations: 498.9 kB / 487.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4833, allocations: 0.7329 MB / 488.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4833, allocations: 0 / 488.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.4834, allocations: 0 / 488.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.4834, allocations: 16 kB / 488.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.4868, allocations: 2.09 MB / 490.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4879, allocations: 0.9404 MB / 491.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.4884, allocations: 327.8 kB / 491.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.8e-05/0.4885, allocations: 12.88 kB / 491.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4885, allocations: 55.72 kB / 492 MB, free: 5.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.687e-06/0.4885, allocations: 0 / 492 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002043/0.4906, allocations: 0.8578 MB / 492.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003428/0.4909, allocations: 0.8274 MB / 493.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.4916, allocations: 0.4996 MB / 494.2 MB, free: 3.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.4916, allocations: 29.7 kB / 494.2 MB, free: 3.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.4919, allocations: 352.8 kB / 494.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.4921, allocations: 264 kB / 494.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.4921, allocations: 0 / 494.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4923, allocations: 386.7 kB / 495.2 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.4926, allocations: 209.6 kB / 495.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.4932, allocations: 484.1 kB / 495.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.4936, allocations: 260.9 kB / 496.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4936, allocations: 0 / 496.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002022/0.4956, allocations: 0.9203 MB / 497 MB, free: 436 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/0.4957, allocations: 82.2 kB / 497.1 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4958, allocations: 4 kB / 497.1 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.4964, allocations: 211.3 kB / 497.3 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.4971, allocations: 155.8 kB / 497.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.5034, allocations: 6.032 MB / 0.4917 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.5045, allocations: 99.36 kB / 0.4918 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.5045, allocations: 32.08 kB / 0.4918 GB, free: 9.328 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0002885/0.5048, allocations: 128.9 kB / 0.4919 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.505, allocations: 90.92 kB / 0.492 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.5052, allocations: 80.39 kB / 0.4921 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5053, allocations: 8 kB / 0.4921 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.5053, allocations: 3.938 kB / 0.4921 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/0.5073, allocations: 1.154 MB / 0.4932 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.5107, allocations: 1.797 MB / 0.495 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5107, allocations: 0 / 0.495 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/0.5115, allocations: 155.8 kB / 0.4951 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.5119, allocations: 162.5 kB / 0.4953 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.512, allocations: 4 kB / 0.4953 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/0.5169, allocations: 4.655 MB / 0.4998 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.517, allocations: 0 / 0.4998 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.5195, allocations: 1.258 MB / 0.5011 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5199, allocations: 239.9 kB / 0.5013 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5201, allocations: 7.953 kB / 0.5013 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.5206, allocations: 47.95 kB / 0.5014 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.5208, allocations: 64.69 kB / 0.5014 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.5208, allocations: 19.98 kB / 0.5014 GB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005235/0.5213, allocations: 395.2 kB / 0.5018 GB, free: 14.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5213, allocations: 4 kB / 0.5018 GB, free: 14.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009096/0.5223, allocations: 267.6 kB / 0.5021 GB, free: 14.23 MB / 394.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.0002309/0.5225, allocations: 135.1 kB / 0.5022 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.5241, allocations: 1.194 MB / 0.5034 GB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5241, allocations: 4 kB / 0.5034 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5251, allocations: 0.6993 MB / 0.5041 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.526, allocations: 196.5 kB / 0.5042 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.5283, allocations: 1.226 MB / 0.5054 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.5288, allocations: 0.9677 MB / 0.5064 GB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.5292, allocations: 94.16 kB / 0.5065 GB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.5294, allocations: 59.44 kB / 0.5065 GB, free: 9.496 MB / 394.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5294, allocations: 0 / 0.5065 GB, free: 9.496 MB / 394.7 MB Notification: Performance of Templates: time 0.0237/0.5531, allocations: 14.68 MB / 0.5209 GB, free: 11 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches