Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.00127/0.00127, allocations: 117.4 kB / 19.17 MB, free: 3.922 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.001315/0.001315, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.382/1.382, allocations: 207.6 MB / 232.5 MB, free: 3.984 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.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.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 52.55 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09767, allocations: 49.12 MB / 392.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006783/0.1044, allocations: 4.849 MB / 397 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.1077, allocations: 1.418 MB / 398.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1081, allocations: 11.94 kB / 398.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1085, allocations: 154.7 kB / 398.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.1093, allocations: 341.4 kB / 398.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1097, allocations: 215.6 kB / 399.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1109, allocations: 1.031 MB / 400.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.1113, allocations: 205.9 kB / 400.3 MB, free: 476 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.1119, allocations: 414.6 kB / 400.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.1124, allocations: 454.2 kB / 401.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1126, allocations: 88 kB / 401.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1127, allocations: 92 kB / 401.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1129, allocations: 195.3 kB / 401.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.1134, allocations: 477.9 kB / 402 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1145, allocations: 1.078 MB / 403.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1145, allocations: 4 kB / 403.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1145, allocations: 0 / 403.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1146, allocations: 3.938 kB / 403.1 MB, free: 13.68 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002353/0.1169, allocations: 1.247 MB / 404.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.117, allocations: 8.031 kB / 404.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.981e-05/0.117, allocations: 21.48 kB / 404.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.1172, allocations: 112 kB / 404.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1174, allocations: 108.3 kB / 404.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.1183, allocations: 0.5284 MB / 405.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.1185, allocations: 109.3 kB / 405.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1186, allocations: 56.12 kB / 405.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1201, allocations: 0.8166 MB / 406.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1201, allocations: 7.953 kB / 406.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.1201, allocations: 28 kB / 406.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1202, allocations: 12 kB / 406.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.1215, allocations: 0.5242 MB / 406.7 MB, free: 9.883 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.003676/0.1251, allocations: 2.203 MB / 408.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.1264, allocations: 0.499 MB / 409.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.1271, allocations: 258.4 kB / 409.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/0.1271, allocations: 20.53 kB / 409.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008634/0.128, allocations: 343 kB / 410 MB, free: 6.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.955e-06/0.128, allocations: 0 / 410 MB, free: 6.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=84): time 0.009714/0.1377, allocations: 2.937 MB / 412.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005312/0.1383, allocations: 0.8276 MB / 413.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.1391, allocations: 0.5862 MB / 414.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.1392, allocations: 49.7 kB / 414.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.1395, allocations: 337.2 kB / 414.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.1398, allocations: 297.4 kB / 415 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.1401, allocations: 162.6 kB / 415.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.1403, allocations: 398.7 kB / 415.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.1413, allocations: 321.8 kB / 415.8 MB, free: 216 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.1427, allocations: 0.6504 MB / 416.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.1447, allocations: 0.812 MB / 417.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1447, allocations: 0 / 417.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004134/0.1489, allocations: 1.342 MB / 418.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.1489, allocations: 63.41 kB / 418.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1489, allocations: 4 kB / 418.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.1508, allocations: 454 kB / 419.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.1519, allocations: 179.8 kB / 419.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.1637, allocations: 7.071 MB / 426.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.1647, allocations: 75.89 kB / 426.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.1648, allocations: 31.98 kB / 426.5 MB, free: 4.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.1652, allocations: 225.7 kB / 426.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.1653, allocations: 91.55 kB / 426.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.1655, allocations: 91.97 kB / 426.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.1655, allocations: 12 kB / 426.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1655, allocations: 112 / 426.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003395/0.1689, allocations: 1.401 MB / 428.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/0.1748, allocations: 2.328 MB / 430.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1748, allocations: 0 / 430.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.1759, allocations: 183.8 kB / 430.8 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.1776, allocations: 382.5 kB / 431.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.1776, allocations: 19.88 kB / 431.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.1868, allocations: 6.02 MB / 437.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1868, allocations: 384 / 437.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.1918, allocations: 1.695 MB / 438.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.1924, allocations: 240.4 kB / 439.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1925, allocations: 16 kB / 439.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.1932, allocations: 79.91 kB / 439.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.1935, allocations: 84.89 kB / 439.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.1935, allocations: 19.98 kB / 439.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005534/0.1941, allocations: 419.2 kB / 439.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1941, allocations: 3.938 kB / 439.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009709/0.1951, allocations: 288 kB / 440.1 MB, free: 6.672 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005259/0.2003, allocations: 2.282 MB / 442.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.2039, allocations: 1.456 MB / 443.8 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.204, allocations: 4 kB / 443.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.2057, allocations: 0.8065 MB / 444.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2067, allocations: 218.9 kB / 444.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.2227, allocations: 7.56 MB / 452.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.2233, allocations: 0.9493 MB / 453.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004531/0.2238, allocations: 98.17 kB / 453.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.2242, allocations: 291.3 kB / 453.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2242, allocations: 0 / 453.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2589/0.4831, allocations: 26.89 MB / 480.6 MB, free: 59.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.78, allocations: 15.48 kB / 480.6 MB, free: 59.42 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 16.24655335798161]