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.0008081/0.0008081, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003723/0.003723, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8146/0.8146, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 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 1.773e-06/1.773e-06, allocations: 3.938 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.697e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003815/0.003842, allocations: 4.347 MB / 324 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005297, allocations: 1.316 MB / 325.3 MB, free: 172 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.00549, allocations: 11.94 kB / 325.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.005795, allocations: 146.7 kB / 325.5 MB, free: 12 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.006249, allocations: 361.1 kB / 325.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.006535, allocations: 215.5 kB / 326.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.007217, allocations: 1.076 MB / 327.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.00747, allocations: 198.3 kB / 327.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.007916, allocations: 0.6043 MB / 327.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.008212, allocations: 323.1 kB / 328.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.008297, allocations: 91.94 kB / 328.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.008377, allocations: 95.94 kB / 328.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.008482, allocations: 199.3 kB / 328.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.0087, allocations: 331.3 kB / 329 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.009416, allocations: 1.114 MB / 330.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.00942, allocations: 3.984 kB / 330.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009421, allocations: 0 / 330.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.009429, allocations: 4 kB / 330.1 MB, free: 11.41 MB / 298.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.001275/0.0107, allocations: 1.156 MB / 331.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01074, allocations: 12.92 kB / 331.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.01085, allocations: 104.3 kB / 331.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.01138, allocations: 462.2 kB / 331.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.01149, allocations: 156.6 kB / 331.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.01156, allocations: 60.33 kB / 332 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.01254, allocations: 1.554 MB / 333.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01256, allocations: 192 / 333.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.0126, allocations: 28.12 kB / 333.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.01261, allocations: 12 kB / 333.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.01329, allocations: 0.4996 MB / 334.1 MB, free: 6.992 MB / 298.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.001894/0.01519, allocations: 1.679 MB / 335.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.01592, allocations: 494.8 kB / 336.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.01625, allocations: 234.2 kB / 336.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.01628, allocations: 12.48 kB / 336.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.0167, allocations: 318.2 kB / 336.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.974e-06/0.0167, allocations: 0 / 336.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.002536/0.01924, allocations: 1.321 MB / 338.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002611/0.0195, allocations: 0.8271 MB / 339 MB, free: 1.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.01992, allocations: 0.5578 MB / 339.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.01996, allocations: 45.7 kB / 339.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02015, allocations: 341 kB / 339.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.02025, allocations: 190.7 kB / 340.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.02039, allocations: 134.3 kB / 340.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.0205, allocations: 370.8 kB / 340.6 MB, free: 160 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.02086, allocations: 272.6 kB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.02159, allocations: 1.325 MB / 342.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.02228, allocations: 0.5641 MB / 342.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02228, allocations: 4 kB / 342.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001225/0.02351, allocations: 0.9426 MB / 343.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.02356, allocations: 63.41 kB / 343.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.02356, allocations: 0 / 343.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.02401, allocations: 233.4 kB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.02431, allocations: 115.8 kB / 344.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.02838, allocations: 4.288 MB / 348.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.02874, allocations: 79.62 kB / 348.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.02877, allocations: 23.98 kB / 348.5 MB, free: 7.633 MB / 314.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.0002302/0.029, allocations: 205.7 kB / 348.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.02907, allocations: 79.64 kB / 348.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.02915, allocations: 78.5 kB / 348.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02916, allocations: 15.98 kB / 348.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.02916, allocations: 0 / 348.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.03034, allocations: 1.037 MB / 349.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.03182, allocations: 1.324 MB / 351.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.03182, allocations: 3.938 kB / 351.2 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.03211, allocations: 103.9 kB / 351.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.0324, allocations: 173.5 kB / 351.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.03242, allocations: 8 kB / 351.5 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.03514, allocations: 3.664 MB / 355.2 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.03514, allocations: 3.938 kB / 355.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.03642, allocations: 1.011 MB / 356.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.03661, allocations: 139.3 kB / 356.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.03666, allocations: 15.98 kB / 356.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.03693, allocations: 43.95 kB / 356.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.03704, allocations: 56.47 kB / 356.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.03706, allocations: 19.98 kB / 356.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.03737, allocations: 386.8 kB / 356.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03737, allocations: 0 / 356.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000521/0.03789, allocations: 255.7 kB / 357.1 MB, free: 14.62 MB / 330.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.0001405/0.03803, allocations: 119.2 kB / 357.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.03925, allocations: 1.041 MB / 358.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.03926, allocations: 0 / 358.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.03977, allocations: 0.5195 MB / 358.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.04032, allocations: 215.6 kB / 358.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.04191, allocations: 1.288 MB / 360.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.04211, allocations: 323.9 kB / 360.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.04222, allocations: 56.48 kB / 360.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.04222, allocations: 0 / 360.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01383/0.05606, allocations: 16.39 MB / 377 MB, free: 10.64 MB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/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.800898817367852]