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.0008903/0.0008903, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003701/0.003701, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8348/0.8348, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 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="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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.635e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1333/0.1333, allocations: 4.352 MB / 302.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1349, allocations: 1.344 MB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.1351, allocations: 14.12 kB / 304.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1354, allocations: 149.8 kB / 304.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.1358, allocations: 360.3 kB / 304.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1361, allocations: 212.4 kB / 304.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.1368, allocations: 1.077 MB / 305.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.1371, allocations: 201.3 kB / 306.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.1377, allocations: 0.6042 MB / 306.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.138, allocations: 326.2 kB / 307 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1381, allocations: 87.53 kB / 307.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1383, allocations: 90.59 kB / 307.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1384, allocations: 201 kB / 307.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.1387, allocations: 339.1 kB / 307.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009763/0.1397, allocations: 1.119 MB / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1397, allocations: 0 / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1397, allocations: 0 / 308.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1397, allocations: 5.688 kB / 308.9 MB, free: 11.01 MB / 282.7 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.001387/0.1411, allocations: 1.167 MB / 310 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1411, allocations: 13.3 kB / 310 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.1412, allocations: 103.9 kB / 310.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1413, allocations: 109.3 kB / 310.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.142, allocations: 465.2 kB / 310.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1421, allocations: 160.7 kB / 310.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.1422, allocations: 52.41 kB / 310.9 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1433, allocations: 1.566 MB / 312.5 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1433, allocations: 5.281 kB / 312.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.1433, allocations: 28.41 kB / 312.5 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1434, allocations: 12.77 kB / 312.5 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.1441, allocations: 0.506 MB / 313 MB, free: 7.949 MB / 282.7 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.001983/0.1461, allocations: 1.768 MB / 314.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.1469, allocations: 499.6 kB / 315.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.1472, allocations: 226.1 kB / 315.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1472, allocations: 13.75 kB / 315.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.1477, allocations: 318 kB / 315.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 1.824e-06/0.1477, allocations: 4 kB / 315.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.002751/0.1504, allocations: 1.325 MB / 317.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.1505, allocations: 0.8222 MB / 318 MB, free: 5.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.151, allocations: 0.5936 MB / 318.6 MB, free: 4.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.151, allocations: 40.83 kB / 318.6 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1512, allocations: 348.3 kB / 319 MB, free: 4.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.1513, allocations: 199.1 kB / 319.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1514, allocations: 127 kB / 319.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.1515, allocations: 384.1 kB / 319.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1518, allocations: 269.8 kB / 319.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.1523, allocations: 1.33 MB / 321.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.1529, allocations: 0.5606 MB / 321.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1529, allocations: 1.781 kB / 321.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001237/0.1542, allocations: 0.9515 MB / 322.8 MB, free: 1.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.1542, allocations: 60.2 kB / 322.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1542, allocations: 3.375 kB / 322.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.1546, allocations: 220.6 kB / 323 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1549, allocations: 123.4 kB / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.1585, allocations: 4.338 MB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.1589, allocations: 82.36 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.1589, allocations: 23.39 kB / 327.6 MB, free: 13.61 MB / 298.7 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.0002075/0.1591, allocations: 208.1 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.1592, allocations: 84.97 kB / 327.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.1593, allocations: 83.12 kB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1593, allocations: 5.906 kB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1593, allocations: 1.219 kB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/0.1604, allocations: 1.042 MB / 329 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.1623, allocations: 1.386 MB / 330.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1623, allocations: 0 / 330.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.1626, allocations: 113.2 kB / 330.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.1629, allocations: 174.3 kB / 330.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.163, allocations: 11.78 kB / 330.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.1657, allocations: 3.696 MB / 334.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1657, allocations: 0 / 334.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.167, allocations: 1.019 MB / 335.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.1672, allocations: 145.5 kB / 335.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.1673, allocations: 15.34 kB / 335.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1676, allocations: 48.64 kB / 335.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1677, allocations: 54.64 kB / 335.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1677, allocations: 14.81 kB / 335.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.168, allocations: 421.4 kB / 336.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.168, allocations: 0 / 336.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005465/0.1686, allocations: 257.9 kB / 336.3 MB, free: 7.02 MB / 298.7 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.001577/0.1702, allocations: 1.586 MB / 337.9 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1713, allocations: 1.036 MB / 339 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1713, allocations: 4 kB / 339 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.1722, allocations: 0.5239 MB / 339.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.1728, allocations: 215.4 kB / 339.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.1792, allocations: 6.333 MB / 346 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1794, allocations: 320.3 kB / 346.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.1797, allocations: 89.2 kB / 346.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.1802, allocations: 264.4 kB / 346.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1802, allocations: 0 / 346.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.2192, allocations: 24.91 MB / 371.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.469, allocations: 11.89 kB / 371.6 MB, free: 3.395 MB / 330.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/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: 10.05783455632627]