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.001476/0.001476, allocations: 180.2 kB / 16.38 MB, free: 5.762 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.416/1.416, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0007971/0.0007971, allocations: 95.98 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.208, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3084, allocations: 81.33 MB / 482.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3087, allocations: 79.95 kB / 482.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02603/0.3347, allocations: 10.23 MB / 493.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3348, allocations: 0 / 493.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.3348, allocations: 12 kB / 493.1 MB, free: 4.781 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.001318/0.3361, allocations: 0.8352 MB / 494 MB, free: 3.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3362, allocations: 8.031 kB / 494 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3363, allocations: 71.23 kB / 494 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.3369, allocations: 390 kB / 494.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.337, allocations: 66.69 kB / 494.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.3371, allocations: 39.98 kB / 494.5 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.3379, allocations: 0.5071 MB / 495 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.338, allocations: 0 / 495 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.338, allocations: 23.95 kB / 495.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.338, allocations: 8 kB / 495.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.3389, allocations: 383.8 kB / 495.4 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.341, allocations: 1.339 MB / 496.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3421, allocations: 0.5089 MB / 497.3 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.3421, allocations: 4 kB / 497.3 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3421, allocations: 42.56 kB / 497.3 MB, free: 312 kB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.493e-06/0.3422, allocations: 3.938 kB / 497.3 MB, free: 308 kB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.00161/0.3438, allocations: 0.7953 MB / 498.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.344, allocations: 452.9 kB / 498.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.3444, allocations: 417.2 kB / 499 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3445, allocations: 37.7 kB / 499 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3446, allocations: 248.4 kB / 499.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3447, allocations: 130.1 kB / 499.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.3448, allocations: 8 kB / 499.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3449, allocations: 362.8 kB / 499.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3453, allocations: 163.9 kB / 499.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.3458, allocations: 298.4 kB / 0.4885 GB, free: 13.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.3462, allocations: 216.3 kB / 0.4887 GB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3462, allocations: 0 / 0.4887 GB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009786/0.3472, allocations: 0.5243 MB / 0.4892 GB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3472, allocations: 29.7 kB / 0.4892 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3472, allocations: 0 / 0.4892 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.3474, allocations: 57.69 kB / 0.4893 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.3478, allocations: 95.88 kB / 0.4894 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.35, allocations: 2.768 MB / 0.4921 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3504, allocations: 67.61 kB / 0.4921 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3504, allocations: 12 kB / 0.4922 GB, free: 9.137 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.0002037/0.3507, allocations: 177.7 kB / 0.4923 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.3507, allocations: 51.44 kB / 0.4924 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3509, allocations: 56.92 kB / 0.4924 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3509, allocations: 4 kB / 0.4924 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3509, allocations: 0 / 0.4924 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000931/0.3518, allocations: 0.7818 MB / 0.4932 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.3534, allocations: 1.097 MB / 0.4943 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3534, allocations: 0 / 0.4943 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3539, allocations: 99.88 kB / 0.4944 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3539, allocations: 4 kB / 0.4944 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.354, allocations: 4 kB / 0.4944 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.354, allocations: 4 kB / 0.4944 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.354, allocations: 3.984 kB / 0.4944 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3552, allocations: 0.7373 MB / 0.4951 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.3554, allocations: 172.4 kB / 0.4953 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3555, allocations: 8 kB / 0.4953 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.3558, allocations: 39.97 kB / 0.4953 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.3559, allocations: 23.95 kB / 0.4953 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.3559, allocations: 8 kB / 0.4953 GB, free: 5.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.3563, allocations: 342.9 kB / 0.4957 GB, free: 5.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3563, allocations: 0 / 0.4957 GB, free: 5.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.3567, allocations: 147.8 kB / 0.4958 GB, free: 5.18 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.0001721/0.3569, allocations: 123.5 kB / 0.4959 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.3581, allocations: 0.6837 MB / 0.4966 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3581, allocations: 4 kB / 0.4966 GB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.3585, allocations: 199.8 kB / 0.4968 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.3591, allocations: 141.8 kB / 0.4969 GB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3606, allocations: 1.16 MB / 0.4981 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.361, allocations: 0.8434 MB / 0.4989 GB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.3613, allocations: 64.36 kB / 0.4989 GB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3614, allocations: 43.44 kB / 0.499 GB, free: 1.824 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3614, allocations: 0 / 0.499 GB, free: 1.824 MB / 378.7 MB Notification: Performance of Templates: time 0.174/0.5354, allocations: 7.944 MB / 0.5067 GB, free: 44.18 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