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.0007894/0.0007894, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008072/0.0008072, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8542/0.8542, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.133e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003922/0.003933, allocations: 4.674 MB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005923, allocations: 1.332 MB / 330.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.0062, allocations: 11.94 kB / 330.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.006526, allocations: 162.5 kB / 330.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.006973, allocations: 364.8 kB / 331.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.007312, allocations: 251.5 kB / 331.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.008063, allocations: 1.269 MB / 332.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.008342, allocations: 230.6 kB / 332.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.0088, allocations: 0.7056 MB / 333.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.009115, allocations: 394.9 kB / 333.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.009207, allocations: 108 kB / 334 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.0093, allocations: 108 kB / 334.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.009414, allocations: 243.1 kB / 334.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.00965, allocations: 403.1 kB / 334.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01067, allocations: 1.305 MB / 336.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01067, allocations: 4 kB / 336.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01067, allocations: 3.984 kB / 336.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.01068, allocations: 0 / 336.1 MB, free: 4.348 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.001377/0.01206, allocations: 1.318 MB / 337.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.0121, allocations: 20.02 kB / 337.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.01224, allocations: 123.9 kB / 337.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.01235, allocations: 124.2 kB / 337.7 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.01297, allocations: 0.5382 MB / 338.2 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.01313, allocations: 301.2 kB / 338.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.01319, allocations: 68.38 kB / 338.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.01428, allocations: 1.659 MB / 340.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01429, allocations: 192 / 340.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.01434, allocations: 35.92 kB / 340.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01435, allocations: 16 kB / 340.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/0.01519, allocations: 0.6375 MB / 340.9 MB, free: 15.09 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.002305/0.01749, allocations: 1.733 MB / 342.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.01881, allocations: 0.7329 MB / 343.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.01928, allocations: 387.2 kB / 343.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.01932, allocations: 12.59 kB / 343.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.01935, allocations: 51.22 kB / 343.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 1.733e-06/0.01935, allocations: 0 / 343.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=77): time 0.002577/0.02193, allocations: 1.535 MB / 345.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/0.02215, allocations: 0.8234 MB / 346.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.02263, allocations: 0.6587 MB / 346.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.02268, allocations: 45.7 kB / 346.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.02286, allocations: 369.2 kB / 347.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.02298, allocations: 273.6 kB / 347.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.02313, allocations: 150.6 kB / 347.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.02321, allocations: 333.9 kB / 348 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.02361, allocations: 363 kB / 348.3 MB, free: 7.328 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/0.02452, allocations: 1.395 MB / 349.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.02533, allocations: 0.7012 MB / 350.4 MB, free: 4.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02533, allocations: 4 kB / 350.4 MB, free: 4.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001433/0.02676, allocations: 1.201 MB / 351.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.02681, allocations: 89.11 kB / 351.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.02681, allocations: 3.984 kB / 351.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.02722, allocations: 235.2 kB / 351.9 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.02754, allocations: 155.8 kB / 352.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.03205, allocations: 6.457 MB / 358.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.03242, allocations: 111.6 kB / 358.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.03246, allocations: 23.94 kB / 358.7 MB, free: 12.08 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.0002105/0.03267, allocations: 221.7 kB / 358.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.03275, allocations: 99.44 kB / 359 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.973e-05/0.03284, allocations: 96.52 kB / 359.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.03285, allocations: 11.94 kB / 359.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.03285, allocations: 0 / 359.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/0.03419, allocations: 1.257 MB / 360.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.03639, allocations: 1.802 MB / 362.2 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.03639, allocations: 4 kB / 362.2 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.03674, allocations: 143.8 kB / 362.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.03703, allocations: 202.4 kB / 362.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.03706, allocations: 12 kB / 362.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.04069, allocations: 5.016 MB / 367.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0407, allocations: 0 / 367.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.04249, allocations: 1.442 MB / 369 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.04271, allocations: 163.2 kB / 369.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.04277, allocations: 23.94 kB / 369.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.04308, allocations: 51.94 kB / 369.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.04319, allocations: 76.47 kB / 369.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.04322, allocations: 16 kB / 369.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003514/0.04357, allocations: 483 kB / 369.8 MB, free: 444 kB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04357, allocations: 4 kB / 369.8 MB, free: 440 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005083/0.04408, allocations: 291.7 kB / 370.1 MB, free: 148 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.002277/0.04635, allocations: 2.005 MB / 372.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.04763, allocations: 1.419 MB / 373.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.04764, allocations: 0 / 373.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.04835, allocations: 0.7652 MB / 374.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.04895, allocations: 251 kB / 374.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.05706, allocations: 8.079 MB / 382.6 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.05727, allocations: 363.6 kB / 382.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.05751, allocations: 102.7 kB / 383 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.05778, allocations: 320.4 kB / 383.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05778, allocations: 4 kB / 383.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.09671, allocations: 28.98 MB / 412.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.095, allocations: 26.72 kB / 412.4 MB, free: 5.836 MB / 378.7 MB " [Timeout remaining time 652] (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/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_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: 9.760370683856308]