Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.92 kB / 365.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09442, allocations: 52.14 MB / 417.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005013/0.09943, allocations: 3.769 MB / 421.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1013, allocations: 1.008 MB / 422.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.1016, allocations: 11.94 kB / 422.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1019, allocations: 107 kB / 422.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.1024, allocations: 210.3 kB / 422.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1027, allocations: 135.8 kB / 423 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008136/0.1035, allocations: 0.7002 MB / 423.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1038, allocations: 138.8 kB / 423.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.1041, allocations: 271 kB / 424.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.1045, allocations: 310.7 kB / 424.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.1046, allocations: 56 kB / 424.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.1047, allocations: 64 kB / 424.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1048, allocations: 131.5 kB / 424.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1051, allocations: 322.5 kB / 425 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.1059, allocations: 0.7198 MB / 425.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1059, allocations: 0 / 425.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.106, allocations: 0 / 425.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.106, allocations: 0 / 425.7 MB, free: 4.781 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.00167/0.1076, allocations: 0.9322 MB / 426.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1077, allocations: 15.97 kB / 426.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1078, allocations: 79.72 kB / 426.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1079, allocations: 76.52 kB / 426.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.1088, allocations: 447.1 kB / 427.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/0.1088, allocations: 59.25 kB / 427.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.1089, allocations: 32.38 kB / 427.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.1098, allocations: 0.5175 MB / 427.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1098, allocations: 0 / 427.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1099, allocations: 16 kB / 427.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1099, allocations: 8 kB / 427.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/0.1107, allocations: 351.8 kB / 428.2 MB, free: 2.105 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.002204/0.1129, allocations: 1.367 MB / 429.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.1138, allocations: 437.1 kB / 430 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.1142, allocations: 177.4 kB / 430.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.1143, allocations: 7.984 kB / 430.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.1143, allocations: 42.5 kB / 430.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.1143, allocations: 0 / 430.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.00165/0.116, allocations: 0.7502 MB / 431 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.1162, allocations: 445 kB / 431.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.1168, allocations: 482 kB / 431.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1168, allocations: 33.7 kB / 431.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.117, allocations: 260.5 kB / 432.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1171, allocations: 138.8 kB / 432.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1173, allocations: 73.7 kB / 432.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1175, allocations: 358.8 kB / 432.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.1178, allocations: 147.9 kB / 432.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.1184, allocations: 286.4 kB / 433.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.1191, allocations: 355 kB / 433.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1191, allocations: 0 / 433.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001036/0.1202, allocations: 499.9 kB / 434 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.1202, allocations: 35.72 kB / 434 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1202, allocations: 4 kB / 434 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.1204, allocations: 49.64 kB / 434.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.1208, allocations: 91.91 kB / 434.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.1235, allocations: 2.961 MB / 437.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.1239, allocations: 55.7 kB / 437.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.124, allocations: 12 kB / 437.2 MB, free: 8.422 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.0002203/0.1242, allocations: 174.4 kB / 437.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1243, allocations: 55.67 kB / 437.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.1244, allocations: 68.86 kB / 437.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1244, allocations: 0 / 437.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1244, allocations: 4 kB / 437.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.1254, allocations: 0.7359 MB / 438.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1272, allocations: 1.045 MB / 439.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1272, allocations: 3.984 kB / 439.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.1276, allocations: 87.88 kB / 439.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1276, allocations: 0 / 439.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1277, allocations: 8 kB / 439.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1277, allocations: 4 kB / 439.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1277, allocations: 3.938 kB / 439.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.129, allocations: 0.6875 MB / 440 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.1292, allocations: 176.6 kB / 440.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.1293, allocations: 12 kB / 440.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.1297, allocations: 23.97 kB / 440.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.1298, allocations: 23.97 kB / 440.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1298, allocations: 12 kB / 440.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003971/0.1302, allocations: 334.9 kB / 440.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1302, allocations: 4.062 kB / 440.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.1306, allocations: 139.9 kB / 440.8 MB, free: 4.621 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.001718/0.1324, allocations: 1.236 MB / 442 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1336, allocations: 0.637 MB / 442.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1336, allocations: 3.938 kB / 442.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.134, allocations: 167.8 kB / 442.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.1347, allocations: 156.2 kB / 442.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1835/0.3182, allocations: 4.654 MB / 447.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3184, allocations: 0.844 MB / 448.4 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.3188, allocations: 65.41 kB / 448.5 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.319, allocations: 178.7 kB / 448.7 MB, free: 28.42 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.319, allocations: 1.406 kB / 448.7 MB, free: 28.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.3663, allocations: 14.09 MB / 462.8 MB, free: 25.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.14, allocations: 2.297 kB / 462.8 MB, free: 25.08 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.447181159630418]