Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.002254/0.002253, allocations: 180.4 kB / 8.151 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.00127/0.00127, allocations: 85.75 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.301e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2529, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.379, allocations: 81.17 MB / 443 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.3794, allocations: 74.59 kB / 443.1 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04529/0.4247, allocations: 10.05 MB / 453.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.612e-05/0.4248, allocations: 8 kB / 453.1 MB, free: 10.74 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.002015/0.4268, allocations: 0.7648 MB / 453.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4269, allocations: 8.031 kB / 453.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.4272, allocations: 67.25 kB / 454 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.4281, allocations: 397.8 kB / 454.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4283, allocations: 50.48 kB / 454.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.4284, allocations: 20 kB / 454.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009206/0.4293, allocations: 265.5 kB / 454.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.4304, allocations: 411.3 kB / 455.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.4305, allocations: 3.906 kB / 455.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.4305, allocations: 4 kB / 455.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4306, allocations: 8.938 kB / 455.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.4347, allocations: 1.28 MB / 456.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.4361, allocations: 404.8 kB / 456.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.4366, allocations: 144.8 kB / 456.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.4367, allocations: 19.98 kB / 456.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4367, allocations: 38.5 kB / 457 MB, free: 6.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 3.667e-06/0.4367, allocations: 4 kB / 457 MB, free: 6.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001373/0.4381, allocations: 360 kB / 457.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.4384, allocations: 445.2 kB / 457.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.4392, allocations: 355.5 kB / 458.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.4394, allocations: 37.64 kB / 458.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.4396, allocations: 222.9 kB / 458.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4397, allocations: 122.1 kB / 458.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4398, allocations: 4 kB / 458.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4399, allocations: 318.8 kB / 458.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.4403, allocations: 112 kB / 458.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.4409, allocations: 237.4 kB / 459.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.4413, allocations: 125.4 kB / 459.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4413, allocations: 0 / 459.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001294/0.4426, allocations: 363 kB / 459.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4426, allocations: 4 kB / 459.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4427, allocations: 0 / 459.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.4431, allocations: 57.69 kB / 459.7 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.444, allocations: 103.9 kB / 459.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.4474, allocations: 2.621 MB / 462.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.4481, allocations: 47.86 kB / 462.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.4482, allocations: 12 kB / 462.5 MB, free: 0.7109 MB / 346.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.0002265/0.4484, allocations: 52.84 kB / 462.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4486, allocations: 51.44 kB / 462.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.4488, allocations: 53.36 kB / 462.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4488, allocations: 4 kB / 462.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4488, allocations: 0 / 462.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.4499, allocations: 0.6659 MB / 463.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.4523, allocations: 0.9132 MB / 464.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4523, allocations: 0 / 464.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4533, allocations: 111.9 kB / 464.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.4534, allocations: 0 / 464.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.4534, allocations: 5.219 kB / 464.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.4534, allocations: 7.844 kB / 464.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4535, allocations: 144 / 464.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001448/0.4549, allocations: 0.558 MB / 464.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.4553, allocations: 180.2 kB / 465.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4554, allocations: 4.062 kB / 465.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4561, allocations: 27.98 kB / 465.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4562, allocations: 27.89 kB / 465.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.4562, allocations: 12 kB / 465.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005353/0.4568, allocations: 279.2 kB / 465.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000676/0.4575, allocations: 139.7 kB / 465.5 MB, free: 13.45 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.0002375/0.4577, allocations: 107.2 kB / 465.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4591, allocations: 0.5168 MB / 466.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4592, allocations: 1.781 kB / 466.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.4596, allocations: 147.9 kB / 466.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/0.4606, allocations: 106.8 kB / 466.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.463, allocations: 0.6747 MB / 467.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.4638, allocations: 0.8982 MB / 468 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4638, allocations: 0 / 468 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01966/0.4835, allocations: 8.598 MB / 476.6 MB, free: 2.359 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches