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.0008204/0.0008204, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007988/0.0007988, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8914/0.8914, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.684e-06/1.684e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.542e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004372/0.004398, allocations: 4.667 MB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.006845, allocations: 1.324 MB / 330.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.007433, allocations: 11.94 kB / 330.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.007882, allocations: 170.5 kB / 330.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007487/0.008631, allocations: 356.8 kB / 331 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.009115, allocations: 251.5 kB / 331.3 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.01031, allocations: 1.269 MB / 332.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.01065, allocations: 234.6 kB / 332.8 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.01137, allocations: 0.7017 MB / 333.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.01178, allocations: 398.9 kB / 333.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.01189, allocations: 108 kB / 334 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.01201, allocations: 112 kB / 334.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.01213, allocations: 243.1 kB / 334.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.01247, allocations: 399.1 kB / 334.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.01352, allocations: 1.308 MB / 336 MB, free: 4.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01352, allocations: 0 / 336 MB, free: 4.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01352, allocations: 0 / 336 MB, free: 4.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.01354, allocations: 0 / 336 MB, free: 4.34 MB / 298.7 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.001784/0.01533, allocations: 1.335 MB / 337.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.01538, allocations: 11.98 kB / 337.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.01553, allocations: 119.9 kB / 337.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.0157, allocations: 124.2 kB / 337.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.01649, allocations: 0.5421 MB / 338.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.01666, allocations: 309.1 kB / 338.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.01673, allocations: 60.38 kB / 338.5 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.01797, allocations: 1.659 MB / 340.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01798, allocations: 192 / 340.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.01804, allocations: 31.94 kB / 340.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01805, allocations: 16 kB / 340.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.01923, allocations: 0.6336 MB / 340.8 MB, free: 15.08 MB / 314.7 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.002416/0.02165, allocations: 1.736 MB / 342.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.02272, allocations: 0.7345 MB / 343.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.02324, allocations: 383.2 kB / 343.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.02329, allocations: 16.59 kB / 343.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.02333, allocations: 47.22 kB / 343.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/0.02333, allocations: 3.938 kB / 343.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=77): time 0.002912/0.02625, allocations: 1.531 MB / 345.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002625/0.02651, allocations: 0.8234 MB / 346.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.02718, allocations: 0.6608 MB / 346.8 MB, free: 8.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/0.02728, allocations: 45.7 kB / 346.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.02749, allocations: 365.2 kB / 347.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.02768, allocations: 277.6 kB / 347.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.02812, allocations: 146.6 kB / 347.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.02821, allocations: 338.2 kB / 347.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.02868, allocations: 359 kB / 348.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.02952, allocations: 1.402 MB / 349.7 MB, free: 5.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.03043, allocations: 0.7012 MB / 350.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.03044, allocations: 0 / 350.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001768/0.0322, allocations: 1.205 MB / 351.6 MB, free: 3.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.128e-05/0.03227, allocations: 85.11 kB / 351.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.03228, allocations: 4 kB / 351.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/0.03275, allocations: 247.1 kB / 351.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.03312, allocations: 143.8 kB / 352 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/0.03836, allocations: 6.456 MB / 358.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.03909, allocations: 107.5 kB / 358.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.03914, allocations: 24 kB / 358.6 MB, free: 12.07 MB / 330.7 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.000343/0.03948, allocations: 225.7 kB / 358.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.03962, allocations: 99.42 kB / 358.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.03976, allocations: 92.53 kB / 359 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.03977, allocations: 15.94 kB / 359.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.03978, allocations: 0 / 359.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/0.04132, allocations: 1.26 MB / 360.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.04396, allocations: 1.794 MB / 362.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.04396, allocations: 192 / 362.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.04435, allocations: 151.8 kB / 362.3 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/0.04468, allocations: 194.5 kB / 362.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.04472, allocations: 20 kB / 362.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/0.04875, allocations: 5.012 MB / 367.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.04876, allocations: 0 / 367.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.05122, allocations: 1.446 MB / 368.9 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.05162, allocations: 171.2 kB / 369.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.0517, allocations: 27.92 kB / 369.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.05204, allocations: 47.89 kB / 369.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.05219, allocations: 72.53 kB / 369.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.05222, allocations: 16 kB / 369.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004196/0.05264, allocations: 483 kB / 369.7 MB, free: 424 kB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05264, allocations: 0 / 369.7 MB, free: 424 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006623/0.0533, allocations: 295.7 kB / 370 MB, free: 128 kB / 330.7 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.002175/0.05548, allocations: 2.006 MB / 372 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.05706, allocations: 1.427 MB / 373.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.05706, allocations: 0 / 373.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.05786, allocations: 0.7573 MB / 374.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.05864, allocations: 243.5 kB / 374.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/0.06824, allocations: 8.079 MB / 382.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.06881, allocations: 367.6 kB / 382.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.06924, allocations: 110.7 kB / 383 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.06955, allocations: 316.4 kB / 383.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.06955, allocations: 0 / 383.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05043/0.12, allocations: 28.96 MB / 412.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.662, allocations: 11.84 kB / 412.3 MB, free: 5.809 MB / 378.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/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: 10.37733396794647]