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") [: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.001848/0.001848, allocations: 196 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 95.14 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.535e-06/7.654e-06, allocations: 0 / 343.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 51.47 MB / 394.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4428, allocations: 81.34 MB / 476 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.443, allocations: 69.41 kB / 476 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02467/0.4677, allocations: 9.966 MB / 486 MB, free: 3.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.91e-05/0.4678, allocations: 12 kB / 486 MB, free: 3.734 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001495/0.4693, allocations: 0.7621 MB / 486.8 MB, free: 2.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4693, allocations: 8.031 kB / 486.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.4696, allocations: 67.25 kB / 486.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.4704, allocations: 401.8 kB / 487.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.4705, allocations: 50.48 kB / 487.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.4705, allocations: 20 kB / 487.3 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005181/0.4711, allocations: 271.4 kB / 487.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.4716, allocations: 407 kB / 488 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.4716, allocations: 3.906 kB / 488 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.4717, allocations: 0 / 488 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4717, allocations: 8 kB / 488 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4739, allocations: 1.277 MB / 489.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.4746, allocations: 405.8 kB / 489.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.4748, allocations: 159 kB / 489.8 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.4748, allocations: 4 kB / 489.8 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4749, allocations: 39.09 kB / 489.8 MB, free: 384 kB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.414e-06/0.4749, allocations: 0 / 489.8 MB, free: 384 kB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007306/0.4756, allocations: 373.8 kB / 490.2 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.4758, allocations: 441 kB / 490.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.4762, allocations: 364.7 kB / 491 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.4763, allocations: 25.7 kB / 491 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4764, allocations: 187.8 kB / 491.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4765, allocations: 129.4 kB / 491.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4766, allocations: 0 / 491.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4767, allocations: 350 kB / 491.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4769, allocations: 106.3 kB / 491.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4772, allocations: 235.3 kB / 492 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.4774, allocations: 126.4 kB / 492.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4774, allocations: 0 / 492.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007339/0.4781, allocations: 404.4 kB / 492.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4782, allocations: 6.156 kB / 492.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4782, allocations: 0 / 492.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.4784, allocations: 56.97 kB / 492.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4789, allocations: 103.5 kB / 492.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4811, allocations: 2.618 MB / 495.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.4816, allocations: 55.7 kB / 495.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.4817, allocations: 15.2 kB / 495.4 MB, free: 11.04 MB / 362.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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * 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.0002423/0.4819, allocations: 116.9 kB / 495.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4821, allocations: 55.34 kB / 495.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.4822, allocations: 49.67 kB / 495.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4823, allocations: 4 kB / 495.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4823, allocations: 0 / 495.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006796/0.4829, allocations: 0.6657 MB / 496.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.4847, allocations: 0.9149 MB / 497.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4847, allocations: 3.984 kB / 497.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.4852, allocations: 107.5 kB / 497.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.4852, allocations: 0 / 497.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.4853, allocations: 0 / 497.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4853, allocations: 4 kB / 497.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4853, allocations: 1.688 kB / 497.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008284/0.4861, allocations: 0.5719 MB / 497.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4864, allocations: 169.3 kB / 498 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.4865, allocations: 0 / 498 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4869, allocations: 23.98 kB / 498 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.4869, allocations: 31.2 kB / 498.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.487, allocations: 7.25 kB / 498.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003534/0.4873, allocations: 284.9 kB / 498.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.4879, allocations: 135.8 kB / 498.5 MB, free: 8.285 MB / 362.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 () * 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.0002085/0.4881, allocations: 107.2 kB / 498.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008877/0.489, allocations: 0.5172 MB / 499.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.489, allocations: 0 / 499.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.4893, allocations: 152.1 kB / 499.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.4899, allocations: 110.4 kB / 499.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.4916, allocations: 0.6558 MB / 0.4883 GB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.4922, allocations: 0.8951 MB / 0.4892 GB, free: 6.027 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4922, allocations: 3.938 kB / 0.4892 GB, free: 6.023 MB / 362.7 MB Notification: Performance of Templates: time 0.016/0.5083, allocations: 7.285 MB / 0.4963 GB, free: 14.95 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/jenkins/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