Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 183 kB / 8.132 MB, free: 2.215 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.216/1.216, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.001091/0.001091, allocations: 89.19 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.885e-06, allocations: 0 / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2392, allocations: 50.39 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3548, allocations: 80.53 MB / 467.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.3552, allocations: 80.48 kB / 467.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03581/0.391, allocations: 9.903 MB / 477.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.3911, allocations: 8 kB / 477.4 MB, free: 12.26 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001645/0.3927, allocations: 0.7579 MB / 478.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3928, allocations: 16.02 kB / 478.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3929, allocations: 63.25 kB / 478.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.3938, allocations: 401.7 kB / 478.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.394, allocations: 54.47 kB / 478.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.3941, allocations: 20 kB / 478.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008064/0.3949, allocations: 269.5 kB / 479 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.3958, allocations: 417.2 kB / 479.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3958, allocations: 0 / 479.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.3959, allocations: 7.906 kB / 479.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3959, allocations: 11.94 kB / 479.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.3991, allocations: 1.271 MB / 480.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4003, allocations: 411.4 kB / 481.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.4006, allocations: 147 kB / 481.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.4007, allocations: 11.98 kB / 481.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4008, allocations: 42.56 kB / 481.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.245e-06/0.4008, allocations: 0 / 481.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001135/0.4019, allocations: 367.8 kB / 481.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.4021, allocations: 448.9 kB / 482.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.4028, allocations: 353.2 kB / 482.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4028, allocations: 25.7 kB / 482.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.403, allocations: 184.6 kB / 482.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.4031, allocations: 130 kB / 482.8 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.4032, allocations: 0 / 482.8 MB, free: 6.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4034, allocations: 359.7 kB / 483.1 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4037, allocations: 100 kB / 483.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.4042, allocations: 246.1 kB / 483.4 MB, free: 5.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.4045, allocations: 119.9 kB / 483.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4045, allocations: 4 kB / 483.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001118/0.4057, allocations: 403.2 kB / 484 MB, free: 5.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4057, allocations: 4 kB / 484 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4057, allocations: 0 / 484 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.406, allocations: 53.69 kB / 484 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.4068, allocations: 103.9 kB / 484.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.4098, allocations: 2.617 MB / 486.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.4104, allocations: 55.7 kB / 486.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.4104, allocations: 15.98 kB / 486.8 MB, free: 2.18 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.0002088/0.4107, allocations: 122.9 kB / 486.9 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4108, allocations: 55.34 kB / 487 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.411, allocations: 52.61 kB / 487 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.411, allocations: 4 kB / 487 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.411, allocations: 0 / 487 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009045/0.4119, allocations: 0.6529 MB / 487.7 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4139, allocations: 0.9307 MB / 488.6 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4139, allocations: 4 kB / 488.6 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.4147, allocations: 103.9 kB / 488.7 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4147, allocations: 0 / 488.7 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.4147, allocations: 11.94 kB / 488.7 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4148, allocations: 4 kB / 488.7 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4148, allocations: 0 / 488.7 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00126/0.416, allocations: 0.5614 MB / 489.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.4164, allocations: 168.4 kB / 489.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4165, allocations: 0 / 489.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.417, allocations: 36.03 kB / 489.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.4171, allocations: 27.89 kB / 489.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4172, allocations: 12 kB / 489.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004566/0.4177, allocations: 275.2 kB / 489.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.4184, allocations: 143.7 kB / 489.9 MB, free: 14.84 MB / 378.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.0002131/0.4187, allocations: 115.2 kB / 490.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.4199, allocations: 0.5012 MB / 490.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4199, allocations: 4.062 kB / 490.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.4203, allocations: 152.5 kB / 490.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.4211, allocations: 105.8 kB / 490.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4231, allocations: 0.6459 MB / 491.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/0.424, allocations: 0.9012 MB / 492.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.424, allocations: 4 kB / 492.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of Templates: time 0.0199/0.4439, allocations: 7.275 MB / 499.6 MB, free: 5.207 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches