Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001296/0.001296, allocations: 110.5 kB / 17.73 MB, free: 5.312 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.001503/0.001503, allocations: 183 kB / 18.66 MB, free: 4.387 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.321/1.321, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001338/0.001338, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.0897, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004857/0.09461, allocations: 3.74 MB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.0966, allocations: 1.044 MB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.09698, allocations: 4 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.09742, allocations: 119 kB / 379.5 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1873/0.2847, allocations: 190 kB / 379.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.2855, allocations: 139.9 kB / 379.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2867, allocations: 0.7018 MB / 380.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.2871, allocations: 209.5 kB / 380.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.2874, allocations: 269.4 kB / 381 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.2877, allocations: 304 kB / 381.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.2879, allocations: 62.66 kB / 381.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.288, allocations: 60.75 kB / 381.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2881, allocations: 136.9 kB / 381.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2884, allocations: 321.6 kB / 381.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2895, allocations: 0.7131 MB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2896, allocations: 0 / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2896, allocations: 1.25 kB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.2896, allocations: 0 / 382.6 MB, free: 9.027 MB / 318.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.001751/0.2913, allocations: 0.9186 MB / 383.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2914, allocations: 11.28 kB / 383.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.2915, allocations: 78.25 kB / 383.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2917, allocations: 69.48 kB / 383.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.2924, allocations: 443 kB / 384.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.2925, allocations: 61.45 kB / 384.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.2925, allocations: 35.38 kB / 384.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.2934, allocations: 0.5151 MB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2934, allocations: 0.75 kB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.2935, allocations: 17.72 kB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2935, allocations: 10.47 kB / 384.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.2943, allocations: 358.8 kB / 385.1 MB, free: 7.824 MB / 318.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.002033/0.2963, allocations: 1.357 MB / 386.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.2972, allocations: 450.5 kB / 386.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.2977, allocations: 195.7 kB / 387.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.2977, allocations: 8.406 kB / 387.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2978, allocations: 42.53 kB / 387.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.2978, allocations: 0.9375 kB / 387.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001619/0.2994, allocations: 0.7403 MB / 387.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.2995, allocations: 448.7 kB / 388.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.3001, allocations: 476.9 kB / 388.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3001, allocations: 41.02 kB / 388.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3003, allocations: 244.1 kB / 389.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.3004, allocations: 131 kB / 389.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.3005, allocations: 81.48 kB / 389.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.3006, allocations: 358 kB / 389.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.301, allocations: 140 kB / 389.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.3015, allocations: 290.8 kB / 390 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.3022, allocations: 351.7 kB / 390.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3022, allocations: 1.031 kB / 390.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009633/0.3032, allocations: 0.494 MB / 390.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.3032, allocations: 31.7 kB / 390.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3032, allocations: 1.156 kB / 390.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.3034, allocations: 55.16 kB / 391 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.3039, allocations: 86.98 kB / 391.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.3058, allocations: 2.965 MB / 394 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3062, allocations: 58.44 kB / 394.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3063, allocations: 8.562 kB / 394.1 MB, free: 1.043 MB / 318.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.0001841/0.3065, allocations: 179.9 kB / 394.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.3066, allocations: 52.53 kB / 394.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.3067, allocations: 62.62 kB / 394.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3067, allocations: 3.625 kB / 394.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3067, allocations: 9.062 kB / 394.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008318/0.3075, allocations: 0.736 MB / 395.1 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3094, allocations: 1.051 MB / 396.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3094, allocations: 1 kB / 396.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.3098, allocations: 92.84 kB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3098, allocations: 1.891 kB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3099, allocations: 11.08 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3099, allocations: 1.641 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3099, allocations: 1.844 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3113, allocations: 0.6753 MB / 397 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.3115, allocations: 169.9 kB / 397.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.3116, allocations: 12.69 kB / 397.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.312, allocations: 27.33 kB / 397.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.3121, allocations: 27.86 kB / 397.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3121, allocations: 10.03 kB / 397.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004885/0.3126, allocations: 345.6 kB / 397.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3126, allocations: 1.281 kB / 397.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.3132, allocations: 139.4 kB / 397.7 MB, free: 14.86 MB / 334.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.001699/0.3149, allocations: 1.218 MB / 398.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.3162, allocations: 0.6558 MB / 399.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3162, allocations: 0 / 399.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.3166, allocations: 193 kB / 399.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.3174, allocations: 141.5 kB / 399.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.3244, allocations: 4.668 MB / 404.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.325, allocations: 0.8339 MB / 405.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.3254, allocations: 70.2 kB / 405.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.3256, allocations: 180.7 kB / 405.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3257, allocations: 0 / 405.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.3654, allocations: 14.3 MB / 419.9 MB, free: 372 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.58, allocations: 8.938 kB / 419.9 MB, free: 364 kB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches