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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.001288/0.001288, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.6 MB / 231.8 MB, free: 4.227 MB / 174.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.001649/0.001649, allocations: 59.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08722, allocations: 49.12 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005302/0.09252, allocations: 3.759 MB / 395.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.09432, allocations: 1.048 MB / 396.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.09455, allocations: 8 kB / 396.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.09491, allocations: 111 kB / 396.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.09536, allocations: 210.3 kB / 396.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.09568, allocations: 139.8 kB / 396.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.09648, allocations: 0.7041 MB / 397.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.09673, allocations: 142.8 kB / 397.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.09702, allocations: 267 kB / 397.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.09739, allocations: 310.7 kB / 398 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.09748, allocations: 60 kB / 398.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.09757, allocations: 60 kB / 398.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.09769, allocations: 127.5 kB / 398.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.09799, allocations: 322.5 kB / 398.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.09876, allocations: 0.7197 MB / 399.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.09877, allocations: 8 kB / 399.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09877, allocations: 0 / 399.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.09878, allocations: 3.938 kB / 399.3 MB, free: 0.7617 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.001667/0.1004, allocations: 0.9322 MB / 400.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1005, allocations: 12.03 kB / 400.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.1006, allocations: 83.66 kB / 400.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1007, allocations: 72.52 kB / 400.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.1015, allocations: 443.2 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1016, allocations: 59.27 kB / 400.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.1017, allocations: 36.36 kB / 401 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.1026, allocations: 0.5136 MB / 401.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1026, allocations: 0 / 401.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1026, allocations: 16 kB / 401.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1027, allocations: 8 kB / 401.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.1035, allocations: 355.8 kB / 401.8 MB, free: 14.09 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.002211/0.1057, allocations: 1.359 MB / 403.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.1066, allocations: 437.4 kB / 403.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.107, allocations: 172.8 kB / 403.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.107, allocations: 7.984 kB / 403.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.107, allocations: 38.56 kB / 403.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.107, allocations: 4 kB / 403.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001608/0.1086, allocations: 0.7396 MB / 404.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002596/0.1089, allocations: 456.9 kB / 405 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.1094, allocations: 478 kB / 405.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.1095, allocations: 33.7 kB / 405.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1097, allocations: 248.6 kB / 405.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1098, allocations: 134.8 kB / 405.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.11, allocations: 77.69 kB / 406 MB, free: 9.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1101, allocations: 354.8 kB / 406.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.1105, allocations: 147.9 kB / 406.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.111, allocations: 294.4 kB / 406.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.1118, allocations: 350.8 kB / 407.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1118, allocations: 0 / 407.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001022/0.1128, allocations: 499.9 kB / 407.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.1128, allocations: 29.73 kB / 407.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1128, allocations: 8 kB / 407.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.113, allocations: 53.62 kB / 407.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.1134, allocations: 87.88 kB / 407.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.1162, allocations: 2.965 MB / 410.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.1166, allocations: 51.8 kB / 410.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.1167, allocations: 12 kB / 410.8 MB, free: 4.434 MB / 334.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.00023/0.1169, allocations: 177.8 kB / 411 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.117, allocations: 55.67 kB / 411 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1171, allocations: 64.81 kB / 411.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1171, allocations: 0 / 411.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1171, allocations: 7.984 kB / 411.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.1181, allocations: 0.7359 MB / 411.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.1199, allocations: 1.052 MB / 412.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1199, allocations: 4 kB / 412.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.1203, allocations: 91.88 kB / 413 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1203, allocations: 0 / 413 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1203, allocations: 8 kB / 413 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1203, allocations: 3.984 kB / 413 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1203, allocations: 0 / 413 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1217, allocations: 0.6804 MB / 413.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.1219, allocations: 172.7 kB / 413.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.1219, allocations: 11.94 kB / 413.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.1223, allocations: 32.03 kB / 413.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.1224, allocations: 31.7 kB / 413.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1224, allocations: 8 kB / 413.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003865/0.1228, allocations: 338.9 kB / 414.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1228, allocations: 0 / 414.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.1232, allocations: 143.8 kB / 414.4 MB, free: 0.625 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.001656/0.1249, allocations: 1.224 MB / 415.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1261, allocations: 0.6337 MB / 416.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1261, allocations: 4 kB / 416.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.1265, allocations: 179.3 kB / 416.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.1272, allocations: 153.9 kB / 416.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007269/0.1344, allocations: 4.67 MB / 421.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.1351, allocations: 0.8353 MB / 422.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.1355, allocations: 64.53 kB / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.1358, allocations: 183.4 kB / 422.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1358, allocations: 0 / 422.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.185, allocations: 14.08 MB / 436.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.03, allocations: 19.94 kB / 436.4 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.306758102029562]