Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 168.4 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.926e-05, allocations: 3.344 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.009123/0.009142, allocations: 4.679 MB / 329.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.01289, allocations: 1.312 MB / 331.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.01351, allocations: 20.56 kB / 331.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.01404, allocations: 160.1 kB / 331.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009941/0.01503, allocations: 368.3 kB / 331.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.01565, allocations: 248.7 kB / 331.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.0173, allocations: 1.269 MB / 333.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.01774, allocations: 241.6 kB / 333.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.01889, allocations: 0.706 MB / 334 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.01961, allocations: 394.2 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.0198, allocations: 108.9 kB / 334.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.02008, allocations: 109.9 kB / 334.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.02031, allocations: 242.1 kB / 334.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.02091, allocations: 397.1 kB / 335.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.02241, allocations: 1.309 MB / 336.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.02241, allocations: 0 / 336.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02241, allocations: 1.438 kB / 336.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.548e-05/0.02245, allocations: 4 kB / 336.6 MB, free: 8.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003066/0.02552, allocations: 1.321 MB / 337.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.02555, allocations: 8.969 kB / 337.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.02583, allocations: 125.9 kB / 338 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.0269, allocations: 0.5423 MB / 338.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.0272, allocations: 300.3 kB / 338.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.02731, allocations: 61.94 kB / 338.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.02931, allocations: 1.641 MB / 340.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.02933, allocations: 8.172 kB / 340.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.02941, allocations: 32.12 kB / 340.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.02942, allocations: 12 kB / 340.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.03108, allocations: 0.6219 MB / 341.2 MB, free: 4.52 MB / 302.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.003574/0.03465, allocations: 1.624 MB / 342.9 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.03643, allocations: 0.7276 MB / 343.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/0.03733, allocations: 375.2 kB / 344 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.775e-05/0.03739, allocations: 12.66 kB / 344 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.03744, allocations: 51.22 kB / 344 MB, free: 1.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 3.046e-06/0.03745, allocations: 0 / 344 MB, free: 1.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005482/0.04293, allocations: 1.523 MB / 345.5 MB, free: 140 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005164/0.04345, allocations: 0.8234 MB / 346.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.04432, allocations: 0.6136 MB / 347 MB, free: 14.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.383e-05/0.04441, allocations: 45.7 kB / 347 MB, free: 14.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.04474, allocations: 357.2 kB / 347.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.04501, allocations: 277.5 kB / 347.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.04529, allocations: 150.6 kB / 347.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.04551, allocations: 388.5 kB / 348.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.0463, allocations: 366.9 kB / 348.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.04782, allocations: 1.395 MB / 349.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.04938, allocations: 0.7051 MB / 350.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.0494, allocations: 4 kB / 350.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003018/0.05241, allocations: 1.19 MB / 351.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.05248, allocations: 89.09 kB / 351.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.05249, allocations: 0 / 351.9 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007544/0.05325, allocations: 231.3 kB / 352.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.05399, allocations: 151.8 kB / 352.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008787/0.06278, allocations: 6.381 MB / 358.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.06375, allocations: 95.7 kB / 358.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.06383, allocations: 24 kB / 358.8 MB, free: 1.812 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004276/0.06426, allocations: 233.7 kB / 359 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.06447, allocations: 91.47 kB / 359.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.06468, allocations: 88.08 kB / 359.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.06469, allocations: 8 kB / 359.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.06469, allocations: 3.938 kB / 359.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/0.06754, allocations: 1.26 MB / 360.5 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.0719, allocations: 1.725 MB / 362.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.07191, allocations: 0 / 362.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.07271, allocations: 143.8 kB / 362.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006355/0.07335, allocations: 202.4 kB / 362.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.07341, allocations: 12.19 kB / 362.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/0.08058, allocations: 4.943 MB / 367.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.08058, allocations: 4.031 kB / 367.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.08429, allocations: 1.431 MB / 368.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.08476, allocations: 179.2 kB / 369.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.08492, allocations: 24 kB / 369.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.08569, allocations: 51.89 kB / 369.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.08588, allocations: 68.47 kB / 369.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.08594, allocations: 27.98 kB / 369.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.08652, allocations: 439.1 kB / 369.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08653, allocations: 0 / 369.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009597/0.08748, allocations: 291.8 kB / 370 MB, free: 6.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.08768, allocations: 123.2 kB / 370.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.09034, allocations: 1.415 MB / 371.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.09035, allocations: 4 kB / 371.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.0919, allocations: 0.7613 MB / 372.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.09297, allocations: 230.9 kB / 372.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.09618, allocations: 1.53 MB / 374 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.09659, allocations: 358.7 kB / 374.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.09703, allocations: 102.3 kB / 374.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.09723, allocations: 64.48 kB / 374.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.09724, allocations: 0 / 374.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of Templates: time 0.03443/0.1317, allocations: 19.19 MB / 393.7 MB, free: 14.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.155846543610096]