Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 193.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008899/0.00089, allocations: 100.5 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.822e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 51.48 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4695, allocations: 81.42 MB / 476.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4699, allocations: 66.95 kB / 476.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04143/0.5113, allocations: 10.15 MB / 486.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5114, allocations: 0 / 486.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.537e-05/0.5115, allocations: 16 kB / 486.8 MB, free: 3.52 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.002018/0.5135, allocations: 0.7484 MB / 487.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.5136, allocations: 12.03 kB / 487.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.5139, allocations: 70.16 kB / 487.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.5148, allocations: 392.9 kB / 488 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.515, allocations: 54.08 kB / 488.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.5151, allocations: 27.09 kB / 488.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008064/0.5159, allocations: 268.6 kB / 488.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.5168, allocations: 415.2 kB / 488.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5168, allocations: 0 / 488.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.5169, allocations: 4 kB / 488.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5169, allocations: 8 kB / 488.8 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.5202, allocations: 1.255 MB / 490 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5213, allocations: 415.3 kB / 490.4 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.5217, allocations: 150.1 kB / 490.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.5217, allocations: 4 kB / 490.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.5218, allocations: 46.06 kB / 490.6 MB, free: 196 kB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 3.226e-06/0.5218, allocations: 4 kB / 490.6 MB, free: 192 kB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001209/0.523, allocations: 365.6 kB / 491 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002862/0.5233, allocations: 445 kB / 491.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.5241, allocations: 362.2 kB / 491.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.5242, allocations: 29.7 kB / 491.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.5244, allocations: 244.8 kB / 492.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.5246, allocations: 129 kB / 492.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.5247, allocations: 4 kB / 492.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.525, allocations: 357.4 kB / 492.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.5253, allocations: 103.5 kB / 492.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.5259, allocations: 231.5 kB / 492.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.5263, allocations: 128.3 kB / 493 MB, free: 14.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5263, allocations: 224 / 493 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001252/0.5276, allocations: 405.9 kB / 493.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.5277, allocations: 37.62 kB / 493.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5277, allocations: 0 / 493.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.5281, allocations: 62.64 kB / 493.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.5289, allocations: 95.88 kB / 493.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.5321, allocations: 2.629 MB / 496.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.533, allocations: 55.7 kB / 496.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.5331, allocations: 11.69 kB / 496.3 MB, free: 10.83 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.000303/0.5334, allocations: 117.1 kB / 496.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.5336, allocations: 51.44 kB / 496.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.5338, allocations: 57.78 kB / 496.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5338, allocations: 4 kB / 496.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.5339, allocations: 4 kB / 496.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/0.535, allocations: 0.6561 MB / 497.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.5373, allocations: 0.917 MB / 498.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5373, allocations: 0 / 498.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/0.5382, allocations: 103.2 kB / 498.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5383, allocations: 4 kB / 498.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.5383, allocations: 0 / 498.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.5383, allocations: 4 kB / 498.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5384, allocations: 1.969 kB / 498.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5398, allocations: 0.5645 MB / 498.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.5401, allocations: 162.9 kB / 498.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5403, allocations: 7.984 kB / 498.9 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.5408, allocations: 23.98 kB / 498.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.541, allocations: 27.52 kB / 499 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.541, allocations: 7.75 kB / 499 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005387/0.5416, allocations: 284.8 kB / 499.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5416, allocations: 0 / 499.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009082/0.5425, allocations: 139 kB / 499.4 MB, free: 8.086 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.0002976/0.5428, allocations: 115.1 kB / 499.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.5443, allocations: 0.5601 MB / 0.4883 GB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5443, allocations: 0 / 0.4883 GB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.5447, allocations: 149.4 kB / 0.4885 GB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5458, allocations: 106.9 kB / 0.4886 GB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.548, allocations: 0.6331 MB / 0.4892 GB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.5487, allocations: 0.8565 MB / 0.49 GB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.5492, allocations: 52.25 kB / 0.4901 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.5494, allocations: 47.36 kB / 0.4901 GB, free: 5.742 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5494, allocations: 0 / 0.4901 GB, free: 5.742 MB / 362.7 MB Notification: Performance of Templates: time 0.02347/0.5729, allocations: 6.965 MB / 0.4969 GB, free: 14.98 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches