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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.000875/0.0008749, allocations: 177 kB / 17.56 MB, free: 6.18 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.194/1.194, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002187/0.0002187, allocations: 15.97 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08033, allocations: 50.4 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004077/0.08444, allocations: 4.797 MB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.08598, allocations: 1.262 MB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.0862, allocations: 8 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.08649, allocations: 135 kB / 358.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.08699, allocations: 297.7 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.08731, allocations: 207.8 kB / 358.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.08821, allocations: 1.167 MB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.08859, allocations: 318.8 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.08894, allocations: 414.3 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.08938, allocations: 497.8 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.08948, allocations: 68 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.0896, allocations: 68 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.08975, allocations: 191.2 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.09015, allocations: 0.5226 MB / 361.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.09096, allocations: 1.167 MB / 363 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09097, allocations: 0 / 363 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09098, allocations: 0 / 363 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.09099, allocations: 0 / 363 MB, free: 8.477 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.001865/0.09286, allocations: 1.236 MB / 364.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.0929, allocations: 12.03 kB / 364.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.09307, allocations: 119.9 kB / 364.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.09323, allocations: 119.6 kB / 364.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.094, allocations: 0.6104 MB / 365.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.09429, allocations: 178.9 kB / 365.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.09439, allocations: 64.38 kB / 365.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.09579, allocations: 0.9406 MB / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.09581, allocations: 0 / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.09588, allocations: 28 kB / 366.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.0959, allocations: 16 kB / 366.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.09738, allocations: 0.7039 MB / 367 MB, free: 4.215 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.002951/0.1003, allocations: 2.229 MB / 369.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.102, allocations: 1.071 MB / 370.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.1029, allocations: 450 kB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.103, allocations: 20.64 kB / 370.8 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.103, allocations: 51.22 kB / 370.8 MB, free: 236 kB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.004e-06/0.103, allocations: 0 / 370.8 MB, free: 236 kB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1415/0.2445, allocations: 2.026 MB / 372.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.2447, allocations: 0.8264 MB / 373.7 MB, free: 22.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.2457, allocations: 0.6679 MB / 374.4 MB, free: 22.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2458, allocations: 42.67 kB / 374.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.2461, allocations: 356 kB / 374.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.2463, allocations: 270.5 kB / 375 MB, free: 22.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.2464, allocations: 63.16 kB / 375.1 MB, free: 22.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.2464, allocations: 331.8 kB / 375.4 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.2471, allocations: 312.6 kB / 375.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009358/0.2481, allocations: 0.5948 MB / 376.3 MB, free: 21.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.2496, allocations: 0.7676 MB / 377.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2496, allocations: 1.312 kB / 377.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002725/0.2523, allocations: 1.234 MB / 378.3 MB, free: 21.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2524, allocations: 85.56 kB / 378.4 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2524, allocations: 0.7031 kB / 378.4 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.253, allocations: 249.4 kB / 378.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.2537, allocations: 166.1 kB / 378.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.2595, allocations: 6.491 MB / 385.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.2603, allocations: 127.3 kB / 385.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.2604, allocations: 27.78 kB / 385.4 MB, free: 15.27 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.0002763/0.2607, allocations: 226.2 kB / 385.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2608, allocations: 92.23 kB / 385.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.261, allocations: 98.03 kB / 385.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.261, allocations: 9.234 kB / 385.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.261, allocations: 1.156 kB / 385.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002426/0.2634, allocations: 1.367 MB / 387.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.2672, allocations: 2.106 MB / 389.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2672, allocations: 1.469 kB / 389.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.2679, allocations: 162.3 kB / 389.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.2684, allocations: 208.6 kB / 389.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.2685, allocations: 18.77 kB / 389.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005063/0.2735, allocations: 5.075 MB / 394.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2736, allocations: 4.062 kB / 394.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.2769, allocations: 1.572 MB / 396.4 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.2772, allocations: 250.8 kB / 396.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2773, allocations: 19.88 kB / 396.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.278, allocations: 79.62 kB / 396.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.2782, allocations: 70.25 kB / 396.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2782, allocations: 15.81 kB / 396.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005072/0.2787, allocations: 480.5 kB / 397.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2788, allocations: 0 / 397.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008609/0.2796, allocations: 291.4 kB / 397.5 MB, free: 7.508 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.003455/0.2831, allocations: 2.15 MB / 399.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.2851, allocations: 1.44 MB / 401.1 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2851, allocations: 3.906 kB / 401.1 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.2863, allocations: 0.8236 MB / 401.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/0.2873, allocations: 223.7 kB / 402.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.2994, allocations: 8.967 MB / 411.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.2999, allocations: 0.9598 MB / 412.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003996/0.3003, allocations: 102.7 kB / 412.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.3007, allocations: 315.3 kB / 412.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3007, allocations: 3.938 kB / 412.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.3407, allocations: 24.51 MB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004512/0.3412, allocations: 249.5 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.743, allocations: 2.391 kB / 437.3 MB, free: 1.797 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches