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.001369/0.001369, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.0009942/0.0009942, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.275/1.275, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 44.61 kB / 299.9 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08425, allocations: 49.44 MB / 349.4 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00608/0.09037, allocations: 5.206 MB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.09288, allocations: 1.324 MB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.09346, allocations: 15.94 kB / 355.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.09395, allocations: 131 kB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006822/0.09464, allocations: 301.7 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.09506, allocations: 203.8 kB / 356.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009297/0.096, allocations: 1.182 MB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.09641, allocations: 307.1 kB / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.0968, allocations: 438.3 kB / 358.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.09725, allocations: 0.4978 MB / 359 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.09739, allocations: 80 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.09756, allocations: 76 kB / 359.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.09773, allocations: 207.2 kB / 359.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.09818, allocations: 0.5092 MB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.09909, allocations: 1.203 MB / 361 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0991, allocations: 3.938 kB / 361 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.09911, allocations: 0 / 361 MB, free: 9.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.09912, allocations: 3.938 kB / 361 MB, free: 9.176 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.002343/0.1015, allocations: 1.391 MB / 362.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1015, allocations: 8.031 kB / 362.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.1017, allocations: 115.7 kB / 362.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.1025, allocations: 0.591 MB / 363.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.1028, allocations: 166.9 kB / 363.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1029, allocations: 72.34 kB / 363.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1044, allocations: 0.9057 MB / 364.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1045, allocations: 0 / 364.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.1045, allocations: 31.94 kB / 364.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1046, allocations: 16 kB / 364.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1061, allocations: 0.657 MB / 365 MB, free: 4.992 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.003244/0.1093, allocations: 2.17 MB / 367.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1111, allocations: 1.028 MB / 368.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/0.1119, allocations: 435.2 kB / 368.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.112, allocations: 12.66 kB / 368.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.112, allocations: 47.22 kB / 368.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.094e-06/0.112, allocations: 0 / 368.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1507/0.2627, allocations: 1.874 MB / 370.5 MB, free: 25.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.2629, allocations: 0.8273 MB / 371.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.2637, allocations: 0.6624 MB / 372 MB, free: 24.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.2638, allocations: 46.22 kB / 372.1 MB, free: 24.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.2641, allocations: 350.6 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.2643, allocations: 271.5 kB / 372.7 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.2645, allocations: 149.8 kB / 372.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2646, allocations: 333.4 kB / 373.1 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.2653, allocations: 294.9 kB / 373.4 MB, free: 23.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/0.2662, allocations: 0.5778 MB / 374 MB, free: 23.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2676, allocations: 0.7234 MB / 374.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2676, allocations: 0 / 374.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002706/0.2703, allocations: 1.157 MB / 375.9 MB, free: 22.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2704, allocations: 84.38 kB / 376 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2704, allocations: 1.25 kB / 376 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.271, allocations: 234 kB / 376.2 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.2717, allocations: 152.6 kB / 376.4 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.2777, allocations: 6.372 MB / 382.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.2787, allocations: 112.5 kB / 382.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.2788, allocations: 28.16 kB / 382.9 MB, free: 16.45 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.0003153/0.2791, allocations: 225.9 kB / 383.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.2793, allocations: 90.47 kB / 383.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.2794, allocations: 99.39 kB / 383.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2794, allocations: 7.625 kB / 383.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.2794, allocations: 2.938 kB / 383.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002408/0.2819, allocations: 1.289 MB / 384.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.2857, allocations: 2.014 MB / 386.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2857, allocations: 0.7969 kB / 386.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.2865, allocations: 153.5 kB / 386.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.287, allocations: 197.8 kB / 386.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.287, allocations: 18.2 kB / 386.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.2921, allocations: 4.921 MB / 391.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2921, allocations: 0 / 391.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.2954, allocations: 1.479 MB / 393.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.2957, allocations: 254.1 kB / 393.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2958, allocations: 19.19 kB / 393.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.2965, allocations: 60.83 kB / 393.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2967, allocations: 64.77 kB / 393.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.2967, allocations: 21.02 kB / 393.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.2973, allocations: 480 kB / 394.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2973, allocations: 0 / 394.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008652/0.2982, allocations: 289 kB / 394.5 MB, free: 8.812 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 (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.0001282/0.2983, allocations: 124 kB / 394.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.3003, allocations: 1.404 MB / 396 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3003, allocations: 2.312 kB / 396 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3016, allocations: 0.7881 MB / 396.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.3025, allocations: 232.4 kB / 397 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3049, allocations: 1.94 MB / 399 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3053, allocations: 0.952 MB / 399.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.3057, allocations: 109.7 kB / 400 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.3059, allocations: 70.42 kB / 400.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3059, allocations: 4 kB / 400.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of Templates: time 0.02585/0.3317, allocations: 17.29 MB / 417.4 MB, free: 5.188 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