Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001806/0.001806, allocations: 103.6 kB / 21.18 MB, free: 0.6016 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.002233/0.002233, allocations: 206.7 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 207.7 MB / 235.3 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 51.94 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2509, allocations: 49.15 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005848/0.2567, allocations: 4.634 MB / 401 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2596, allocations: 1.334 MB / 402.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.2604, allocations: 16.72 kB / 402.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.261, allocations: 164.9 kB / 402.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.2622, allocations: 344.4 kB / 402.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.2629, allocations: 246.5 kB / 403.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.2645, allocations: 1.231 MB / 404.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.2648, allocations: 225.3 kB / 404.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.2654, allocations: 479.6 kB / 405 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.2659, allocations: 464.2 kB / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.2661, allocations: 107.6 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.2663, allocations: 110.9 kB / 405.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2665, allocations: 240.2 kB / 405.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.2669, allocations: 469.3 kB / 406.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2682, allocations: 1.266 MB / 407.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2682, allocations: 2.031 kB / 407.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2682, allocations: 0 / 407.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.2683, allocations: 0 / 407.6 MB, free: 2.273 MB / 318.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.00241/0.2707, allocations: 1.338 MB / 409 MB, free: 1.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2707, allocations: 13.95 kB / 409 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.2709, allocations: 125 kB / 409.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.271, allocations: 119.8 kB / 409.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.272, allocations: 0.5459 MB / 409.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.2722, allocations: 305.4 kB / 410 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2723, allocations: 62.78 kB / 410.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.2741, allocations: 1.67 MB / 411.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.2742, allocations: 0 / 411.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.2742, allocations: 28.94 kB / 411.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.2743, allocations: 19.23 kB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.2758, allocations: 0.6405 MB / 412.5 MB, free: 14.55 MB / 334.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.003752/0.2796, allocations: 1.731 MB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.2812, allocations: 0.7397 MB / 414.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.282, allocations: 381.4 kB / 415.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.2821, allocations: 9.875 kB / 415.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.2821, allocations: 53 kB / 415.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.424e-06/0.2821, allocations: 0 / 415.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005087/0.2872, allocations: 1.524 MB / 416.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000499/0.2877, allocations: 0.8243 MB / 417.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.2887, allocations: 0.6712 MB / 418.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.2888, allocations: 45.23 kB / 418.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.2891, allocations: 354.2 kB / 418.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.2894, allocations: 289.4 kB / 419.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.2897, allocations: 148.4 kB / 419.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2898, allocations: 332.5 kB / 419.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.2906, allocations: 357.5 kB / 419.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.292, allocations: 1.401 MB / 421.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2935, allocations: 0.7045 MB / 422 MB, free: 7.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2935, allocations: 0 / 422 MB, free: 7.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002885/0.2963, allocations: 1.205 MB / 423.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.2964, allocations: 87.02 kB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.2964, allocations: 1.5 kB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/0.2971, allocations: 227.2 kB / 423.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.2978, allocations: 157.7 kB / 423.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008529/0.3063, allocations: 6.475 MB / 430.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3076, allocations: 107.6 kB / 430.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.3077, allocations: 27.94 kB / 430.3 MB, free: 15.55 MB / 350.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.0005284/0.3082, allocations: 229.6 kB / 430.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.3084, allocations: 95.44 kB / 430.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.3086, allocations: 96.53 kB / 430.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3086, allocations: 8 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3086, allocations: 4 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003552/0.3122, allocations: 1.253 MB / 431.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.3167, allocations: 1.798 MB / 433.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3167, allocations: 0 / 433.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.3175, allocations: 155.8 kB / 433.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005944/0.3181, allocations: 198.4 kB / 434.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.3182, allocations: 12 kB / 434.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007089/0.3253, allocations: 5 MB / 439.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3253, allocations: 0 / 439.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.329, allocations: 1.442 MB / 440.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.3295, allocations: 171.2 kB / 440.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.3297, allocations: 20 kB / 440.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.3303, allocations: 47.95 kB / 440.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.3305, allocations: 76.47 kB / 440.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3306, allocations: 23.98 kB / 440.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006335/0.3312, allocations: 475 kB / 441.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 441.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009325/0.3321, allocations: 295.7 kB / 441.6 MB, free: 3.629 MB / 350.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.003776/0.3359, allocations: 2.01 MB / 443.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.3384, allocations: 1.419 MB / 445.1 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3384, allocations: 4.125 kB / 445.1 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.3399, allocations: 0.7495 MB / 445.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3409, allocations: 254.9 kB / 446.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.3549, allocations: 8.126 MB / 454.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3553, allocations: 363.6 kB / 454.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/0.3558, allocations: 106.7 kB / 454.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.3563, allocations: 319.3 kB / 455 MB, free: 5.828 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3563, allocations: 0 / 455 MB, free: 5.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07861/0.4349, allocations: 28.94 MB / 483.9 MB, free: 8.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.57, allocations: 7.938 kB / 483.9 MB, free: 8.758 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.017910563386977]