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.00128/0.00128, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001383/0.001383, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.417/1.417, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001486/0.001486, allocations: 51.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09864, allocations: 53.33 MB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2079/0.3066, allocations: 5.223 MB / 431.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3088, allocations: 1.365 MB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.3092, allocations: 14.5 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.3096, allocations: 169.2 kB / 433.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005926/0.3102, allocations: 340.6 kB / 433.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.3106, allocations: 248.2 kB / 433.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009754/0.3116, allocations: 1.223 MB / 434.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.3119, allocations: 244.8 kB / 435.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.3124, allocations: 481.9 kB / 435.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.3129, allocations: 0.5263 MB / 436.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.313, allocations: 108.8 kB / 436.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.3132, allocations: 109.9 kB / 436.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3134, allocations: 235.1 kB / 436.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.3138, allocations: 0.5426 MB / 437.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3151, allocations: 1.268 MB / 438.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3151, allocations: 1.094 kB / 438.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3151, allocations: 0 / 438.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.3151, allocations: 1.125 kB / 438.4 MB, free: 5.781 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.002458/0.3176, allocations: 1.417 MB / 439.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3176, allocations: 9.125 kB / 439.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.3178, allocations: 128.4 kB / 439.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.318, allocations: 119.5 kB / 440 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.3189, allocations: 0.6069 MB / 440.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3191, allocations: 149.5 kB / 440.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.3192, allocations: 63.44 kB / 440.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3205, allocations: 0.9026 MB / 441.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3206, allocations: 4 kB / 441.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.3206, allocations: 28.97 kB / 441.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3206, allocations: 15.41 kB / 441.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.3221, allocations: 0.6359 MB / 442.4 MB, free: 3.328 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.00341/0.3255, allocations: 2.205 MB / 444.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3271, allocations: 0.9543 MB / 445.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/0.3279, allocations: 378.5 kB / 446 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.3279, allocations: 17.44 kB / 446 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.328, allocations: 47.56 kB / 446 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.535e-06/0.328, allocations: 0 / 446 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005142/0.3331, allocations: 1.833 MB / 447.9 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003372/0.3335, allocations: 0.823 MB / 448.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3345, allocations: 0.6652 MB / 449.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.3346, allocations: 45.67 kB / 449.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.335, allocations: 365.5 kB / 449.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.3352, allocations: 284.5 kB / 450 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.3355, allocations: 150.3 kB / 450.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3357, allocations: 333 kB / 450.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.3364, allocations: 281.7 kB / 450.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3374, allocations: 0.5613 MB / 451.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3389, allocations: 0.7017 MB / 452 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3389, allocations: 0 / 452 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002951/0.3418, allocations: 1.131 MB / 453.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.3419, allocations: 85.25 kB / 453.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3419, allocations: 2.562 kB / 453.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.3427, allocations: 232.5 kB / 453.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.3433, allocations: 150 kB / 453.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008725/0.3521, allocations: 6.936 MB / 460.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3533, allocations: 104.7 kB / 460.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.3534, allocations: 26.38 kB / 460.7 MB, free: 6.336 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.0004252/0.3538, allocations: 228.6 kB / 460.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.354, allocations: 94.62 kB / 461 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.3542, allocations: 94.17 kB / 461.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3542, allocations: 8.281 kB / 461.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.3542, allocations: 1.188 kB / 461.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002623/0.3568, allocations: 1.262 MB / 462.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.3609, allocations: 1.992 MB / 464.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3609, allocations: 3.938 kB / 464.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.3616, allocations: 150.9 kB / 464.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005572/0.3622, allocations: 199.7 kB / 464.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.3622, allocations: 12.25 kB / 464.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006832/0.3691, allocations: 5.35 MB / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3691, allocations: 0 / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.3727, allocations: 1.441 MB / 471.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.3732, allocations: 254.7 kB / 471.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.3733, allocations: 19.66 kB / 471.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.374, allocations: 55.73 kB / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.3741, allocations: 64.38 kB / 471.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.3742, allocations: 24.61 kB / 471.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.3748, allocations: 476.4 kB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3748, allocations: 4 kB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.3757, allocations: 294.7 kB / 472.7 MB, free: 13.2 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.003713/0.3794, allocations: 2.011 MB / 474.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.3819, allocations: 1.335 MB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3819, allocations: 2.594 kB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.3833, allocations: 0.7575 MB / 476.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3845, allocations: 241.1 kB / 477 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.3984, allocations: 7.821 MB / 484.8 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.3991, allocations: 0.9674 MB / 485.8 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004999/0.3996, allocations: 110.7 kB / 485.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.4, allocations: 319.3 kB / 486.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4, allocations: 0 / 486.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07223/0.4722, allocations: 26.76 MB / 0.501 GB, free: 7.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.43, allocations: 10.22 kB / 0.501 GB, free: 7.613 MB / 414.1 MB " [Timeout remaining time 646] (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: 15.854876431170851]