Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001138/0.001138, allocations: 181.5 kB / 17.41 MB, free: 4.406 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.643/1.643, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008818/0.0008816, allocations: 85.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003368, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09421/0.3599, allocations: 82.08 MB / 457.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.3601, allocations: 79.95 kB / 457.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.3862, allocations: 10.36 MB / 468.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3863, allocations: 4 kB / 468.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.3863, allocations: 12 kB / 468.2 MB, free: 4.027 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.001376/0.3877, allocations: 0.8355 MB / 469.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3877, allocations: 8.031 kB / 469.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3878, allocations: 68.19 kB / 469.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.3884, allocations: 410.8 kB / 469.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3885, allocations: 67.25 kB / 469.6 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.3886, allocations: 36.38 kB / 469.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/0.3895, allocations: 0.5065 MB / 470.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3895, allocations: 3.938 kB / 470.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.3896, allocations: 16 kB / 470.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3896, allocations: 12 kB / 470.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.3905, allocations: 383.8 kB / 470.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3926, allocations: 1.351 MB / 471.9 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.3935, allocations: 477.1 kB / 472.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3939, allocations: 208.8 kB / 472.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.394, allocations: 7.984 kB / 472.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.394, allocations: 42.5 kB / 472.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.394, allocations: 4 kB / 472.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001697/0.3958, allocations: 0.7891 MB / 473.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.396, allocations: 452.9 kB / 473.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.3965, allocations: 478 kB / 474.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.3966, allocations: 33.7 kB / 474.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3968, allocations: 236.5 kB / 474.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3969, allocations: 145.9 kB / 474.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.3969, allocations: 11.94 kB / 474.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3971, allocations: 362.7 kB / 475.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.3975, allocations: 159.9 kB / 475.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.398, allocations: 300.6 kB / 475.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.3988, allocations: 395.9 kB / 476 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3988, allocations: 0 / 476 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001008/0.3998, allocations: 0.512 MB / 476.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.3998, allocations: 37.64 kB / 476.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3999, allocations: 4.031 kB / 476.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.4, allocations: 50.58 kB / 476.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.4005, allocations: 95.86 kB / 476.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.4027, allocations: 2.748 MB / 479.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.4031, allocations: 63.7 kB / 479.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4031, allocations: 12 kB / 479.5 MB, free: 7.98 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.0002568/0.4034, allocations: 169.8 kB / 479.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.4035, allocations: 59.28 kB / 479.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.4036, allocations: 60.92 kB / 479.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4036, allocations: 4 kB / 479.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4036, allocations: 0 / 479.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000972/0.4046, allocations: 0.7788 MB / 480.5 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4063, allocations: 1.097 MB / 481.6 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4063, allocations: 4 kB / 481.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.4067, allocations: 91.88 kB / 481.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.4068, allocations: 4 kB / 481.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4068, allocations: 11.98 kB / 481.7 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4068, allocations: 4 kB / 481.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4068, allocations: 3.984 kB / 481.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4081, allocations: 0.7253 MB / 482.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.4083, allocations: 164.5 kB / 482.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.4084, allocations: 8 kB / 482.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.4087, allocations: 43.88 kB / 482.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.4088, allocations: 27.95 kB / 482.7 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4088, allocations: 12 kB / 482.7 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.4093, allocations: 342.8 kB / 483.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4093, allocations: 0 / 483.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004826/0.4098, allocations: 151.8 kB / 483.2 MB, free: 4.027 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.0002006/0.41, allocations: 119.1 kB / 483.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.4113, allocations: 0.6885 MB / 484 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4113, allocations: 0 / 484 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.4117, allocations: 207.6 kB / 484.2 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.4125, allocations: 136.6 kB / 484.4 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4145, allocations: 1.191 MB / 485.5 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.4149, allocations: 0.8317 MB / 486.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.4151, allocations: 43.44 kB / 486.4 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of SimCode: time 2.194e-06/0.4151, allocations: 4 kB / 486.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of Templates: time 0.01475/0.4299, allocations: 9.065 MB / 495.5 MB, free: 7.664 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches