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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 176.9 kB / 17.4 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008386, allocations: 101.1 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 19.92 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 50.39 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08869/0.2929, allocations: 81.38 MB / 484.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.2932, allocations: 79.95 kB / 484.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.3195, allocations: 10.22 MB / 494.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3195, allocations: 3.938 kB / 494.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.04e-05/0.3196, allocations: 16 kB / 494.4 MB, free: 4.578 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.00149/0.3211, allocations: 0.8275 MB / 495.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3211, allocations: 8.031 kB / 495.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.3213, allocations: 68.19 kB / 495.3 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.3219, allocations: 410.8 kB / 495.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.322, allocations: 67.25 kB / 495.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.3221, allocations: 36.38 kB / 495.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.323, allocations: 0.5152 MB / 496.4 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.323, allocations: 7.938 kB / 496.4 MB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.3231, allocations: 16 kB / 496.4 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3231, allocations: 8 kB / 496.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/0.324, allocations: 383.8 kB / 496.8 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.3262, allocations: 1.339 MB / 498.1 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.3271, allocations: 472.7 kB / 498.6 MB, free: 196 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.3275, allocations: 213.5 kB / 498.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3276, allocations: 7.984 kB / 498.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3276, allocations: 46.44 kB / 498.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.854e-06/0.3276, allocations: 7.938 kB / 498.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001626/0.3293, allocations: 0.7951 MB / 499.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.3295, allocations: 448.9 kB / 0.4883 GB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.33, allocations: 474 kB / 0.4888 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3301, allocations: 33.7 kB / 0.4888 GB, free: 14.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3302, allocations: 248.4 kB / 0.4891 GB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3303, allocations: 130.1 kB / 0.4892 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.3304, allocations: 15.94 kB / 0.4892 GB, free: 13.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3305, allocations: 362.7 kB / 0.4895 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.3309, allocations: 163.9 kB / 0.4897 GB, free: 13.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.3314, allocations: 306.4 kB / 0.49 GB, free: 12.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.3322, allocations: 390.9 kB / 0.4904 GB, free: 12.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3322, allocations: 0 / 0.4904 GB, free: 12.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001014/0.3333, allocations: 0.5166 MB / 0.4909 GB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.3333, allocations: 33.7 kB / 0.4909 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3333, allocations: 7.969 kB / 0.4909 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.3335, allocations: 45.7 kB / 0.491 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.3339, allocations: 95.88 kB / 0.491 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.3361, allocations: 2.744 MB / 0.4937 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.3365, allocations: 67.7 kB / 0.4938 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3365, allocations: 8 kB / 0.4938 GB, free: 8.539 MB / 378.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.0002121/0.3368, allocations: 173.8 kB / 0.494 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.3369, allocations: 59.28 kB / 0.494 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.337, allocations: 56.92 kB / 0.4941 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.337, allocations: 4 kB / 0.4941 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.337, allocations: 0 / 0.4941 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009723/0.338, allocations: 0.7817 MB / 0.4948 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.3397, allocations: 1.094 MB / 0.4959 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3397, allocations: 4 kB / 0.4959 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.3401, allocations: 99.88 kB / 0.496 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3402, allocations: 0 / 0.496 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3402, allocations: 8 kB / 0.496 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3402, allocations: 0 / 0.496 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3402, allocations: 3.938 kB / 0.496 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3415, allocations: 0.737 MB / 0.4967 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.3417, allocations: 168.5 kB / 0.4969 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.3418, allocations: 12 kB / 0.4969 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.3421, allocations: 31.97 kB / 0.4969 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.3422, allocations: 27.95 kB / 0.497 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3422, allocations: 16.06 kB / 0.497 GB, free: 5.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003928/0.3426, allocations: 338.8 kB / 0.4973 GB, free: 4.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3426, allocations: 0 / 0.4973 GB, free: 4.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.3431, allocations: 159.6 kB / 0.4975 GB, free: 4.57 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 () * 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.0001733/0.3432, allocations: 119.2 kB / 0.4976 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3444, allocations: 0.6799 MB / 0.4982 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3444, allocations: 0 / 0.4982 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.3449, allocations: 207.8 kB / 0.4984 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.3456, allocations: 134 kB / 0.4986 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3475, allocations: 1.157 MB / 0.4997 GB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3479, allocations: 0.8278 MB / 0.5005 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.3482, allocations: 64.38 kB / 0.5006 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3483, allocations: 51.38 kB / 0.5006 GB, free: 1.234 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3483, allocations: 0 / 0.5006 GB, free: 1.234 MB / 378.7 MB Notification: Performance of Templates: time 0.1646/0.513, allocations: 8.131 MB / 0.5086 GB, free: 97.9 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/jenkins1/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