Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.19 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08952, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005586/0.09513, allocations: 5.2 MB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.09729, allocations: 1.367 MB / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.09756, allocations: 8 kB / 365.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.09798, allocations: 170.5 kB / 365.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005485/0.09854, allocations: 329.1 kB / 366 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.09896, allocations: 247.6 kB / 366.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1001, allocations: 1.223 MB / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.1005, allocations: 342.1 kB / 367.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.101, allocations: 474.3 kB / 368.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.1015, allocations: 0.5291 MB / 368.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1017, allocations: 108 kB / 368.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1018, allocations: 112 kB / 369 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.102, allocations: 231.2 kB / 369.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.1025, allocations: 0.5444 MB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1036, allocations: 1.25 MB / 371 MB, free: 1.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1037, allocations: 0 / 371 MB, free: 1.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1037, allocations: 0 / 371 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1037, allocations: 0 / 371 MB, free: 1.191 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.1381/0.2418, allocations: 1.387 MB / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2419, allocations: 9.844 kB / 372.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.2421, allocations: 113.6 kB / 372.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2432, allocations: 0.5961 MB / 373.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.2434, allocations: 147 kB / 373.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.2435, allocations: 61.28 kB / 373.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2449, allocations: 0.8882 MB / 374.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.245, allocations: 5.25 kB / 374.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.245, allocations: 32.69 kB / 374.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.245, allocations: 14.84 kB / 374.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2464, allocations: 0.6239 MB / 374.9 MB, free: 19.03 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.003291/0.2497, allocations: 2.171 MB / 377 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2513, allocations: 1.008 MB / 378 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.2522, allocations: 413.4 kB / 378.4 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.2522, allocations: 15.91 kB / 378.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2523, allocations: 53.19 kB / 378.5 MB, free: 17.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.264e-06/0.2523, allocations: 3.219 kB / 378.5 MB, free: 17.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004785/0.2571, allocations: 1.829 MB / 380.3 MB, free: 16.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.2572, allocations: 0.8229 MB / 381.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.258, allocations: 0.6687 MB / 381.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.258, allocations: 45.73 kB / 381.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.2583, allocations: 349.8 kB / 382.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2584, allocations: 269.7 kB / 382.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.2587, allocations: 149.9 kB / 382.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.2587, allocations: 334.8 kB / 383 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.2594, allocations: 281.6 kB / 383.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.2602, allocations: 0.5604 MB / 383.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2615, allocations: 0.7019 MB / 384.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2615, allocations: 5.969 kB / 384.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002483/0.264, allocations: 1.123 MB / 385.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.264, allocations: 85.27 kB / 385.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2641, allocations: 5.781 kB / 385.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.2648, allocations: 234.9 kB / 385.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.2654, allocations: 147.9 kB / 386.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.272, allocations: 6.927 MB / 393 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/0.2729, allocations: 104.7 kB / 393.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.2729, allocations: 27.97 kB / 393.1 MB, free: 6.07 MB / 302.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.0003288/0.2733, allocations: 226.7 kB / 393.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2734, allocations: 94.41 kB / 393.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.2736, allocations: 102.4 kB / 393.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2736, allocations: 7.312 kB / 393.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.2736, allocations: 0 / 393.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002268/0.2759, allocations: 1.263 MB / 394.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.2794, allocations: 1.983 MB / 396.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2794, allocations: 4 kB / 396.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.2801, allocations: 151 kB / 397 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.2806, allocations: 203.5 kB / 397.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.2807, allocations: 16.12 kB / 397.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/0.2861, allocations: 5.346 MB / 402.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2861, allocations: 1.406 kB / 402.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.2893, allocations: 1.448 MB / 404 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.2897, allocations: 246.5 kB / 404.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.2898, allocations: 18 kB / 404.2 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.2905, allocations: 53.12 kB / 404.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.2907, allocations: 63.14 kB / 404.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.2907, allocations: 27.08 kB / 404.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005666/0.2913, allocations: 479.5 kB / 404.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2913, allocations: 0 / 404.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008043/0.2921, allocations: 289.9 kB / 405.1 MB, free: 13.14 MB / 318.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.0001516/0.2923, allocations: 126.8 kB / 405.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.2944, allocations: 1.376 MB / 406.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.2944, allocations: 5.469 kB / 406.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2957, allocations: 0.7817 MB / 407.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.2967, allocations: 234.2 kB / 407.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.2994, allocations: 1.664 MB / 409.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.2998, allocations: 0.9559 MB / 410.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.3002, allocations: 98.69 kB / 410.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3004, allocations: 75.42 kB / 410.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3005, allocations: 0 / 410.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Templates: time 0.02758/0.328, allocations: 18.69 MB / 429.1 MB, free: 6.066 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches