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.002146/0.002145, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 93.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.998e-05, allocations: 0 / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.5623, allocations: 81.24 MB / 443.6 MB, free: 5.078 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5627, allocations: 71.97 kB / 443.6 MB, free: 5.008 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05518/0.6179, allocations: 10.23 MB / 453.9 MB, free: 10.77 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.618, allocations: 0 / 453.9 MB, free: 10.77 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.618, allocations: 10.16 kB / 453.9 MB, free: 10.76 MB / 347.1 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.001834/0.6199, allocations: 0.7628 MB / 454.7 MB, free: 9.949 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6199, allocations: 8.031 kB / 454.7 MB, free: 9.941 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.6202, allocations: 67.25 kB / 454.7 MB, free: 9.875 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.6211, allocations: 392 kB / 455.1 MB, free: 9.449 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.6212, allocations: 46.83 kB / 455.2 MB, free: 9.398 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.273e-05/0.6213, allocations: 31.84 kB / 455.2 MB, free: 9.367 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000824/0.6222, allocations: 261.5 kB / 455.4 MB, free: 9.109 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.6231, allocations: 409.3 kB / 455.8 MB, free: 8.656 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6232, allocations: 4 kB / 455.8 MB, free: 8.652 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.6232, allocations: 4 kB / 455.8 MB, free: 8.648 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.6233, allocations: 8 kB / 455.9 MB, free: 8.641 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.627, allocations: 1.266 MB / 457.1 MB, free: 7.312 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.6282, allocations: 416.4 kB / 457.5 MB, free: 6.875 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.6286, allocations: 149.3 kB / 457.7 MB, free: 6.727 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.6287, allocations: 8 kB / 457.7 MB, free: 6.719 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.6288, allocations: 38.56 kB / 457.7 MB, free: 6.672 MB / 347.1 MB Notification: Performance of pre-optimization done (n=38): time 3.356e-06/0.6288, allocations: 0 / 457.7 MB, free: 6.672 MB / 347.1 MB Notification: Performance of matching and sorting (n=38): time 0.001224/0.63, allocations: 368.4 kB / 458.1 MB, free: 6.305 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.6303, allocations: 445 kB / 458.5 MB, free: 5.766 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.631, allocations: 361.3 kB / 458.9 MB, free: 5.402 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.6311, allocations: 25.7 kB / 458.9 MB, free: 5.371 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.6314, allocations: 283.6 kB / 459.2 MB, free: 5.094 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6316, allocations: 126.1 kB / 459.3 MB, free: 4.969 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6316, allocations: 0 / 459.3 MB, free: 4.969 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6318, allocations: 330.8 kB / 459.6 MB, free: 4.637 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.6321, allocations: 103.9 kB / 459.7 MB, free: 4.535 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.6326, allocations: 238.6 kB / 460 MB, free: 4.25 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.633, allocations: 132.8 kB / 460.1 MB, free: 4.125 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.633, allocations: 2.438 kB / 460.1 MB, free: 4.125 MB / 347.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001166/0.6342, allocations: 359 kB / 460.4 MB, free: 3.762 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.6343, allocations: 37.73 kB / 460.5 MB, free: 3.719 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6343, allocations: 0 / 460.5 MB, free: 3.719 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.6347, allocations: 57.67 kB / 460.5 MB, free: 3.656 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.6355, allocations: 95.88 kB / 460.6 MB, free: 3.562 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.6387, allocations: 2.637 MB / 463.3 MB, free: 0.6914 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.6395, allocations: 51.7 kB / 463.3 MB, free: 0.6406 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.6396, allocations: 11.98 kB / 463.3 MB, free: 0.6289 MB / 347.1 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.0002668/0.6399, allocations: 126.2 kB / 463.4 MB, free: 0.5 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.64, allocations: 51.44 kB / 463.5 MB, free: 460 kB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.6402, allocations: 49.05 kB / 463.5 MB, free: 408 kB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.6402, allocations: 4 kB / 463.5 MB, free: 404 kB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6402, allocations: 7.938 kB / 463.6 MB, free: 396 kB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009665/0.6412, allocations: 0.6618 MB / 464.2 MB, free: 15.62 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.6433, allocations: 0.9171 MB / 465.1 MB, free: 14.66 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.6434, allocations: 0 / 465.1 MB, free: 14.66 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.6443, allocations: 107.8 kB / 465.2 MB, free: 14.55 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.6443, allocations: 0 / 465.2 MB, free: 14.55 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.6443, allocations: 7.984 kB / 465.2 MB, free: 14.54 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.6444, allocations: 0 / 465.2 MB, free: 14.54 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6444, allocations: 0 / 465.2 MB, free: 14.54 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.6457, allocations: 0.5561 MB / 465.8 MB, free: 13.97 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.646, allocations: 168.5 kB / 466 MB, free: 13.79 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.6462, allocations: 0 / 466 MB, free: 13.79 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.6467, allocations: 32.03 kB / 466 MB, free: 13.75 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6469, allocations: 27.72 kB / 466 MB, free: 13.73 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.6469, allocations: 15.98 kB / 466 MB, free: 13.71 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.6474, allocations: 279 kB / 466.3 MB, free: 13.44 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6474, allocations: 0 / 466.3 MB, free: 13.44 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0007084/0.6482, allocations: 139.7 kB / 466.4 MB, free: 13.3 MB / 363.1 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.0002209/0.6484, allocations: 107.2 kB / 466.6 MB, free: 13.19 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.6497, allocations: 0.5573 MB / 467.1 MB, free: 12.6 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6497, allocations: 0 / 467.1 MB, free: 12.6 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.6501, allocations: 151.6 kB / 467.3 MB, free: 12.45 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6512, allocations: 118.7 kB / 467.4 MB, free: 12.35 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.6533, allocations: 0.6684 MB / 468 MB, free: 11.65 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.654, allocations: 0.8468 MB / 468.9 MB, free: 10.77 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.6543, allocations: 43.44 kB / 468.9 MB, free: 10.73 MB / 363.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6543, allocations: 0 / 468.9 MB, free: 10.73 MB / 363.1 MB Notification: Performance of Templates: time 0.01917/0.6735, allocations: 8.49 MB / 477.4 MB, free: 2.289 MB / 363.1 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