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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 204.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006656/0.2781, allocations: 4.659 MB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.2811, allocations: 1.316 MB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.2816, allocations: 23.88 kB / 437.1 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.2821, allocations: 162.5 kB / 437.3 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008691/0.2829, allocations: 345.2 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2835, allocations: 239.6 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.2849, allocations: 1.223 MB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.2853, allocations: 234.7 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.286, allocations: 490.3 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.2866, allocations: 465.8 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.2867, allocations: 108 kB / 440.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2869, allocations: 108 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2872, allocations: 231.2 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.2876, allocations: 470 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.289, allocations: 1.265 MB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.289, allocations: 3.938 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.289, allocations: 0 / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.289, allocations: 0 / 442.4 MB, free: 11.11 MB / 350.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.002791/0.2918, allocations: 1.339 MB / 443.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2919, allocations: 15.98 kB / 443.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.2921, allocations: 119.9 kB / 443.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.2923, allocations: 120.3 kB / 444 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2935, allocations: 0.5506 MB / 444.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.2938, allocations: 301.2 kB / 444.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.2939, allocations: 68.36 kB / 444.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.296, allocations: 1.662 MB / 446.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.296, allocations: 3.938 kB / 446.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.2961, allocations: 28 kB / 446.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2961, allocations: 16 kB / 446.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2976, allocations: 0.6297 MB / 447.3 MB, free: 5.84 MB / 350.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.00372/0.3014, allocations: 1.748 MB / 449 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.3031, allocations: 0.7291 MB / 449.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.3039, allocations: 378 kB / 450.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.3039, allocations: 12.64 kB / 450.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.304, allocations: 51.55 kB / 450.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/0.304, allocations: 0 / 450.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.00513/0.3091, allocations: 1.527 MB / 451.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004772/0.3096, allocations: 0.8272 MB / 452.5 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.3107, allocations: 0.6646 MB / 453.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3108, allocations: 45.7 kB / 453.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.3111, allocations: 361.3 kB / 453.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.3114, allocations: 281.5 kB / 453.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.3116, allocations: 146.7 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3118, allocations: 334 kB / 454.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.3126, allocations: 370.9 kB / 454.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3141, allocations: 1.399 MB / 456.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3155, allocations: 0.7051 MB / 456.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3156, allocations: 0 / 456.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002922/0.3185, allocations: 1.205 MB / 458 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.3186, allocations: 89.09 kB / 458.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3186, allocations: 0 / 458.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.3193, allocations: 235.3 kB / 458.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.32, allocations: 147.8 kB / 458.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008484/0.3285, allocations: 6.472 MB / 464.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.3295, allocations: 107.5 kB / 465 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.3296, allocations: 27.92 kB / 465.1 MB, free: 2.828 MB / 366.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.0004422/0.33, allocations: 229.7 kB / 465.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3302, allocations: 95.44 kB / 465.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.3304, allocations: 96.52 kB / 465.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3304, allocations: 8 kB / 465.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3304, allocations: 0 / 465.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002669/0.3331, allocations: 1.26 MB / 466.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.3372, allocations: 1.791 MB / 468.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3372, allocations: 0 / 468.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.3379, allocations: 151.8 kB / 468.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/0.3385, allocations: 198.6 kB / 468.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.3385, allocations: 19.98 kB / 468.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.3454, allocations: 5.004 MB / 473.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3454, allocations: 0 / 473.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.349, allocations: 1.446 MB / 475.3 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.3496, allocations: 183.1 kB / 475.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3498, allocations: 20 kB / 475.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.3504, allocations: 47.95 kB / 475.6 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.3506, allocations: 68.53 kB / 475.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.3507, allocations: 19.98 kB / 475.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.3513, allocations: 475 kB / 476.1 MB, free: 7.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 476.1 MB, free: 7.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009035/0.3522, allocations: 291.8 kB / 476.4 MB, free: 6.898 MB / 382.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.003858/0.3561, allocations: 2.017 MB / 478.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.3587, allocations: 1.415 MB / 479.9 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.3587, allocations: 4 kB / 479.9 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.3601, allocations: 0.7535 MB / 480.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3613, allocations: 247 kB / 480.9 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.3756, allocations: 8.121 MB / 489 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.376, allocations: 371.6 kB / 489.3 MB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000501/0.3765, allocations: 106.7 kB / 489.4 MB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.377, allocations: 319.3 kB / 489.8 MB, free: 9.102 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.377, allocations: 0 / 489.8 MB, free: 9.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.485, allocations: 28.93 MB / 0.5065 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.6, allocations: 4 kB / 0.5065 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.110208386089653]