Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 89.17 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 185.9 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 241.2 MB, free: 288 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002406, allocations: 4 kB / 300.8 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08386, allocations: 50.42 MB / 351.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004482/0.08837, allocations: 4.532 MB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.09072, allocations: 1.211 MB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.09132, allocations: 15.94 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.09179, allocations: 111.1 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.09268, allocations: 285.7 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.09319, allocations: 183.7 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.09453, allocations: 1.074 MB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.09501, allocations: 296.8 kB / 358.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005972/0.09562, allocations: 414.5 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.09638, allocations: 474.1 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.09665, allocations: 68 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.09702, allocations: 68 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.09727, allocations: 191.3 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.09764, allocations: 209.2 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.09864, allocations: 0.9153 MB / 361.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.09866, allocations: 0 / 361.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09866, allocations: 0 / 361.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.0987, allocations: 0 / 361.2 MB, free: 9.957 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.002463/0.1012, allocations: 1.239 MB / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1012, allocations: 15.97 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.1015, allocations: 114.8 kB / 362.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1025, allocations: 0.5786 MB / 363.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.1029, allocations: 170.4 kB / 363.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.103, allocations: 64 kB / 363.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1048, allocations: 0.9134 MB / 364.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1048, allocations: 3.906 kB / 364.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.1049, allocations: 31.95 kB / 364.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.1049, allocations: 12 kB / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.1065, allocations: 0.6844 MB / 365.1 MB, free: 5.898 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.003768/0.1103, allocations: 2.19 MB / 367.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1121, allocations: 1.072 MB / 368.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.113, allocations: 443.2 kB / 368.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.336e-05/0.113, allocations: 16.64 kB / 368.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1131, allocations: 47.22 kB / 368.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.174e-06/0.1131, allocations: 7.938 kB / 368.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1587/0.2718, allocations: 2.018 MB / 370.8 MB, free: 24.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.272, allocations: 0.8228 MB / 371.7 MB, free: 23.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.273, allocations: 0.6589 MB / 372.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.2732, allocations: 43.61 kB / 372.4 MB, free: 23.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.2734, allocations: 350.4 kB / 372.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.2736, allocations: 276.1 kB / 373 MB, free: 23.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.2737, allocations: 17.28 kB / 373 MB, free: 23.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.2737, allocations: 331.5 kB / 373.3 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.2744, allocations: 312.6 kB / 373.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009723/0.2754, allocations: 0.5911 MB / 374.2 MB, free: 22.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.2763, allocations: 439.6 kB / 374.6 MB, free: 22.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2763, allocations: 0 / 374.6 MB, free: 22.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00258/0.2789, allocations: 1.223 MB / 375.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.2789, allocations: 89.98 kB / 376 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2789, allocations: 4 kB / 376 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.2796, allocations: 244.8 kB / 376.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.2802, allocations: 163.2 kB / 376.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/0.2863, allocations: 6.477 MB / 382.8 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/0.2872, allocations: 134.9 kB / 383 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.2873, allocations: 22.83 kB / 383 MB, free: 16.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.2876, allocations: 220.3 kB / 383.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2877, allocations: 90.94 kB / 383.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.2879, allocations: 101.5 kB / 383.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2879, allocations: 9.797 kB / 383.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.2879, allocations: 0 / 383.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/0.2903, allocations: 1.365 MB / 384.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.2941, allocations: 2.095 MB / 386.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2941, allocations: 1.031 kB / 386.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.2948, allocations: 161.7 kB / 387 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.2953, allocations: 217.7 kB / 387.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.2954, allocations: 19.89 kB / 387.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.3003, allocations: 5.053 MB / 392.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3004, allocations: 0 / 392.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.3036, allocations: 1.565 MB / 393.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.304, allocations: 250.3 kB / 394.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3041, allocations: 19.22 kB / 394.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.3047, allocations: 70.94 kB / 394.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3049, allocations: 67.55 kB / 394.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.3049, allocations: 17.5 kB / 394.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005113/0.3054, allocations: 476.7 kB / 394.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3055, allocations: 4 kB / 394.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008671/0.3063, allocations: 292.9 kB / 395 MB, free: 8.41 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.3065, allocations: 123.5 kB / 395.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.3085, allocations: 1.427 MB / 396.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3085, allocations: 7.875 kB / 396.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3096, allocations: 0.8255 MB / 397.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.3105, allocations: 229.5 kB / 397.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.3129, allocations: 1.982 MB / 399.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3133, allocations: 0.9556 MB / 400.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.3137, allocations: 103 kB / 400.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3139, allocations: 65.75 kB / 400.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3139, allocations: 0 / 400.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Templates: time 0.02492/0.3388, allocations: 16.51 MB / 417.3 MB, free: 5.539 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches