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.001315/0.001315, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001209/0.001209, allocations: 195.9 kB / 18 MB, free: 4.965 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 43.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2469, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006884/0.2538, allocations: 5.192 MB / 405.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.2564, allocations: 1.328 MB / 406.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.2567, allocations: 15.94 kB / 406.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.2573, allocations: 166.5 kB / 406.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006514/0.2579, allocations: 333.1 kB / 407.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.2584, allocations: 243.6 kB / 407.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.2597, allocations: 1.226 MB / 408.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.2602, allocations: 342.1 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.2607, allocations: 470.3 kB / 409.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.2614, allocations: 0.533 MB / 410 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.2615, allocations: 112 kB / 410.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2617, allocations: 108 kB / 410.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2619, allocations: 235.2 kB / 410.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.2625, allocations: 0.5444 MB / 411 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2638, allocations: 1.26 MB / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2638, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2638, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2638, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.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.002572/0.2664, allocations: 1.414 MB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2664, allocations: 8.031 kB / 413.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.2666, allocations: 127.8 kB / 413.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2668, allocations: 120.3 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2678, allocations: 0.6149 MB / 414.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.2681, allocations: 147 kB / 414.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2682, allocations: 64.33 kB / 414.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.2698, allocations: 0.9133 MB / 415.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2698, allocations: 0 / 415.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.2699, allocations: 28 kB / 415.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.2699, allocations: 19.98 kB / 415.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.2714, allocations: 0.6336 MB / 416.4 MB, free: 8.375 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.003582/0.275, allocations: 2.206 MB / 418.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.2769, allocations: 1.011 MB / 419.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.2778, allocations: 419.2 kB / 420 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.2778, allocations: 16.64 kB / 420 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.2779, allocations: 51.22 kB / 420.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.104e-06/0.2779, allocations: 0 / 420.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005328/0.2832, allocations: 1.836 MB / 421.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000501/0.2838, allocations: 0.8272 MB / 422.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/0.2846, allocations: 0.6608 MB / 423.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.2847, allocations: 45.7 kB / 423.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.285, allocations: 377.2 kB / 423.8 MB, free: 476 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.2853, allocations: 277.5 kB / 424.1 MB, free: 196 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.2856, allocations: 150.6 kB / 424.2 MB, free: 40 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2857, allocations: 334 kB / 424.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.2864, allocations: 281.8 kB / 424.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.2874, allocations: 0.5624 MB / 425.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2889, allocations: 0.7013 MB / 426.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2889, allocations: 0 / 426.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002768/0.2917, allocations: 1.134 MB / 427.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/0.2918, allocations: 85.11 kB / 427.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2918, allocations: 3.984 kB / 427.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.2925, allocations: 231.3 kB / 427.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.2932, allocations: 143.8 kB / 427.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.3016, allocations: 6.928 MB / 434.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/0.3026, allocations: 111.5 kB / 434.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.3027, allocations: 27.94 kB / 434.7 MB, free: 4.754 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.0003965/0.3031, allocations: 217.8 kB / 435 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.3032, allocations: 99.38 kB / 435.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.3034, allocations: 96.52 kB / 435.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3034, allocations: 12 kB / 435.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3035, allocations: 0 / 435.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00266/0.3061, allocations: 1.26 MB / 436.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.3103, allocations: 2.002 MB / 438.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3103, allocations: 0 / 438.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.3111, allocations: 143.8 kB / 438.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.3116, allocations: 198.5 kB / 438.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3117, allocations: 15.98 kB / 438.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.3187, allocations: 5.353 MB / 444.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3188, allocations: 4.344 kB / 444.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.3224, allocations: 1.45 MB / 445.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.323, allocations: 248.4 kB / 445.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.3232, allocations: 16 kB / 445.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.3239, allocations: 51.95 kB / 445.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.3241, allocations: 64.56 kB / 445.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.3242, allocations: 24 kB / 446 MB, free: 8.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.3249, allocations: 475 kB / 446.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.367e-06/0.3249, allocations: 0 / 446.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009904/0.3259, allocations: 295.7 kB / 446.7 MB, free: 8.105 MB / 366.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.003914/0.3298, allocations: 2.018 MB / 448.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.3326, allocations: 1.383 MB / 450.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.3327, allocations: 4 kB / 450.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.3342, allocations: 0.7809 MB / 450.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3356, allocations: 253.4 kB / 451.2 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.3506, allocations: 7.817 MB / 459 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.3514, allocations: 0.9597 MB / 459.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000535/0.352, allocations: 106.7 kB / 460 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.3525, allocations: 315.3 kB / 460.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3525, allocations: 0 / 460.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/0.4327, allocations: 26.61 MB / 487 MB, free: 15.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.61, allocations: 15.72 kB / 487 MB, free: 15.93 MB / 414.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