Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001976/0.001976, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002596/0.002596, allocations: 161.6 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.125e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006983/0.007014, allocations: 4.373 MB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.01007, allocations: 1.335 MB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.0106, allocations: 11.94 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.01116, allocations: 154.6 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.01224, allocations: 349.2 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.01286, allocations: 231.4 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.01443, allocations: 1.062 MB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.01482, allocations: 190.4 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009352/0.01575, allocations: 0.612 MB / 280.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.01628, allocations: 331.1 kB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.01642, allocations: 88 kB / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01659, allocations: 88 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.01681, allocations: 195.3 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.01724, allocations: 343.2 kB / 281.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.01862, allocations: 1.125 MB / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01862, allocations: 0 / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01863, allocations: 0 / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.01864, allocations: 3.938 kB / 282.8 MB, free: 7.309 MB / 266.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.002482/0.02112, allocations: 1.16 MB / 283.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.02116, allocations: 8.031 kB / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.02144, allocations: 152.3 kB / 284.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.02236, allocations: 466.3 kB / 284.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.02257, allocations: 156.7 kB / 284.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.02271, allocations: 64.38 kB / 284.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.02484, allocations: 1.55 MB / 286.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.02487, allocations: 12.16 kB / 286.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.02495, allocations: 32.12 kB / 286.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.02496, allocations: 16 kB / 286.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.02629, allocations: 499.6 kB / 286.8 MB, free: 2.836 MB / 266.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.003546/0.02984, allocations: 1.691 MB / 288.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.03125, allocations: 494.1 kB / 289 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.03189, allocations: 234.2 kB / 289.2 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.03194, allocations: 16.48 kB / 289.3 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1113/0.1433, allocations: 324.1 kB / 289.6 MB, free: 28.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 4.799e-06/0.1433, allocations: 0 / 289.6 MB, free: 28.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.005515/0.1488, allocations: 1.334 MB / 290.9 MB, free: 28.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.149, allocations: 0.8249 MB / 291.7 MB, free: 27.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.1499, allocations: 0.5553 MB / 292.3 MB, free: 27.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.15, allocations: 45.08 kB / 292.3 MB, free: 27.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.1503, allocations: 344.4 kB / 292.7 MB, free: 27.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.1505, allocations: 193.4 kB / 292.9 MB, free: 27.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.1507, allocations: 131.5 kB / 293 MB, free: 27.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1508, allocations: 379.4 kB / 293.4 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.1514, allocations: 268.6 kB / 293.6 MB, free: 26.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009962/0.1524, allocations: 1.327 MB / 294.9 MB, free: 25.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1537, allocations: 0.5653 MB / 295.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.1537, allocations: 1.219 kB / 295.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002444/0.1561, allocations: 0.9671 MB / 296.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.1562, allocations: 63.94 kB / 296.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1562, allocations: 2.219 kB / 296.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007517/0.1569, allocations: 223.9 kB / 296.8 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.1576, allocations: 113.3 kB / 296.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.1641, allocations: 4.307 MB / 301.2 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/0.165, allocations: 88.5 kB / 301.3 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.1651, allocations: 22.55 kB / 301.3 MB, free: 20.93 MB / 266.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.0004547/0.1656, allocations: 213.7 kB / 301.5 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.1658, allocations: 98.77 kB / 301.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.166, allocations: 76.56 kB / 301.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.166, allocations: 6.438 kB / 301.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.166, allocations: 0 / 301.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/0.1682, allocations: 1.042 MB / 302.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.1711, allocations: 1.325 MB / 304 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1711, allocations: 0 / 304 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.1717, allocations: 113.5 kB / 304.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.1723, allocations: 174.4 kB / 304.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.1724, allocations: 9.812 kB / 304.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.1767, allocations: 3.666 MB / 308 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1767, allocations: 0 / 308 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.1791, allocations: 1.032 MB / 309 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.1794, allocations: 146.2 kB / 309.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.1796, allocations: 17.38 kB / 309.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.1803, allocations: 40.81 kB / 309.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.1804, allocations: 57.81 kB / 309.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.1804, allocations: 17.48 kB / 309.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.1809, allocations: 391.1 kB / 309.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1809, allocations: 0 / 309.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000893/0.1818, allocations: 258 kB / 309.9 MB, free: 15.23 MB / 266.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.0001398/0.1819, allocations: 117.9 kB / 310.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.1838, allocations: 1.042 MB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1838, allocations: 4.5 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.1847, allocations: 0.5193 MB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.1855, allocations: 219.4 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1878, allocations: 1.275 MB / 313.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.188, allocations: 323.8 kB / 313.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003306/0.1883, allocations: 81.2 kB / 313.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1884, allocations: 60.42 kB / 313.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1884, allocations: 0 / 313.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.0238/0.2122, allocations: 16.72 MB / 330.3 MB, free: 11.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.158380851964466]