Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001045/0.001045, allocations: 180.1 kB / 8.481 MB, free: 1.875 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.139/1.139, allocations: 205.2 MB / 214.1 MB, free: 13.85 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.000893/0.0008931, allocations: 93.28 kB / 262.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.014e-06/7.033e-06, allocations: 4 kB / 315 MB, free: 8.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 47.54 MB / 362.5 MB, free: 45.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08339/0.2855, allocations: 81.18 MB / 443.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.2858, allocations: 67.95 kB / 443.8 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02567/0.3115, allocations: 10.05 MB / 453.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.3116, allocations: 12 kB / 453.8 MB, free: 10.61 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.001113/0.3127, allocations: 0.7676 MB / 454.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3128, allocations: 11.97 kB / 454.6 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3129, allocations: 71.23 kB / 454.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.3134, allocations: 393.8 kB / 455.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-05/0.3135, allocations: 54.47 kB / 455.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.3136, allocations: 20 kB / 455.1 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004876/0.3141, allocations: 265.5 kB / 455.4 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.3146, allocations: 416.8 kB / 455.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3147, allocations: 3.906 kB / 455.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3147, allocations: 2.531 kB / 455.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3147, allocations: 8 kB / 455.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3168, allocations: 1.279 MB / 457.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.3175, allocations: 404.4 kB / 457.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3177, allocations: 144.9 kB / 457.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.3177, allocations: 15.95 kB / 457.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3178, allocations: 42.56 kB / 457.7 MB, free: 6.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.3178, allocations: 0 / 457.7 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.000715/0.3185, allocations: 364.6 kB / 458 MB, free: 6.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3186, allocations: 448.9 kB / 458.5 MB, free: 5.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.319, allocations: 361.2 kB / 458.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.3191, allocations: 25.7 kB / 458.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.3192, allocations: 188.5 kB / 459 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.3192, allocations: 122.1 kB / 459.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.3193, allocations: 4 kB / 459.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3194, allocations: 354.8 kB / 459.5 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.3196, allocations: 100 kB / 459.6 MB, free: 4.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.3198, allocations: 238.6 kB / 459.8 MB, free: 4.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3201, allocations: 129.4 kB / 460 MB, free: 4.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3201, allocations: 0 / 460 MB, free: 4.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006442/0.3207, allocations: 394.5 kB / 460.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3207, allocations: 9.562 kB / 460.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3208, allocations: 0 / 460.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.321, allocations: 53.69 kB / 460.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.3215, allocations: 95.91 kB / 460.5 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.3235, allocations: 2.625 MB / 463.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.324, allocations: 56.55 kB / 463.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.324, allocations: 15.98 kB / 463.2 MB, free: 0.5352 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.0001827/0.3242, allocations: 116.9 kB / 463.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3243, allocations: 51.34 kB / 463.4 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.3244, allocations: 52.61 kB / 463.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3244, allocations: 4.844 kB / 463.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3244, allocations: 0 / 463.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006019/0.325, allocations: 0.662 MB / 464.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3262, allocations: 0.921 MB / 465 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3262, allocations: 0 / 465 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.3267, allocations: 107.9 kB / 465.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3267, allocations: 4 kB / 465.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3268, allocations: 0 / 465.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3268, allocations: 0 / 465.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3268, allocations: 5.219 kB / 465.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006917/0.3275, allocations: 0.5618 MB / 465.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.3277, allocations: 168.4 kB / 465.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.3277, allocations: 4 kB / 465.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.3281, allocations: 39.97 kB / 465.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.3282, allocations: 19.97 kB / 465.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3282, allocations: 15.98 kB / 465.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002625/0.3285, allocations: 287.1 kB / 466.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.3289, allocations: 135.8 kB / 466.3 MB, free: 13.2 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.0001573/0.329, allocations: 107.3 kB / 466.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.3298, allocations: 0.5129 MB / 467 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3298, allocations: 4 kB / 467 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.33, allocations: 147.9 kB / 467.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.3305, allocations: 107.7 kB / 467.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3318, allocations: 0.6418 MB / 467.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.3324, allocations: 0.8968 MB / 468.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3324, allocations: 4.938 kB / 468.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.01185/0.3442, allocations: 7.278 MB / 476 MB, free: 3.488 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches