Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 196.7 kB / 8.538 MB, free: 1.746 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 93.78 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.616e-06, allocations: 4 kB / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 51.47 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2716/0.3939, allocations: 82.06 MB / 476.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.3942, allocations: 72.84 kB / 476.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04116/0.4354, allocations: 16.46 MB / 493.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.948e-05/0.4355, allocations: 16 kB / 493.2 MB, free: 13.62 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.002739/0.4383, allocations: 1.126 MB / 494.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4383, allocations: 8.031 kB / 494.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.4387, allocations: 110.8 kB / 494.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.4399, allocations: 0.5556 MB / 495 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.4402, allocations: 126.4 kB / 495.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.4403, allocations: 42.2 kB / 495.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001015/0.4414, allocations: 0.4934 MB / 495.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4425, allocations: 0.7243 MB / 496.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.4426, allocations: 0 / 496.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.4426, allocations: 7.906 kB / 496.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4427, allocations: 17.88 kB / 496.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.4468, allocations: 2.102 MB / 498.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.448, allocations: 0.8419 MB / 499.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.4486, allocations: 340.3 kB / 499.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/0.4487, allocations: 12.64 kB / 499.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4487, allocations: 49.53 kB / 499.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.995e-06/0.4487, allocations: 4 kB / 499.8 MB, free: 8.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002269/0.451, allocations: 0.8691 MB / 0.4889 GB, free: 7.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003863/0.4514, allocations: 0.8229 MB / 0.4897 GB, free: 6.398 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.4522, allocations: 0.4985 MB / 0.4902 GB, free: 6.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.4523, allocations: 29.7 kB / 0.4902 GB, free: 5.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4524, allocations: 246 kB / 0.4905 GB, free: 5.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.4526, allocations: 252 kB / 0.4907 GB, free: 5.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.4527, allocations: 4 kB / 0.4907 GB, free: 5.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4529, allocations: 390.9 kB / 0.4911 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.4532, allocations: 210.4 kB / 0.4913 GB, free: 5.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.4538, allocations: 484.3 kB / 0.4917 GB, free: 4.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.4543, allocations: 252.1 kB / 0.492 GB, free: 4.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4543, allocations: 0 / 0.492 GB, free: 4.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002281/0.4565, allocations: 0.9379 MB / 0.4929 GB, free: 3.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4566, allocations: 6.25 kB / 0.4929 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4566, allocations: 4 kB / 0.4929 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.4572, allocations: 214.3 kB / 0.4931 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.458, allocations: 160.4 kB / 0.4933 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.4645, allocations: 5.946 MB / 0.4991 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4658, allocations: 111.3 kB / 0.4992 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.4659, allocations: 24.06 kB / 0.4992 GB, free: 12.98 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.0003386/0.4663, allocations: 132.8 kB / 0.4993 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4666, allocations: 86.97 kB / 0.4994 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.4669, allocations: 86.16 kB / 0.4995 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4669, allocations: 8 kB / 0.4995 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4669, allocations: 96 / 0.4995 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002287/0.4692, allocations: 1.17 MB / 0.5006 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.4729, allocations: 1.811 MB / 0.5024 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4729, allocations: 1.781 kB / 0.5024 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.4737, allocations: 159.8 kB / 0.5026 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.4742, allocations: 166.4 kB / 0.5027 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.4743, allocations: 8 kB / 0.5027 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.4805, allocations: 4.621 MB / 0.5072 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4805, allocations: 0 / 0.5072 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00315/0.4837, allocations: 1.293 MB / 0.5085 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.4842, allocations: 235.9 kB / 0.5087 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.4845, allocations: 11.98 kB / 0.5087 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/0.4852, allocations: 55.89 kB / 0.5088 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4854, allocations: 48.48 kB / 0.5088 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.4854, allocations: 20 kB / 0.5089 GB, free: 2.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007041/0.4861, allocations: 399.2 kB / 0.5092 GB, free: 2.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001283/0.4874, allocations: 263.7 kB / 0.5095 GB, free: 1.871 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.0003028/0.4878, allocations: 123.1 kB / 0.5096 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.4896, allocations: 1.076 MB / 0.5107 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4896, allocations: 4 kB / 0.5107 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4909, allocations: 0.6834 MB / 0.5113 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4919, allocations: 186.4 kB / 0.5115 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.4948, allocations: 1.251 MB / 0.5127 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.4956, allocations: 1.045 MB / 0.5137 GB, free: 13.36 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4956, allocations: 0 / 0.5137 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Templates: time 0.02556/0.5212, allocations: 15.27 MB / 0.5287 GB, free: 14.43 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches