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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 96.27 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 47.94 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07891, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006264/0.08521, allocations: 5.184 MB / 332.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.08801, allocations: 1.379 MB / 333.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.08866, allocations: 11.94 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.08923, allocations: 166.5 kB / 334.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.09026, allocations: 329.1 kB / 334.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.09088, allocations: 247.6 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.09236, allocations: 1.219 MB / 335.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.09291, allocations: 346.1 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.09365, allocations: 466.4 kB / 336.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008965/0.09456, allocations: 0.5252 MB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.09486, allocations: 108 kB / 337.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.0952, allocations: 116 kB / 337.4 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.09542, allocations: 231.2 kB / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.09601, allocations: 0.5444 MB / 338.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.09712, allocations: 1.23 MB / 339.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.09714, allocations: 0 / 339.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09715, allocations: 0 / 339.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.09717, allocations: 0 / 339.4 MB, free: 8.25 MB / 286.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.002428/0.0996, allocations: 1.391 MB / 340.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.09967, allocations: 8.031 kB / 340.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.09986, allocations: 135.8 kB / 341 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1001, allocations: 111.7 kB / 341.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.101, allocations: 0.5947 MB / 341.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.1013, allocations: 182.9 kB / 341.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.1014, allocations: 60.38 kB / 341.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.1029, allocations: 0.9172 MB / 342.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1029, allocations: 0 / 342.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.103, allocations: 28 kB / 342.9 MB, free: 4.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.103, allocations: 16 kB / 342.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1045, allocations: 0.6726 MB / 343.5 MB, free: 3.902 MB / 286.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.003393/0.1079, allocations: 2.213 MB / 345.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.1096, allocations: 1.021 MB / 346.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.1104, allocations: 423.3 kB / 347.2 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.1105, allocations: 24.62 kB / 347.2 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1106, allocations: 47.22 kB / 347.3 MB, free: 4 kB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 3.036e-06/0.1106, allocations: 0 / 347.3 MB, free: 4 kB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005053/0.1156, allocations: 1.871 MB / 349.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.1159, allocations: 0.8195 MB / 349.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.1167, allocations: 0.6608 MB / 350.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.1168, allocations: 45.7 kB / 350.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1171, allocations: 368.9 kB / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.1173, allocations: 271.8 kB / 351.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.1175, allocations: 150.7 kB / 351.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1176, allocations: 330 kB / 351.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.1183, allocations: 297.8 kB / 352 MB, free: 10.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/0.1193, allocations: 0.5741 MB / 352.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.1207, allocations: 0.7285 MB / 353.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1207, allocations: 0 / 353.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002665/0.1234, allocations: 1.149 MB / 354.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.1235, allocations: 93.09 kB / 354.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1235, allocations: 0 / 354.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.1241, allocations: 235.2 kB / 354.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.1248, allocations: 155.8 kB / 355 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/0.1323, allocations: 6.927 MB / 361.9 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.1332, allocations: 115.2 kB / 362 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/0.1333, allocations: 23.94 kB / 362 MB, free: 148 kB / 302.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.0004923/0.1338, allocations: 229.7 kB / 362.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.1341, allocations: 87.06 kB / 362.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.1343, allocations: 96.52 kB / 362.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1343, allocations: 8 kB / 362.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1343, allocations: 0 / 362.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/0.1368, allocations: 1.299 MB / 363.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.1407, allocations: 2.019 MB / 365.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1407, allocations: 0 / 365.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.1415, allocations: 155.8 kB / 365.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.1421, allocations: 198.6 kB / 366.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.1421, allocations: 23.92 kB / 366.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006357/0.1485, allocations: 5.341 MB / 371.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1485, allocations: 0 / 371.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.152, allocations: 1.488 MB / 373 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.1524, allocations: 251.8 kB / 373.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.1526, allocations: 20 kB / 373.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/0.1534, allocations: 63.88 kB / 373.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.1536, allocations: 56.58 kB / 373.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.1537, allocations: 27.98 kB / 373.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008126/0.1545, allocations: 475 kB / 373.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1545, allocations: 0 / 373.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001242/0.1558, allocations: 295.6 kB / 374.1 MB, free: 3.387 MB / 318.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.003687/0.1595, allocations: 2.048 MB / 376.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1366/0.2961, allocations: 1.425 MB / 377.6 MB, free: 53.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.2962, allocations: 5.719 kB / 377.6 MB, free: 53.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.2977, allocations: 0.8003 MB / 378.4 MB, free: 52.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2988, allocations: 244.6 kB / 378.6 MB, free: 52.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.3118, allocations: 8.41 MB / 387 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.3123, allocations: 0.9594 MB / 388 MB, free: 48.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005981/0.3129, allocations: 103.8 kB / 388.1 MB, free: 48.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.3133, allocations: 327.2 kB / 388.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3133, allocations: 0 / 388.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08978/0.4031, allocations: 26.3 MB / 414.7 MB, free: 27.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 16.36 kB / 414.7 MB, free: 27.65 MB / 318.1 MB (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 --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) 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) Reference file matches