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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 181.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.92 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 52.18 MB / 422.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006432/0.2363, allocations: 5.233 MB / 427.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.2385, allocations: 1.339 MB / 429.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.2388, allocations: 11.94 kB / 429.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.2392, allocations: 174.5 kB / 429.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.2398, allocations: 341.1 kB / 429.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.2403, allocations: 239.6 kB / 430 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.2416, allocations: 1.227 MB / 431.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.2419, allocations: 242.1 kB / 431.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.2425, allocations: 486.3 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.2431, allocations: 0.5329 MB / 432.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.2433, allocations: 112 kB / 432.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2434, allocations: 108 kB / 432.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.2436, allocations: 235.2 kB / 432.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.2442, allocations: 0.5405 MB / 433.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.2455, allocations: 1.258 MB / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2455, allocations: 0 / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2455, allocations: 0 / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2455, allocations: 4 kB / 434.7 MB, free: 2.348 MB / 334.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.002547/0.248, allocations: 1.335 MB / 436 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2481, allocations: 16.03 kB / 436 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.2482, allocations: 127.9 kB / 436.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2484, allocations: 124.2 kB / 436.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.2494, allocations: 0.5467 MB / 436.8 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.2497, allocations: 297.2 kB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2498, allocations: 72.36 kB / 437.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2513, allocations: 0.9055 MB / 438.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2513, allocations: 4 kB / 438.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.2514, allocations: 28 kB / 438.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2514, allocations: 16 kB / 438.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.2528, allocations: 0.6336 MB / 438.8 MB, free: 14.01 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.003484/0.2563, allocations: 2.163 MB / 440.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.2579, allocations: 0.7282 MB / 441.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.2587, allocations: 382.4 kB / 442 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.2587, allocations: 16.64 kB / 442 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2588, allocations: 47.22 kB / 442.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.234e-06/0.2588, allocations: 0 / 442.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004925/0.2637, allocations: 1.531 MB / 443.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005062/0.2642, allocations: 0.8273 MB / 444.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.2651, allocations: 0.6569 MB / 445.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.2652, allocations: 45.7 kB / 445.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.2655, allocations: 373.3 kB / 445.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.2658, allocations: 273.6 kB / 445.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.266, allocations: 150.7 kB / 445.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2662, allocations: 330 kB / 446.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.2669, allocations: 289.8 kB / 446.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.2679, allocations: 0.5603 MB / 447.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.2693, allocations: 0.6974 MB / 447.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2693, allocations: 0 / 447.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002655/0.2719, allocations: 1.126 MB / 448.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.272, allocations: 89.11 kB / 449 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.272, allocations: 3.984 kB / 449 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006766/0.2727, allocations: 231.3 kB / 449.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.2733, allocations: 151.8 kB / 449.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.2813, allocations: 6.526 MB / 455.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.2821, allocations: 103.5 kB / 456 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.2822, allocations: 27.94 kB / 456 MB, free: 11.72 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.00036/0.2826, allocations: 221.7 kB / 456.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.2827, allocations: 103.4 kB / 456.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.2829, allocations: 92.77 kB / 456.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2829, allocations: 11.98 kB / 456.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2829, allocations: 0 / 456.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002517/0.2854, allocations: 1.26 MB / 457.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.2894, allocations: 1.974 MB / 459.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2894, allocations: 0 / 459.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.2901, allocations: 147.8 kB / 459.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.2906, allocations: 194.4 kB / 460 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.2906, allocations: 15.98 kB / 460 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/0.2971, allocations: 5.035 MB / 465.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2971, allocations: 3.984 kB / 465.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.3003, allocations: 1.435 MB / 466.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.3007, allocations: 179.2 kB / 466.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3009, allocations: 20 kB / 466.7 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.3015, allocations: 47.95 kB / 466.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.3017, allocations: 72.52 kB / 466.8 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.3017, allocations: 16 kB / 466.8 MB, free: 352 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006769/0.3024, allocations: 479 kB / 467.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3024, allocations: 0 / 467.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.3034, allocations: 295.7 kB / 467.6 MB, free: 15.59 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.003643/0.307, allocations: 2.016 MB / 469.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.3095, allocations: 1.348 MB / 471 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3095, allocations: 0 / 471 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.3109, allocations: 0.7535 MB / 471.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3119, allocations: 247.2 kB / 472 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.3251, allocations: 7.826 MB / 479.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.3257, allocations: 0.9637 MB / 480.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.3261, allocations: 102.7 kB / 480.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.3265, allocations: 319.3 kB / 481.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3265, allocations: 0 / 481.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.3996, allocations: 27.28 MB / 0.4965 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.12, allocations: 8.312 kB / 0.4965 GB, free: 6.789 MB / 414.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.521518734050915]