Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 113.1 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 47.94 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2474, allocations: 53.36 MB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007191/0.2546, allocations: 5.246 MB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2575, allocations: 1.378 MB / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.258, allocations: 11.94 kB / 437.8 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.2587, allocations: 170.6 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009613/0.2597, allocations: 349.1 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.2603, allocations: 239.6 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.2619, allocations: 1.234 MB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.2624, allocations: 235.7 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.2631, allocations: 490.3 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008875/0.264, allocations: 0.5291 MB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.2643, allocations: 108 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.2646, allocations: 112 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.2649, allocations: 231.2 kB / 441.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.2657, allocations: 0.5444 MB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.2673, allocations: 1.26 MB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2673, allocations: 0 / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2673, allocations: 0 / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-05/0.2673, allocations: 0 / 443.2 MB, free: 10.66 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.003234/0.2706, allocations: 1.339 MB / 444.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2706, allocations: 8.031 kB / 444.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/0.2708, allocations: 127.9 kB / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.2711, allocations: 116.3 kB / 444.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.2722, allocations: 0.5506 MB / 445.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.2726, allocations: 305.2 kB / 445.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.2727, allocations: 60.38 kB / 445.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.2743, allocations: 0.914 MB / 446.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.2743, allocations: 0 / 446.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.2744, allocations: 28 kB / 446.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.2744, allocations: 16 kB / 446.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.276, allocations: 0.6336 MB / 447.3 MB, free: 6.336 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.003895/0.2798, allocations: 2.163 MB / 449.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2815, allocations: 0.729 MB / 450.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.2823, allocations: 378.3 kB / 450.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.2824, allocations: 20.64 kB / 450.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.2825, allocations: 53.02 kB / 450.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.034e-06/0.2825, allocations: 0 / 450.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005167/0.2876, allocations: 1.531 MB / 452.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004847/0.2881, allocations: 0.8234 MB / 453 MB, free: 332 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.2891, allocations: 0.6686 MB / 453.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.2892, allocations: 41.7 kB / 453.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.2895, allocations: 365.2 kB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.2898, allocations: 285.5 kB / 454.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.2901, allocations: 146.7 kB / 454.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2902, allocations: 334 kB / 454.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/0.2909, allocations: 277.8 kB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.292, allocations: 0.5663 MB / 455.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2934, allocations: 0.7129 MB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2934, allocations: 0 / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00276/0.2962, allocations: 1.122 MB / 457.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.2962, allocations: 81.11 kB / 457.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2963, allocations: 4 kB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/0.297, allocations: 239.1 kB / 457.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.2976, allocations: 143.8 kB / 457.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008531/0.3062, allocations: 6.531 MB / 464.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.3071, allocations: 103.5 kB / 464.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3073, allocations: 27.94 kB / 464.6 MB, free: 4.027 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.0005108/0.3078, allocations: 221.7 kB / 464.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.308, allocations: 95.44 kB / 464.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.3083, allocations: 100.5 kB / 465 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3083, allocations: 8 kB / 465 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3083, allocations: 0 / 465 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/0.3109, allocations: 1.26 MB / 466.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.3152, allocations: 1.954 MB / 468.2 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3152, allocations: 0 / 468.2 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.316, allocations: 151.8 kB / 468.4 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.3166, allocations: 198.5 kB / 468.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.3166, allocations: 19.98 kB / 468.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/0.3235, allocations: 5.039 MB / 473.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3235, allocations: 0 / 473.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.3272, allocations: 1.442 MB / 475.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.3277, allocations: 179.2 kB / 475.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.3279, allocations: 16 kB / 475.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.3286, allocations: 51.95 kB / 475.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.3288, allocations: 68.66 kB / 475.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.3289, allocations: 27.98 kB / 475.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.3296, allocations: 475 kB / 475.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 0 / 475.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001069/0.3307, allocations: 291.8 kB / 476.2 MB, free: 7.906 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.003977/0.3347, allocations: 2.013 MB / 478.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3372, allocations: 1.34 MB / 479.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.3372, allocations: 4 kB / 479.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.3387, allocations: 0.7574 MB / 480.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3399, allocations: 246.9 kB / 480.5 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.354, allocations: 7.82 MB / 488.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.3547, allocations: 0.9559 MB / 489.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.3551, allocations: 106.7 kB / 489.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.3556, allocations: 315.3 kB / 489.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3556, allocations: 0 / 489.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08014/0.4357, allocations: 27.31 MB / 0.5049 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.81, allocations: 6.953 kB / 0.5049 GB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.31410621199757]