Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009315/0.0009316, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.6 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007945/0.0007945, allocations: 97.62 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002928, allocations: 8 kB / 356.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2456, allocations: 51.29 MB / 408 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003489/0.2491, allocations: 4.54 MB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.2513, allocations: 1.252 MB / 413.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.2519, allocations: 15.88 kB / 413.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.2523, allocations: 115.1 kB / 414 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007616/0.2531, allocations: 289.7 kB / 414.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.2536, allocations: 175.7 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.2547, allocations: 1.131 MB / 415.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.2551, allocations: 314.9 kB / 415.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.2556, allocations: 402.5 kB / 416.3 MB, free: 19.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.2562, allocations: 478 kB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.2564, allocations: 68 kB / 416.8 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.2566, allocations: 68 kB / 416.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2567, allocations: 187.2 kB / 417 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.2572, allocations: 0.5034 MB / 417.5 MB, free: 18.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.2578, allocations: 0.9163 MB / 418.5 MB, free: 17.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2578, allocations: 0 / 418.5 MB, free: 17.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2578, allocations: 4 kB / 418.5 MB, free: 17.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.2578, allocations: 3.938 kB / 418.5 MB, free: 17.27 MB / 298.7 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.002085/0.2599, allocations: 1.232 MB / 419.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.26, allocations: 8.031 kB / 419.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.2602, allocations: 119.7 kB / 419.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.2611, allocations: 0.5988 MB / 420.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.2614, allocations: 178.9 kB / 420.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2615, allocations: 64.38 kB / 420.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2628, allocations: 0.9057 MB / 421.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2628, allocations: 0 / 421.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.2629, allocations: 32 kB / 421.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2629, allocations: 16 kB / 421.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2643, allocations: 0.6883 MB / 422.3 MB, free: 13.2 MB / 298.7 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.002944/0.2672, allocations: 2.19 MB / 424.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.2687, allocations: 1.059 MB / 425.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.2694, allocations: 444 kB / 426 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.2695, allocations: 16.66 kB / 426 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2695, allocations: 47.22 kB / 426 MB, free: 9.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.444e-06/0.2695, allocations: 0 / 426 MB, free: 9.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.004663/0.2742, allocations: 2.031 MB / 428.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.2744, allocations: 0.8272 MB / 428.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.275, allocations: 0.6645 MB / 429.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.2751, allocations: 49.64 kB / 429.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.2753, allocations: 349 kB / 430 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2755, allocations: 264.1 kB / 430.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.2755, allocations: 20 kB / 430.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.2756, allocations: 330 kB / 430.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.2762, allocations: 313.8 kB / 430.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.277, allocations: 0.5975 MB / 431.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.2783, allocations: 0.7559 MB / 432.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2783, allocations: 0 / 432.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002391/0.2807, allocations: 1.219 MB / 433.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.2807, allocations: 85.11 kB / 433.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2807, allocations: 0 / 433.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.2814, allocations: 255.2 kB / 433.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.282, allocations: 155.8 kB / 433.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.2893, allocations: 6.496 MB / 440.4 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2905, allocations: 123.3 kB / 440.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.2906, allocations: 24 kB / 440.6 MB, free: 9.715 MB / 314.7 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.0004808/0.2911, allocations: 225.7 kB / 440.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.2913, allocations: 94.91 kB / 440.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.2916, allocations: 96.53 kB / 441 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2916, allocations: 12 kB / 441 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2916, allocations: 0 / 441 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00269/0.2943, allocations: 1.354 MB / 442.3 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/0.2984, allocations: 2.102 MB / 444.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2985, allocations: 4 kB / 444.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.2992, allocations: 159.8 kB / 444.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/0.2998, allocations: 210.7 kB / 444.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.2999, allocations: 16 kB / 444.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00627/0.3061, allocations: 5.067 MB / 449.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3062, allocations: 0 / 449.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.3099, allocations: 1.57 MB / 451.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.3104, allocations: 251.8 kB / 451.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.3106, allocations: 20 kB / 451.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.3113, allocations: 71.95 kB / 451.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.3116, allocations: 68.67 kB / 451.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.3116, allocations: 20 kB / 451.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006014/0.3122, allocations: 475 kB / 452.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3122, allocations: 4 kB / 452.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000921/0.3132, allocations: 287.7 kB / 452.6 MB, free: 13 MB / 330.7 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.0002149/0.3134, allocations: 127.1 kB / 452.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.3159, allocations: 1.426 MB / 454.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3159, allocations: 0 / 454.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.3174, allocations: 0.8316 MB / 455 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3187, allocations: 226 kB / 455.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.3218, allocations: 2.012 MB / 457.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.3224, allocations: 0.9559 MB / 458.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.3226, allocations: 71.42 kB / 458.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3226, allocations: 0 / 458.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of Templates: time 0.02657/0.3492, allocations: 23.33 MB / 481.6 MB, free: 15.91 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches