Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0049/0.2708, allocations: 3.754 MB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2731, allocations: 1.022 MB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/0.2737, allocations: 8 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.2744, allocations: 115 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006921/0.2751, allocations: 198.3 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.2755, allocations: 143.8 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.2765, allocations: 0.7003 MB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.2769, allocations: 214.8 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.2772, allocations: 263 kB / 415.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.2777, allocations: 310.6 kB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2778, allocations: 60 kB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2779, allocations: 60 kB / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2781, allocations: 135.5 kB / 415.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.2784, allocations: 314.5 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.2791, allocations: 0.7163 MB / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2791, allocations: 0 / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.2791, allocations: 0 / 416.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.2791, allocations: 3.938 kB / 416.7 MB, free: 9.523 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001813/0.2809, allocations: 0.9169 MB / 417.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.281, allocations: 16.03 kB / 417.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.2811, allocations: 83.61 kB / 417.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2813, allocations: 76.12 kB / 417.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.2821, allocations: 438.8 kB / 418.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2822, allocations: 59.27 kB / 418.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.2823, allocations: 40.36 kB / 418.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.2831, allocations: 0.5098 MB / 418.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2832, allocations: 0 / 418.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.2832, allocations: 16 kB / 418.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2832, allocations: 8 kB / 418.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.2841, allocations: 355.8 kB / 419.2 MB, free: 6.863 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.001963/0.286, allocations: 1.351 MB / 420.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/0.2869, allocations: 462.6 kB / 421 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.2873, allocations: 192.8 kB / 421.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.2874, allocations: 15.97 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2874, allocations: 42.31 kB / 421.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.2874, allocations: 0 / 421.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001595/0.289, allocations: 0.7396 MB / 422 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.2892, allocations: 448.9 kB / 422.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.2897, allocations: 482 kB / 422.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.2897, allocations: 33.7 kB / 423 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2899, allocations: 244.4 kB / 423.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.29, allocations: 130.1 kB / 423.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2901, allocations: 81.64 kB / 423.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2903, allocations: 354.8 kB / 423.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2906, allocations: 147.9 kB / 423.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.2911, allocations: 294.4 kB / 424.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.2918, allocations: 346.6 kB / 424.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2919, allocations: 3.938 kB / 424.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009683/0.2928, allocations: 499.8 kB / 425 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.2929, allocations: 36.67 kB / 425 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2929, allocations: 0 / 425 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.2931, allocations: 61.66 kB / 425.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.2935, allocations: 87.88 kB / 425.2 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.2957, allocations: 2.957 MB / 428.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.2962, allocations: 55.7 kB / 428.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.2962, allocations: 12 kB / 428.2 MB, free: 13.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.2965, allocations: 181.7 kB / 428.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2966, allocations: 55.34 kB / 428.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.2967, allocations: 56.88 kB / 428.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2967, allocations: 4 kB / 428.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2967, allocations: 3.984 kB / 428.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009223/0.2976, allocations: 0.7397 MB / 429.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.2992, allocations: 1.048 MB / 430.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2992, allocations: 0 / 430.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.2997, allocations: 87.88 kB / 430.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2997, allocations: 8 kB / 430.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2997, allocations: 7.984 kB / 430.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2997, allocations: 4 kB / 430.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2997, allocations: 0 / 430.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.301, allocations: 0.676 MB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.3012, allocations: 168.5 kB / 431.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.3012, allocations: 12 kB / 431.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.3016, allocations: 27.97 kB / 431.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3017, allocations: 27.95 kB / 431.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3017, allocations: 8 kB / 431.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.3021, allocations: 342.9 kB / 431.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 431.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.3025, allocations: 143.8 kB / 431.8 MB, free: 9.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.304, allocations: 1.223 MB / 433 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3052, allocations: 0.6613 MB / 433.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3052, allocations: 0 / 433.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.3056, allocations: 183.5 kB / 433.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.3063, allocations: 157.8 kB / 434 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.3124, allocations: 4.64 MB / 438.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3128, allocations: 0.839 MB / 439.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.313, allocations: 68.53 kB / 439.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.3133, allocations: 179.4 kB / 439.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3133, allocations: 3.938 kB / 439.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.3505, allocations: 14.29 MB / 454 MB, free: 3.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.78, allocations: 7.109 kB / 454 MB, free: 3.211 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches