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.00139/0.00139, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.76/1.76, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009143/0.0009142, allocations: 86.66 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002919, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3797, allocations: 82 MB / 457.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.38, allocations: 75.95 kB / 457.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02709/0.4071, allocations: 10.37 MB / 468.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4071, allocations: 0 / 468.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.4072, allocations: 8 kB / 468.3 MB, free: 4.148 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.001428/0.4086, allocations: 0.8353 MB / 469.1 MB, free: 3.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4087, allocations: 8.031 kB / 469.1 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.4088, allocations: 71.23 kB / 469.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.4094, allocations: 398 kB / 469.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.4096, allocations: 62.98 kB / 469.6 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.4096, allocations: 36 kB / 469.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.4105, allocations: 0.5059 MB / 470.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4106, allocations: 3.906 kB / 470.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.4106, allocations: 20 kB / 470.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4106, allocations: 8 kB / 470.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.4115, allocations: 387.8 kB / 470.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.4137, allocations: 1.347 MB / 471.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4148, allocations: 0.5105 MB / 472.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4149, allocations: 4 kB / 472.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.4149, allocations: 38.56 kB / 472.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.043e-06/0.4149, allocations: 0 / 472.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001679/0.4166, allocations: 0.7944 MB / 473.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002596/0.4169, allocations: 460.6 kB / 473.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.4174, allocations: 417.2 kB / 474.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.4175, allocations: 37.64 kB / 474.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.4177, allocations: 248.4 kB / 474.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4178, allocations: 130.1 kB / 474.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.4178, allocations: 8 kB / 474.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.418, allocations: 366.7 kB / 474.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.4184, allocations: 159.9 kB / 475 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.4189, allocations: 298.5 kB / 475.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.4193, allocations: 210.4 kB / 475.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4193, allocations: 0 / 475.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001041/0.4203, allocations: 0.5204 MB / 476.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.4204, allocations: 37.67 kB / 476.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4204, allocations: 0 / 476.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.4206, allocations: 57.69 kB / 476.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.4211, allocations: 95.88 kB / 476.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.4234, allocations: 2.768 MB / 479 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.4239, allocations: 71.61 kB / 479.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4239, allocations: 12 kB / 479.1 MB, free: 8.492 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.0002557/0.4242, allocations: 169.8 kB / 479.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.4243, allocations: 51.44 kB / 479.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4244, allocations: 56.92 kB / 479.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4244, allocations: 4 kB / 479.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4244, allocations: 0 / 479.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.4255, allocations: 0.7829 MB / 480.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.4272, allocations: 1.1 MB / 481.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4272, allocations: 0 / 481.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.4277, allocations: 95.88 kB / 481.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4277, allocations: 4 kB / 481.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4277, allocations: 7.953 kB / 481.4 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4277, allocations: 7.938 kB / 481.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4277, allocations: 3.984 kB / 481.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.429, allocations: 0.7216 MB / 482.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.4293, allocations: 168.4 kB / 482.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.4293, allocations: 8 kB / 482.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.4296, allocations: 43.92 kB / 482.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.4297, allocations: 32.02 kB / 482.3 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4298, allocations: 4 kB / 482.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003915/0.4302, allocations: 338.9 kB / 482.7 MB, free: 4.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4302, allocations: 0 / 482.7 MB, free: 4.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.4307, allocations: 151.8 kB / 482.8 MB, free: 4.551 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.0002378/0.4309, allocations: 119.1 kB / 482.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4322, allocations: 0.6921 MB / 483.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4322, allocations: 0 / 483.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.4326, allocations: 211.5 kB / 483.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.4333, allocations: 131.9 kB / 484 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.4353, allocations: 1.148 MB / 485.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.4357, allocations: 0.8434 MB / 486 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.436, allocations: 68.36 kB / 486 MB, free: 1.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.4361, allocations: 39.44 kB / 486.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of SimCode: time 3.887e-06/0.4361, allocations: 0 / 486.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of Templates: time 0.01437/0.4505, allocations: 7.962 MB / 494 MB, free: 9.27 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/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