Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001845/0.001845, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.002184/0.002184, allocations: 156.9 kB / 24.48 MB, free: 3.461 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.399/1.399, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 50.11 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09026, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005902/0.09616, allocations: 4.36 MB / 375.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.09849, allocations: 1.297 MB / 377.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.09873, allocations: 15.88 kB / 377.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.09912, allocations: 150.7 kB / 377.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.09979, allocations: 337.4 kB / 377.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1002, allocations: 215.7 kB / 377.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.1014, allocations: 1.026 MB / 379 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1017, allocations: 198.5 kB / 379.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.1022, allocations: 414.5 kB / 379.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.1028, allocations: 386.1 kB / 379.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1029, allocations: 91.94 kB / 380 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1031, allocations: 92 kB / 380.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.1033, allocations: 191.4 kB / 380.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.1037, allocations: 398.3 kB / 380.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1049, allocations: 1.097 MB / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1049, allocations: 4 kB / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1049, allocations: 0 / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1049, allocations: 0 / 381.8 MB, free: 13.07 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002274/0.1072, allocations: 1.168 MB / 383 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1072, allocations: 8.922 kB / 383 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1074, allocations: 104.4 kB / 383.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.1082, allocations: 467.1 kB / 383.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.1084, allocations: 148.7 kB / 383.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.1085, allocations: 52.33 kB / 383.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.1104, allocations: 1.554 MB / 385.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.1104, allocations: 3.984 kB / 385.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.1105, allocations: 28 kB / 385.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1105, allocations: 12 kB / 385.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1118, allocations: 0.4957 MB / 385.8 MB, free: 8.656 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.003234/0.115, allocations: 1.679 MB / 387.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1163, allocations: 0.4942 MB / 388 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.117, allocations: 230.2 kB / 388.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.117, allocations: 12.5 kB / 388.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.1178, allocations: 326.1 kB / 388.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.274e-06/0.1178, allocations: 3.938 kB / 388.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005173/0.123, allocations: 1.318 MB / 389.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004717/0.1234, allocations: 0.8232 MB / 390.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.1242, allocations: 0.5538 MB / 391.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.1242, allocations: 41.7 kB / 391.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.1245, allocations: 345 kB / 391.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1247, allocations: 195.4 kB / 391.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.1249, allocations: 134.3 kB / 391.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1251, allocations: 382.7 kB / 392.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.1258, allocations: 264.6 kB / 392.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.1271, allocations: 1.329 MB / 393.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.1284, allocations: 0.5642 MB / 394.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1284, allocations: 0 / 394.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002412/0.1308, allocations: 0.9465 MB / 395.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.1309, allocations: 59.44 kB / 395.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1309, allocations: 4 kB / 395.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007541/0.1316, allocations: 217.5 kB / 395.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.1323, allocations: 115.8 kB / 395.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.1393, allocations: 4.289 MB / 400.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.14, allocations: 79.62 kB / 400.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.1401, allocations: 27.92 kB / 400.2 MB, free: 9.289 MB / 366.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.0003555/0.1404, allocations: 213.9 kB / 400.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1406, allocations: 79.53 kB / 400.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1407, allocations: 74.56 kB / 400.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1407, allocations: 8 kB / 400.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1407, allocations: 3.984 kB / 400.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/0.143, allocations: 1.045 MB / 401.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.1458, allocations: 1.32 MB / 402.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1458, allocations: 8.188 kB / 402.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.1464, allocations: 103.9 kB / 403 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/0.147, allocations: 177.5 kB / 403.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.147, allocations: 12 kB / 403.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005327/0.1523, allocations: 3.649 MB / 406.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1523, allocations: 3.938 kB / 406.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.1548, allocations: 1.011 MB / 407.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.1552, allocations: 139.4 kB / 408 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1553, allocations: 23.98 kB / 408 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.1559, allocations: 47.95 kB / 408.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.156, allocations: 52.34 kB / 408.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.1561, allocations: 15.98 kB / 408.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.1566, allocations: 394.8 kB / 408.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1566, allocations: 0 / 408.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008096/0.1574, allocations: 259.7 kB / 408.8 MB, free: 276 kB / 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 (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.0001554/0.1575, allocations: 119.2 kB / 408.9 MB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.1597, allocations: 1.033 MB / 409.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.1597, allocations: 8 kB / 410 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1608, allocations: 0.5277 MB / 410.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.1616, allocations: 206.8 kB / 410.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1643, allocations: 1.322 MB / 412 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1646, allocations: 319.9 kB / 412.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.165, allocations: 77.08 kB / 412.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1651, allocations: 60.48 kB / 412.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1651, allocations: 3.938 kB / 412.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Templates: time 0.02887/0.194, allocations: 16.78 MB / 429.2 MB, free: 12.03 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.018565358943306]