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.001632/0.001632, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008972, allocations: 90.92 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.79e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09177, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.3883, allocations: 80.6 MB / 468.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.3885, allocations: 69.75 kB / 468.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02542/0.4139, allocations: 10.1 MB / 478.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.414, allocations: 0 / 478.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.414, allocations: 12 kB / 478.2 MB, free: 4.02 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.001168/0.4152, allocations: 0.7498 MB / 479 MB, free: 3.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4152, allocations: 8.031 kB / 479 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.4154, allocations: 71.47 kB / 479.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.4159, allocations: 392 kB / 479.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.416, allocations: 54.41 kB / 479.5 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.4161, allocations: 20 kB / 479.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004938/0.4166, allocations: 265.5 kB / 479.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.4172, allocations: 413.6 kB / 480.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4172, allocations: 7.859 kB / 480.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4173, allocations: 8 kB / 480.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4173, allocations: 8 kB / 480.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.4194, allocations: 1.256 MB / 481.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.4201, allocations: 416.2 kB / 481.9 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.4204, allocations: 148.9 kB / 482 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4204, allocations: 11.95 kB / 482 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4205, allocations: 38.56 kB / 482.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.854e-06/0.4205, allocations: 0 / 482.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007757/0.4212, allocations: 371.8 kB / 482.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002372/0.4215, allocations: 441 kB / 482.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.4219, allocations: 361.3 kB / 483.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.422, allocations: 25.7 kB / 483.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.4222, allocations: 252.5 kB / 483.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4223, allocations: 130 kB / 483.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.4223, allocations: 0 / 483.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4225, allocations: 359.7 kB / 484 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.4227, allocations: 111.9 kB / 484.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4229, allocations: 234.5 kB / 484.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4231, allocations: 123.9 kB / 484.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4232, allocations: 4 kB / 484.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006599/0.4238, allocations: 399.2 kB / 484.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.4239, allocations: 34.95 kB / 484.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4239, allocations: 4.031 kB / 484.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.4241, allocations: 53.69 kB / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.4246, allocations: 95.88 kB / 485 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.4267, allocations: 2.649 MB / 487.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.427, allocations: 47.7 kB / 487.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.4271, allocations: 23.98 kB / 487.7 MB, free: 9.82 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * 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.0001746/0.4273, allocations: 118.4 kB / 487.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.4273, allocations: 51.39 kB / 487.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.4274, allocations: 53.05 kB / 487.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4275, allocations: 4 kB / 487.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4275, allocations: 0 / 487.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005795/0.4281, allocations: 0.6569 MB / 488.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.4293, allocations: 0.9227 MB / 489.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4293, allocations: 0 / 489.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.4298, allocations: 99.88 kB / 489.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4298, allocations: 7.984 kB / 489.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.4298, allocations: 4 kB / 489.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4298, allocations: 0 / 489.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4298, allocations: 0 / 489.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.4305, allocations: 0.5459 MB / 490.2 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.4307, allocations: 172.4 kB / 490.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.4308, allocations: 0 / 490.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.4311, allocations: 32.03 kB / 490.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.4312, allocations: 23.97 kB / 490.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.4312, allocations: 12.17 kB / 490.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002854/0.4315, allocations: 283 kB / 490.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4315, allocations: 0 / 490.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.4319, allocations: 135.7 kB / 490.8 MB, free: 6.523 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 () * 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.0002076/0.4322, allocations: 123.2 kB / 490.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.433, allocations: 0.5532 MB / 491.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.433, allocations: 0 / 491.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.4332, allocations: 144.5 kB / 491.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.4338, allocations: 118 kB / 491.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.435, allocations: 0.6443 MB / 492.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.4354, allocations: 0.8391 MB / 493.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.4357, allocations: 60.25 kB / 493.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4358, allocations: 39.44 kB / 493.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4358, allocations: 0 / 493.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of Templates: time 0.01277/0.4486, allocations: 6.962 MB / 0.4886 GB, free: 13.09 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