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.001595/0.001595, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.001893/0.001893, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.541/1.541, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",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.0024/0.0024, allocations: 60.55 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1299, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006734/0.1366, allocations: 4.845 MB / 396.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.14, allocations: 1.414 MB / 397.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.1406, allocations: 11.94 kB / 397.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.1411, allocations: 154.7 kB / 397.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.142, allocations: 349.3 kB / 398.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.1425, allocations: 211.6 kB / 398.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.1438, allocations: 1.027 MB / 399.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.1442, allocations: 205.9 kB / 399.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.1448, allocations: 414.6 kB / 400 MB, free: 64 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.1455, allocations: 454.1 kB / 400.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.1456, allocations: 88 kB / 400.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1458, allocations: 92 kB / 400.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.146, allocations: 199.3 kB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.1465, allocations: 477.8 kB / 401.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1478, allocations: 1.078 MB / 402.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1478, allocations: 0 / 402.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1478, allocations: 4 kB / 402.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.1478, allocations: 0 / 402.4 MB, free: 13.69 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.002513/0.1503, allocations: 1.243 MB / 403.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1504, allocations: 12.03 kB / 403.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.1506, allocations: 107.9 kB / 403.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.1508, allocations: 108.4 kB / 403.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.1517, allocations: 0.5245 MB / 404.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.1519, allocations: 105.3 kB / 404.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.152, allocations: 60.33 kB / 404.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1536, allocations: 0.801 MB / 405.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1536, allocations: 0 / 405.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.1537, allocations: 28 kB / 405.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1537, allocations: 12 kB / 405.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1551, allocations: 0.5086 MB / 405.9 MB, free: 9.957 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.004413/0.1595, allocations: 2.171 MB / 408 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.1609, allocations: 0.495 MB / 408.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.1615, allocations: 230.4 kB / 408.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.1615, allocations: 13.66 kB / 408.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.1624, allocations: 334.9 kB / 409.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.737e-06/0.1624, allocations: 0 / 409.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005561/0.168, allocations: 1.478 MB / 410.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005181/0.1685, allocations: 0.8232 MB / 411.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.1693, allocations: 0.5862 MB / 412 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.1695, allocations: 45.69 kB / 412 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.1698, allocations: 345.2 kB / 412.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.17, allocations: 202.3 kB / 412.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1703, allocations: 130.2 kB / 412.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1705, allocations: 378.8 kB / 413.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.1711, allocations: 205 kB / 413.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009641/0.1721, allocations: 0.5286 MB / 413.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.1734, allocations: 0.5575 MB / 414.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1734, allocations: 4 kB / 414.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002541/0.1759, allocations: 0.8939 MB / 415.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.176, allocations: 67.38 kB / 415.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.176, allocations: 4 kB / 415.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.1768, allocations: 221.5 kB / 415.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.1774, allocations: 111.9 kB / 415.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/0.1847, allocations: 4.597 MB / 420.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/0.1856, allocations: 83.58 kB / 420.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.1857, allocations: 27.98 kB / 420.4 MB, free: 10.54 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.1861, allocations: 209.8 kB / 420.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.1863, allocations: 83.47 kB / 420.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.1865, allocations: 78.86 kB / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1865, allocations: 4 kB / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1865, allocations: 112 / 420.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/0.1888, allocations: 1.05 MB / 421.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.192, allocations: 1.54 MB / 423.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.192, allocations: 4 kB / 423.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.1926, allocations: 111.8 kB / 423.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.1932, allocations: 169.6 kB / 423.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.1933, allocations: 15.98 kB / 423.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/0.1989, allocations: 3.928 MB / 427.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1989, allocations: 7.922 kB / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.2015, allocations: 1.02 MB / 428.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.2021, allocations: 216.5 kB / 428.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2022, allocations: 19.98 kB / 428.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.2028, allocations: 43.95 kB / 428.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2029, allocations: 52.56 kB / 428.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.203, allocations: 15.98 kB / 428.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000558/0.2035, allocations: 415.1 kB / 429.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2035, allocations: 0 / 429.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009222/0.2045, allocations: 259.7 kB / 429.6 MB, free: 0.8086 MB / 350.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 (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/0.2074, allocations: 1.604 MB / 431.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.2097, allocations: 0.9838 MB / 432.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.2097, allocations: 4 kB / 432.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.2109, allocations: 0.5242 MB / 432.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.212, allocations: 211.1 kB / 432.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.2235, allocations: 6.146 MB / 439 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.2241, allocations: 0.916 MB / 440 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004514/0.2245, allocations: 85.22 kB / 440 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.2249, allocations: 267.3 kB / 440.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2249, allocations: 0 / 440.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/0.4813, allocations: 22.89 MB / 463.2 MB, free: 65.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.6, allocations: 9.438 kB / 463.2 MB, free: 65.57 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.261926983002922]