Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 118 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.86 kB / 306.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09126, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006134/0.09743, allocations: 5.226 MB / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.09975, allocations: 1.355 MB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.1003, allocations: 11.94 kB / 363.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.1009, allocations: 135.1 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008091/0.1017, allocations: 293.7 kB / 364.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.1022, allocations: 211.7 kB / 364.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.1036, allocations: 1.215 MB / 365.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.104, allocations: 342 kB / 365.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.1047, allocations: 474.3 kB / 366.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.1054, allocations: 0.5213 MB / 366.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.1056, allocations: 108 kB / 366.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1058, allocations: 112 kB / 367.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.106, allocations: 239.2 kB / 367.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.1066, allocations: 0.5483 MB / 367.8 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1076, allocations: 1.23 MB / 369.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1076, allocations: 0 / 369.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1076, allocations: 0 / 369.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1076, allocations: 0 / 369.1 MB, free: 2.277 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.002298/0.1099, allocations: 1.383 MB / 370.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.11, allocations: 8.031 kB / 370.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.1101, allocations: 119.9 kB / 370.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1103, allocations: 119.6 kB / 370.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1403/0.2506, allocations: 0.5928 MB / 371.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.2509, allocations: 173.9 kB / 371.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.2511, allocations: 65.69 kB / 371.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.2527, allocations: 0.9154 MB / 372.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2527, allocations: 1.875 kB / 372.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.2528, allocations: 30.62 kB / 372.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2528, allocations: 14.78 kB / 372.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2542, allocations: 0.6631 MB / 373.1 MB, free: 19.37 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.00318/0.2574, allocations: 2.225 MB / 375.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.2589, allocations: 1.018 MB / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.2596, allocations: 432.9 kB / 376.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.2597, allocations: 14.62 kB / 376.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.2597, allocations: 50.69 kB / 376.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/0.2597, allocations: 4 kB / 376.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004744/0.2645, allocations: 1.868 MB / 378.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.2647, allocations: 0.8275 MB / 379.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.2654, allocations: 0.6703 MB / 380.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.2655, allocations: 44.77 kB / 380.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2657, allocations: 359.1 kB / 380.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.2658, allocations: 268.2 kB / 380.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2661, allocations: 147 kB / 381 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.2661, allocations: 341.8 kB / 381.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.2668, allocations: 293.1 kB / 381.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/0.2678, allocations: 0.5833 MB / 382.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.2693, allocations: 0.7206 MB / 383 MB, free: 13.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2693, allocations: 0 / 383 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002518/0.2718, allocations: 1.155 MB / 384.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2719, allocations: 88.44 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2719, allocations: 1.125 kB / 384.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.2725, allocations: 236 kB / 384.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.2732, allocations: 152.6 kB / 384.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.2791, allocations: 6.933 MB / 391.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.28, allocations: 115.8 kB / 391.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.2801, allocations: 27.2 kB / 391.7 MB, free: 6.461 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.0003108/0.2804, allocations: 220.3 kB / 391.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2805, allocations: 95.06 kB / 392 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.2807, allocations: 103 kB / 392.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2807, allocations: 11.16 kB / 392.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.2807, allocations: 1.25 kB / 392.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/0.283, allocations: 1.285 MB / 393.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.2864, allocations: 2.019 MB / 395.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2864, allocations: 256 / 395.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.2871, allocations: 161.9 kB / 395.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.2876, allocations: 203.8 kB / 395.7 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.2876, allocations: 16.11 kB / 395.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.2928, allocations: 5.357 MB / 401.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2928, allocations: 0 / 401.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.296, allocations: 1.477 MB / 402.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.2963, allocations: 245.4 kB / 402.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2964, allocations: 23.25 kB / 402.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.2971, allocations: 62.62 kB / 402.9 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.2973, allocations: 71.03 kB / 403 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.2973, allocations: 17.44 kB / 403 MB, free: 13.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.2979, allocations: 480.5 kB / 403.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 403.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000774/0.2987, allocations: 295 kB / 403.8 MB, free: 13.47 MB / 318.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.003265/0.3019, allocations: 2.052 MB / 405.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.3042, allocations: 1.426 MB / 407.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3042, allocations: 4 kB / 407.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3055, allocations: 0.7998 MB / 408 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.3064, allocations: 239.7 kB / 408.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.32, allocations: 8.671 MB / 416.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.3206, allocations: 0.9676 MB / 417.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004328/0.321, allocations: 106.7 kB / 418 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.3214, allocations: 323.2 kB / 418.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3214, allocations: 0 / 418.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.814/2.135, allocations: 25.79 MB / 444.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/2.136, allocations: 247.5 kB / 444.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/4.793, allocations: 7.562 kB / 444.4 MB, free: 5.914 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches