Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_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.001128/0.001128, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001234/0.001234, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.001151, allocations: 47.62 kB / 300.2 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08811, allocations: 49.45 MB / 349.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00579/0.09393, allocations: 5.206 MB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.09631, allocations: 1.309 MB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000579/0.09691, allocations: 11.94 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.09749, allocations: 139 kB / 356.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008895/0.09839, allocations: 293.7 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.09894, allocations: 207.8 kB / 356.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1004, allocations: 1.231 MB / 358.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.1009, allocations: 346.1 kB / 358.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.1015, allocations: 466.3 kB / 358.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.1022, allocations: 0.5291 MB / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.1025, allocations: 108 kB / 359.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1027, allocations: 112 kB / 359.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1029, allocations: 231.2 kB / 359.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.1036, allocations: 0.5482 MB / 360.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1047, allocations: 1.238 MB / 361.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1047, allocations: 0 / 361.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1047, allocations: 0 / 361.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.1047, allocations: 0 / 361.6 MB, free: 8.629 MB / 302.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.002635/0.1074, allocations: 1.387 MB / 363 MB, free: 7.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1074, allocations: 8.031 kB / 363 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.1076, allocations: 115.9 kB / 363.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.1078, allocations: 119.6 kB / 363.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1089, allocations: 0.6026 MB / 363.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.1092, allocations: 170.9 kB / 364 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.1093, allocations: 64.38 kB / 364.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1109, allocations: 0.925 MB / 365 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1109, allocations: 0 / 365 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.111, allocations: 35.94 kB / 365 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.111, allocations: 20 kB / 365.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1125, allocations: 0.6531 MB / 365.7 MB, free: 4.297 MB / 302.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.003366/0.1159, allocations: 2.221 MB / 367.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1175, allocations: 1.023 MB / 368.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.1183, allocations: 437.6 kB / 369.4 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.1184, allocations: 20.62 kB / 369.4 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1184, allocations: 43.22 kB / 369.4 MB, free: 396 kB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.074e-06/0.1184, allocations: 0 / 369.4 MB, free: 396 kB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.1488/0.2672, allocations: 1.866 MB / 371.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.2675, allocations: 0.8254 MB / 372.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.2683, allocations: 0.6638 MB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-05/0.2684, allocations: 45.08 kB / 372.8 MB, free: 23.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.2686, allocations: 359.1 kB / 373.2 MB, free: 23.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.2688, allocations: 270.9 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.2691, allocations: 146.1 kB / 373.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.62e-05/0.2691, allocations: 332.4 kB / 373.9 MB, free: 23.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.2699, allocations: 296.1 kB / 374.2 MB, free: 23.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/0.2708, allocations: 0.5766 MB / 374.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.2722, allocations: 0.7239 MB / 375.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.2722, allocations: 1.094 kB / 375.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002643/0.2748, allocations: 1.157 MB / 376.7 MB, free: 21.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.2749, allocations: 90.27 kB / 376.8 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2749, allocations: 0 / 376.8 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.2756, allocations: 234.2 kB / 377 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.2763, allocations: 160.4 kB / 377.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/0.2831, allocations: 6.931 MB / 384.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.2841, allocations: 111.9 kB / 384.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.2842, allocations: 28.5 kB / 384.2 MB, free: 15.44 MB / 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.0003604/0.2846, allocations: 222.8 kB / 384.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2847, allocations: 90.59 kB / 384.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.2849, allocations: 101.9 kB / 384.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2849, allocations: 8 kB / 384.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.2849, allocations: 0.6562 kB / 384.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002413/0.2874, allocations: 1.288 MB / 385.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.2914, allocations: 2.022 MB / 387.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2915, allocations: 0 / 387.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.2922, allocations: 161.5 kB / 388.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.2927, allocations: 195.3 kB / 388.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.2928, allocations: 14.5 kB / 388.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.2982, allocations: 5.355 MB / 393.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2982, allocations: 0 / 393.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.3014, allocations: 1.475 MB / 395.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.3018, allocations: 248.9 kB / 395.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3019, allocations: 26.78 kB / 395.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.3026, allocations: 57.38 kB / 395.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.3028, allocations: 66.7 kB / 395.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.3029, allocations: 26.58 kB / 395.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.3035, allocations: 475.7 kB / 396 MB, free: 7.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3035, allocations: 4 kB / 396 MB, free: 7.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009669/0.3045, allocations: 291 kB / 396.3 MB, free: 7.348 MB / 302.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.00322/0.3077, allocations: 2.053 MB / 398.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.3101, allocations: 1.428 MB / 399.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3101, allocations: 1.375 kB / 399.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.3114, allocations: 0.7994 MB / 400.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.3124, allocations: 244.4 kB / 400.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.3246, allocations: 8.68 MB / 409.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.325, allocations: 0.9637 MB / 410.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.3255, allocations: 110.7 kB / 410.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.3259, allocations: 319.3 kB / 410.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.326, allocations: 0 / 410.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05172/0.3777, allocations: 25.79 MB / 436.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.378, allocations: 245.8 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.935, allocations: 0 / 436.9 MB, free: 1.578 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches