Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 48.06 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005928/0.109, allocations: 3.776 MB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1952/0.3042, allocations: 1.022 MB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.3046, allocations: 13.97 kB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.305, allocations: 113.3 kB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.3054, allocations: 206.6 kB / 431.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.3057, allocations: 137.2 kB / 431.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.3064, allocations: 0.7002 MB / 432.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.3066, allocations: 145.5 kB / 432.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.3068, allocations: 274.1 kB / 432.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.3071, allocations: 309.9 kB / 433 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.3072, allocations: 60.53 kB / 433 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.3073, allocations: 61.41 kB / 433.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.3073, allocations: 128.5 kB / 433.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.3076, allocations: 322 kB / 433.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.3081, allocations: 0.7231 MB / 434.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3081, allocations: 3.375 kB / 434.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.3081, allocations: 0 / 434.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.3082, allocations: 0.7188 kB / 434.3 MB, free: 7.102 MB / 350.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.001429/0.3096, allocations: 0.9294 MB / 435.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3096, allocations: 9.375 kB / 435.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3097, allocations: 82.23 kB / 435.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3098, allocations: 70.23 kB / 435.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3106, allocations: 452.4 kB / 435.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.3107, allocations: 63.19 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.3107, allocations: 38.31 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.3115, allocations: 0.509 MB / 436.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3115, allocations: 0 / 436.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.3116, allocations: 18.38 kB / 436.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3116, allocations: 10.47 kB / 436.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/0.3124, allocations: 357.3 kB / 436.8 MB, free: 5.918 MB / 350.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.00194/0.3144, allocations: 1.356 MB / 438.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.3152, allocations: 437 kB / 438.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.3156, allocations: 176.7 kB / 438.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.3156, allocations: 8.297 kB / 438.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3157, allocations: 47.11 kB / 438.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.3157, allocations: 0 / 438.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001621/0.3173, allocations: 0.7389 MB / 439.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.3174, allocations: 448.2 kB / 440 MB, free: 3.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.3179, allocations: 477.5 kB / 440.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.318, allocations: 33.3 kB / 440.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3181, allocations: 255.8 kB / 440.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.3182, allocations: 136.5 kB / 440.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3183, allocations: 80.48 kB / 440.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.3184, allocations: 362.6 kB / 441.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.3188, allocations: 141.1 kB / 441.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.3192, allocations: 289.8 kB / 441.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.32, allocations: 354.6 kB / 442 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.32, allocations: 0 / 442 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001051/0.321, allocations: 497.1 kB / 442.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.3211, allocations: 31.95 kB / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3211, allocations: 3.484 kB / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3213, allocations: 54.41 kB / 442.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.3217, allocations: 95.98 kB / 442.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.3238, allocations: 2.959 MB / 445.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.3243, allocations: 53.2 kB / 445.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.3244, allocations: 15.38 kB / 445.7 MB, free: 15.24 MB / 366.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.0002701/0.3246, allocations: 168.9 kB / 445.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3247, allocations: 57.11 kB / 446 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3249, allocations: 64.14 kB / 446 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3249, allocations: 4.75 kB / 446 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3249, allocations: 0 / 446 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.326, allocations: 0.7366 MB / 446.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3278, allocations: 1.056 MB / 447.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3278, allocations: 0 / 447.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.3283, allocations: 88.86 kB / 447.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3283, allocations: 2.062 kB / 447.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3283, allocations: 15 kB / 447.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3283, allocations: 2.719 kB / 447.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3283, allocations: 2.953 kB / 447.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3297, allocations: 0.6794 MB / 448.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.3299, allocations: 169.5 kB / 448.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.33, allocations: 11.98 kB / 448.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.3304, allocations: 26.5 kB / 448.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.3305, allocations: 24.25 kB / 448.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3305, allocations: 11.55 kB / 448.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004024/0.3309, allocations: 336.3 kB / 449.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3309, allocations: 4.062 kB / 449.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000494/0.3314, allocations: 148.6 kB / 449.3 MB, free: 13.04 MB / 366.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.001732/0.3331, allocations: 1.23 MB / 450.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3345, allocations: 0.6376 MB / 451.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3345, allocations: 0.9688 kB / 451.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3349, allocations: 181.1 kB / 451.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.3356, allocations: 143.4 kB / 451.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.3427, allocations: 4.663 MB / 456.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3431, allocations: 0.8406 MB / 457 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.3434, allocations: 69.09 kB / 457.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.3437, allocations: 181.4 kB / 457.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3437, allocations: 0 / 457.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.3928, allocations: 14.09 MB / 471.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.41, allocations: 3.859 kB / 471.4 MB, free: 1.773 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.784170537022874]