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.001263/0.001263, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2574, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00485/0.2623, allocations: 3.769 MB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2642, allocations: 1.024 MB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.2644, allocations: 11.94 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.2647, allocations: 107 kB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.2652, allocations: 202.3 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2655, allocations: 131.8 kB / 414.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.2662, allocations: 0.7081 MB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.2665, allocations: 214.8 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.2668, allocations: 263 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.2671, allocations: 302.7 kB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.2672, allocations: 60 kB / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2673, allocations: 60 kB / 415.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2675, allocations: 131.5 kB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.2678, allocations: 326.4 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.2685, allocations: 0.7228 MB / 416.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2685, allocations: 0 / 416.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2685, allocations: 4 kB / 416.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2685, allocations: 0 / 416.8 MB, free: 9.453 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.001476/0.27, allocations: 0.9322 MB / 417.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2701, allocations: 11.97 kB / 417.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.2702, allocations: 79.67 kB / 417.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2703, allocations: 68.56 kB / 417.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.271, allocations: 451.1 kB / 418.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.2711, allocations: 63.25 kB / 418.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.2712, allocations: 36.38 kB / 418.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.2721, allocations: 0.502 MB / 418.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2721, allocations: 0 / 418.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.2722, allocations: 16 kB / 419 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2722, allocations: 12 kB / 419 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.2731, allocations: 363.6 kB / 419.3 MB, free: 6.777 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.002108/0.2752, allocations: 1.355 MB / 420.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.2761, allocations: 458.9 kB / 421.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.2765, allocations: 188.8 kB / 421.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.2765, allocations: 7.984 kB / 421.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2766, allocations: 50.25 kB / 421.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.2766, allocations: 4 kB / 421.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001609/0.2782, allocations: 0.7396 MB / 422.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.2784, allocations: 449 kB / 422.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.279, allocations: 474 kB / 423 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2791, allocations: 33.7 kB / 423 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2793, allocations: 252.6 kB / 423.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2794, allocations: 134.8 kB / 423.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2795, allocations: 81.64 kB / 423.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2797, allocations: 366.7 kB / 423.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.2801, allocations: 143.9 kB / 424 MB, free: 1.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.2806, allocations: 286.5 kB / 424.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.2814, allocations: 358.5 kB / 424.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2815, allocations: 4 kB / 424.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00105/0.2825, allocations: 492.2 kB / 425.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2826, allocations: 37.67 kB / 425.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2826, allocations: 4 kB / 425.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.2828, allocations: 57.56 kB / 425.2 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.2832, allocations: 83.88 kB / 425.3 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.286, allocations: 2.953 MB / 428.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2865, allocations: 59.73 kB / 428.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.2865, allocations: 12 kB / 428.3 MB, free: 13.08 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.0002316/0.2867, allocations: 177.7 kB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.2868, allocations: 55.67 kB / 428.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.287, allocations: 60.86 kB / 428.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.287, allocations: 4 kB / 428.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.287, allocations: 4 kB / 428.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.288, allocations: 0.7397 MB / 429.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2897, allocations: 1.044 MB / 430.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2897, allocations: 4 kB / 430.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.2902, allocations: 95.88 kB / 430.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2902, allocations: 3.984 kB / 430.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.2902, allocations: 8 kB / 430.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2902, allocations: 0 / 430.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2902, allocations: 80 / 430.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2916, allocations: 0.6763 MB / 431.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.2918, allocations: 176.6 kB / 431.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.2919, allocations: 11.98 kB / 431.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.2923, allocations: 32.03 kB / 431.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.2923, allocations: 24.2 kB / 431.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2924, allocations: 8 kB / 431.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003962/0.2928, allocations: 342.8 kB / 431.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2928, allocations: 0 / 431.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2932, allocations: 147.8 kB / 431.9 MB, free: 9.27 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.001683/0.2949, allocations: 1.232 MB / 433.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.2962, allocations: 0.6528 MB / 433.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.2962, allocations: 4 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.2967, allocations: 188.2 kB / 434 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.2974, allocations: 149.7 kB / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/0.3043, allocations: 4.678 MB / 438.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.3048, allocations: 0.839 MB / 439.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.305, allocations: 60.55 kB / 439.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.3053, allocations: 183.4 kB / 439.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3053, allocations: 0 / 439.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.3495, allocations: 13.99 MB / 453.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.49, allocations: 0.8906 kB / 453.9 MB, free: 3.383 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.1.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