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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0008259/0.0008259, allocations: 94.02 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 11.98 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2478, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0972/0.345, allocations: 82.08 MB / 459.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3453, allocations: 79.97 kB / 459.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02929/0.3746, allocations: 10.37 MB / 469.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.739e-06/0.3747, allocations: 0 / 469.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.691e-05/0.3748, allocations: 12 kB / 469.6 MB, free: 3.957 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.001964/0.3767, allocations: 0.8394 MB / 470.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3768, allocations: 11.97 kB / 470.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.377, allocations: 68.19 kB / 470.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.3778, allocations: 410.8 kB / 470.9 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.378, allocations: 59.27 kB / 470.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.3781, allocations: 36.38 kB / 471 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3792, allocations: 0.5143 MB / 471.5 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.3793, allocations: 3.938 kB / 471.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.3794, allocations: 20 kB / 471.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3794, allocations: 8 kB / 471.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.3803, allocations: 383.8 kB / 471.9 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.3829, allocations: 1.347 MB / 473.2 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/0.3839, allocations: 476.5 kB / 473.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.3843, allocations: 208.8 kB / 473.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3844, allocations: 8 kB / 473.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.3845, allocations: 39.22 kB / 474 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.948e-06/0.3845, allocations: 0 / 474 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001788/0.3863, allocations: 0.8008 MB / 474.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/0.3865, allocations: 445 kB / 475.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.3872, allocations: 478 kB / 475.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.3872, allocations: 29.7 kB / 475.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.3874, allocations: 252.4 kB / 475.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3876, allocations: 130 kB / 476.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.3876, allocations: 8 kB / 476.1 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3878, allocations: 366.7 kB / 476.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.3883, allocations: 155.9 kB / 476.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.3888, allocations: 306.4 kB / 476.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.3896, allocations: 387.9 kB / 477.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3896, allocations: 4 kB / 477.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001108/0.3907, allocations: 0.512 MB / 477.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.3908, allocations: 37.64 kB / 477.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3908, allocations: 0 / 477.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.391, allocations: 58.5 kB / 477.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.3915, allocations: 95.88 kB / 478 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3941, allocations: 2.748 MB / 480.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.3946, allocations: 63.69 kB / 480.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3946, allocations: 16 kB / 480.8 MB, free: 7.902 MB / 362.7 MB 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 () * Number of clocked 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.0002851/0.3949, allocations: 173.8 kB / 481 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.395, allocations: 59.28 kB / 481 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.3952, allocations: 60.92 kB / 481.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3952, allocations: 4 kB / 481.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3952, allocations: 0 / 481.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.3963, allocations: 0.7788 MB / 481.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.3982, allocations: 1.089 MB / 482.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3983, allocations: 4 kB / 482.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.3987, allocations: 99.86 kB / 483 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.3988, allocations: 7.984 kB / 483.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.3988, allocations: 8 kB / 483.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3988, allocations: 4 kB / 483.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3988, allocations: 0 / 483.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4002, allocations: 0.7253 MB / 483.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.4005, allocations: 164.5 kB / 483.9 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.4006, allocations: 16.06 kB / 484 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.4009, allocations: 39.88 kB / 484 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.401, allocations: 23.97 kB / 484 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.4011, allocations: 8 kB / 484 MB, free: 4.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.4015, allocations: 342.8 kB / 484.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 484.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005332/0.4021, allocations: 155.8 kB / 484.5 MB, free: 3.949 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 () * Number of clocked 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.0002286/0.4023, allocations: 115.1 kB / 484.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.4037, allocations: 0.6962 MB / 485.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4037, allocations: 0 / 485.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.4042, allocations: 207.6 kB / 485.5 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.4051, allocations: 134.8 kB / 485.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.4071, allocations: 1.148 MB / 486.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.4076, allocations: 0.8395 MB / 487.7 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.408, allocations: 60.38 kB / 487.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4081, allocations: 43.44 kB / 487.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4081, allocations: 3.938 kB / 487.8 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of Templates: time 0.01593/0.4241, allocations: 8.139 MB / 495.9 MB, free: 8.496 MB / 378.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/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_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches