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.001046/0.001046, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001232/0.001232, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.414/1.414, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009391/0.0009393, allocations: 51.95 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1107, allocations: 49.45 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007742/0.1185, allocations: 5.18 MB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1212, allocations: 1.316 MB / 356.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.1219, allocations: 12 kB / 356.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.1225, allocations: 170.5 kB / 356.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009857/0.1235, allocations: 337.1 kB / 357.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.1242, allocations: 239.6 kB / 357.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.1257, allocations: 1.229 MB / 358.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.1261, allocations: 346 kB / 359 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.1267, allocations: 470.3 kB / 359.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.1272, allocations: 0.5291 MB / 360 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1273, allocations: 108 kB / 360.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1275, allocations: 112 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1277, allocations: 231.2 kB / 360.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.1282, allocations: 0.5405 MB / 360.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1293, allocations: 1.238 MB / 362.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1293, allocations: 0 / 362.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1293, allocations: 0 / 362.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1293, allocations: 0 / 362.2 MB, free: 8.258 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.002357/0.1317, allocations: 1.39 MB / 363.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1317, allocations: 8.031 kB / 363.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.132, allocations: 119.9 kB / 363.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1322, allocations: 119.6 kB / 363.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.1331, allocations: 0.5987 MB / 364.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.1334, allocations: 174.9 kB / 364.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.1335, allocations: 60.38 kB / 364.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.135, allocations: 0.9294 MB / 365.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.135, allocations: 0 / 365.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.1351, allocations: 32 kB / 365.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.1351, allocations: 16 kB / 365.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1366, allocations: 0.657 MB / 366.3 MB, free: 3.93 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.003518/0.1402, allocations: 2.225 MB / 368.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.142, allocations: 1.032 MB / 369.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.1429, allocations: 431.2 kB / 369.9 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.143, allocations: 16.64 kB / 370 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.143, allocations: 47.22 kB / 370 MB, free: 16 kB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.565e-06/0.143, allocations: 0 / 370 MB, free: 16 kB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1825/0.3256, allocations: 1.865 MB / 371.9 MB, free: 25.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.3257, allocations: 0.8213 MB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.3266, allocations: 0.6713 MB / 373.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.3267, allocations: 44.98 kB / 373.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.3269, allocations: 354.5 kB / 373.8 MB, free: 23.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.3271, allocations: 269 kB / 374 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3273, allocations: 146.3 kB / 374.2 MB, free: 23.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.3274, allocations: 334.2 kB / 374.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007063/0.3281, allocations: 295.6 kB / 374.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.329, allocations: 0.5713 MB / 375.3 MB, free: 22.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.3303, allocations: 0.7339 MB / 376.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3303, allocations: 0 / 376.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002634/0.333, allocations: 1.151 MB / 377.2 MB, free: 21.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.333, allocations: 91.06 kB / 377.3 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3331, allocations: 2.281 kB / 377.3 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.3337, allocations: 233.6 kB / 377.6 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.3344, allocations: 160.1 kB / 377.7 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.341, allocations: 6.931 MB / 384.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3421, allocations: 105.5 kB / 384.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.3422, allocations: 26.84 kB / 384.8 MB, free: 15.35 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.0003339/0.3425, allocations: 229.6 kB / 385 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3427, allocations: 94.3 kB / 385.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.3429, allocations: 93.73 kB / 385.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3429, allocations: 7.844 kB / 385.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3429, allocations: 0 / 385.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002535/0.3455, allocations: 1.293 MB / 386.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.3499, allocations: 2.023 MB / 388.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3499, allocations: 1.125 kB / 388.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.3506, allocations: 157.5 kB / 388.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.3512, allocations: 196.4 kB / 388.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.3513, allocations: 18.25 kB / 388.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.3573, allocations: 5.355 MB / 394.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3574, allocations: 0 / 394.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.3614, allocations: 1.475 MB / 395.7 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.3619, allocations: 247.9 kB / 395.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.362, allocations: 23.09 kB / 396 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.3627, allocations: 56.66 kB / 396 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.3629, allocations: 62.75 kB / 396.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.363, allocations: 25.11 kB / 396.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000706/0.3637, allocations: 476.7 kB / 396.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.3637, allocations: 0 / 396.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009345/0.3647, allocations: 295.5 kB / 396.9 MB, free: 7.203 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.003406/0.3681, allocations: 2.056 MB / 398.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.3706, allocations: 1.427 MB / 400.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3706, allocations: 6.438 kB / 400.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3719, allocations: 0.8049 MB / 401.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.373, allocations: 237.2 kB / 401.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.3855, allocations: 8.414 MB / 409.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.3861, allocations: 0.9597 MB / 410.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000621/0.3867, allocations: 110.7 kB / 410.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.3872, allocations: 319.3 kB / 411.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3872, allocations: 0 / 411.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/0.4457, allocations: 26.3 MB / 437.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.64, allocations: 10.34 kB / 437.5 MB, free: 1.148 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