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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001486/0.001492, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002346/0.002346, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.79/2.79, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 60.09 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4975, allocations: 50.56 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.008185/0.5057, allocations: 3.751 MB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.5091, allocations: 1.028 MB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007153/0.5099, allocations: 7.938 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.5107, allocations: 115 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.512, allocations: 194.3 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.5128, allocations: 139.8 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.5144, allocations: 0.7042 MB / 415.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.5151, allocations: 210.4 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.5158, allocations: 275 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007634/0.5166, allocations: 310.6 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.5168, allocations: 60 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.5171, allocations: 60 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.5174, allocations: 127.6 kB / 416.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.518, allocations: 322.5 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5195, allocations: 0.7138 MB / 417.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5195, allocations: 0 / 417.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5195, allocations: 0 / 417.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.5196, allocations: 3.938 kB / 417.9 MB, free: 9.547 MB / 334.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.003017/0.5226, allocations: 0.9131 MB / 418.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5227, allocations: 11.97 kB / 418.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.523, allocations: 72.19 kB / 418.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.5245, allocations: 446.8 kB / 419.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.5247, allocations: 55.27 kB / 419.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.5249, allocations: 36.38 kB / 419.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5265, allocations: 0.4982 MB / 419.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.5266, allocations: 4 kB / 419.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.5267, allocations: 16 kB / 420 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.5267, allocations: 8 kB / 420 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5282, allocations: 355.7 kB / 420.3 MB, free: 6.996 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.5321, allocations: 1.335 MB / 421.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.5337, allocations: 458.6 kB / 422.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.5344, allocations: 192.4 kB / 422.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-05/0.5345, allocations: 8 kB / 422.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.5346, allocations: 42.88 kB / 422.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 5.811e-06/0.5346, allocations: 0 / 422.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.002958/0.5375, allocations: 0.7393 MB / 423.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002682/0.5378, allocations: 448.9 kB / 423.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5389, allocations: 478 kB / 424 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.539, allocations: 37.7 kB / 424 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.5393, allocations: 248.5 kB / 424.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5395, allocations: 130 kB / 424.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.5398, allocations: 81.64 kB / 424.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.5401, allocations: 358.8 kB / 424.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.5408, allocations: 143.9 kB / 424.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.5417, allocations: 290.4 kB / 425.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.5431, allocations: 354.6 kB / 425.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5431, allocations: 0 / 425.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002238/0.5454, allocations: 0.492 MB / 426.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.5455, allocations: 29.7 kB / 426.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5455, allocations: 3.938 kB / 426.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.5459, allocations: 57.62 kB / 426.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.5468, allocations: 83.97 kB / 426.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.5511, allocations: 2.953 MB / 429.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.552, allocations: 63.59 kB / 429.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.5521, allocations: 12 kB / 429.3 MB, free: 13.33 MB / 350.1 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004998/0.5526, allocations: 177.7 kB / 429.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.5529, allocations: 51.44 kB / 429.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.5531, allocations: 60.92 kB / 429.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5531, allocations: 7.938 kB / 429.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5531, allocations: 3.938 kB / 429.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001676/0.5548, allocations: 0.7397 MB / 430.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.5583, allocations: 1.044 MB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.5583, allocations: 7.938 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009848/0.5593, allocations: 91.88 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.5594, allocations: 0 / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.5594, allocations: 11.98 kB / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5594, allocations: 4 kB / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5595, allocations: 0 / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.562, allocations: 0.6722 MB / 432.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.5626, allocations: 176.3 kB / 432.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.5628, allocations: 8 kB / 432.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.5635, allocations: 31.91 kB / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5637, allocations: 27.95 kB / 432.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.5637, allocations: 8 kB / 432.4 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008276/0.5646, allocations: 338.9 kB / 432.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5646, allocations: 64 / 432.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000941/0.5656, allocations: 143.8 kB / 432.8 MB, free: 9.535 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.5658, allocations: 107.2 kB / 433 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.5681, allocations: 0.6527 MB / 433.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5681, allocations: 4 kB / 433.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.5689, allocations: 183.8 kB / 433.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.5703, allocations: 149.8 kB / 433.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.5738, allocations: 0.9753 MB / 434.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007544/0.5746, allocations: 0.8353 MB / 435.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.575, allocations: 43.44 kB / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.575, allocations: 4 kB / 435.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Templates: time 0.02566/0.6007, allocations: 9.262 MB / 445.1 MB, free: 13.29 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches