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.001233/0.001233, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001377/0.001377, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.403/1.403, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.002006/0.002006, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2506, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006558/0.2571, allocations: 5.242 MB / 436.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2598, allocations: 1.374 MB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.2601, allocations: 15.94 kB / 437.8 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.2605, allocations: 170.5 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.2611, allocations: 345.1 kB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2616, allocations: 243.5 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2629, allocations: 1.234 MB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.2633, allocations: 238.1 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.2639, allocations: 494.3 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.2646, allocations: 0.5291 MB / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2647, allocations: 108 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2649, allocations: 112 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.2651, allocations: 231.2 kB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.2656, allocations: 0.5444 MB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.2669, allocations: 1.258 MB / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2669, allocations: 0 / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2669, allocations: 0 / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.2669, allocations: 0 / 443.3 MB, free: 10.54 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.002483/0.2694, allocations: 1.339 MB / 444.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2694, allocations: 8.031 kB / 444.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.2696, allocations: 123.9 kB / 444.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2698, allocations: 120.3 kB / 444.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2708, allocations: 0.5467 MB / 445.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.2711, allocations: 305.2 kB / 445.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.2712, allocations: 60.38 kB / 445.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.2727, allocations: 0.9094 MB / 446.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.2727, allocations: 7.938 kB / 446.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.2728, allocations: 28 kB / 446.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2728, allocations: 19.98 kB / 446.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2743, allocations: 0.6336 MB / 447.4 MB, free: 6.203 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.003531/0.2778, allocations: 2.159 MB / 449.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2794, allocations: 0.7308 MB / 450.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.2802, allocations: 383.2 kB / 450.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/0.2803, allocations: 16.64 kB / 450.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.458e-05/0.2804, allocations: 47.22 kB / 450.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.024e-06/0.2804, allocations: 0 / 450.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004948/0.2853, allocations: 1.531 MB / 452.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004396/0.2858, allocations: 0.8252 MB / 453.1 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.2867, allocations: 0.6686 MB / 453.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.2867, allocations: 41.7 kB / 453.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.287, allocations: 369.2 kB / 454.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.2873, allocations: 281.5 kB / 454.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.2875, allocations: 146.7 kB / 454.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2877, allocations: 334 kB / 454.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/0.2883, allocations: 277.8 kB / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.2893, allocations: 0.5702 MB / 455.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.2907, allocations: 0.709 MB / 456.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2907, allocations: 0 / 456.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002661/0.2933, allocations: 1.122 MB / 457.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.2934, allocations: 85.11 kB / 457.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2934, allocations: 0 / 457.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.2941, allocations: 243.2 kB / 457.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.2948, allocations: 139.8 kB / 458 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.3028, allocations: 6.519 MB / 464.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.3036, allocations: 107.4 kB / 464.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.3036, allocations: 27.94 kB / 464.6 MB, free: 3.906 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.0003591/0.304, allocations: 221.7 kB / 464.9 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3042, allocations: 99.44 kB / 465 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.3043, allocations: 96.52 kB / 465.1 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3043, allocations: 8 kB / 465.1 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3044, allocations: 0 / 465.1 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00255/0.3069, allocations: 1.268 MB / 466.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/0.3109, allocations: 1.943 MB / 468.3 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.3109, allocations: 11.92 kB / 468.3 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.3116, allocations: 143.8 kB / 468.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/0.3123, allocations: 194.4 kB / 468.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.3124, allocations: 19.98 kB / 468.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.3226, allocations: 5.047 MB / 473.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3226, allocations: 320 / 473.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.328, allocations: 1.442 MB / 475.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.3286, allocations: 179.2 kB / 475.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3288, allocations: 20 kB / 475.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000985/0.3298, allocations: 47.95 kB / 475.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.33, allocations: 68.53 kB / 475.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.33, allocations: 23.98 kB / 475.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005909/0.3306, allocations: 475 kB / 475.9 MB, free: 8.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3306, allocations: 0 / 475.9 MB, free: 8.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.3314, allocations: 291.8 kB / 476.2 MB, free: 7.785 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.003592/0.335, allocations: 2.013 MB / 478.2 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.3372, allocations: 1.344 MB / 479.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.3372, allocations: 8.125 kB / 479.6 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3386, allocations: 0.7534 MB / 480.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.3396, allocations: 245.7 kB / 480.6 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.3525, allocations: 7.819 MB / 488.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.3531, allocations: 0.9599 MB / 489.3 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.3535, allocations: 102.7 kB / 489.4 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.3539, allocations: 315.3 kB / 489.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3539, allocations: 4 kB / 489.8 MB, free: 9.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.4275, allocations: 27.3 MB / 0.5049 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.25, allocations: 17.64 kB / 0.505 GB, free: 14.9 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.685975671047345]