Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9431/0.9431, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.045e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004254/0.004274, allocations: 4.778 MB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005911, allocations: 1.366 MB / 280.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.006118, allocations: 7.938 kB / 280.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.006408, allocations: 158.7 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.006873, allocations: 357.1 kB / 280.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.007175, allocations: 223.5 kB / 281 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.007894, allocations: 1.069 MB / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.008129, allocations: 194.4 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.008666, allocations: 0.612 MB / 282.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.00899, allocations: 327.1 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.009078, allocations: 88 kB / 283.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.009169, allocations: 91.94 kB / 283.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.009276, allocations: 195.3 kB / 283.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.009515, allocations: 335.3 kB / 283.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.01006, allocations: 0.7006 MB / 284.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01006, allocations: 4 kB / 284.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01007, allocations: 0 / 284.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.01007, allocations: 0 / 284.6 MB, free: 9.793 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.001493/0.01157, allocations: 1.256 MB / 285.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.0116, allocations: 8.031 kB / 285.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.01177, allocations: 152.3 kB / 286 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.01221, allocations: 436.2 kB / 286.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.01232, allocations: 152.7 kB / 286.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.0124, allocations: 72.33 kB / 286.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.0133, allocations: 1.444 MB / 288.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.01332, allocations: 4.125 kB / 288.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.01336, allocations: 36.12 kB / 288.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.01337, allocations: 12 kB / 288.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.01367, allocations: 198.8 kB / 288.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.01559, allocations: 1.627 MB / 289.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.01599, allocations: 279.8 kB / 290.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.01613, allocations: 113.1 kB / 290.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.01616, allocations: 16.48 kB / 290.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.01641, allocations: 207.8 kB / 290.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/0.01641, allocations: 0 / 290.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.001938/0.01835, allocations: 0.917 MB / 291.5 MB, free: 2.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005122/0.01886, allocations: 0.8271 MB / 292.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.01924, allocations: 0.5685 MB / 292.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.01928, allocations: 41.7 kB / 292.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.01951, allocations: 411.7 kB / 293.3 MB, free: 284 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.01963, allocations: 202.2 kB / 293.5 MB, free: 80 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.0198, allocations: 131.9 kB / 293.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.01998, allocations: 0.5624 MB / 294.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.02013, allocations: 132.6 kB / 294.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.02069, allocations: 1.279 MB / 295.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.02103, allocations: 354.1 kB / 295.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.02103, allocations: 4 kB / 295.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008513/0.02189, allocations: 0.6589 MB / 296.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.02193, allocations: 67.67 kB / 296.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.02194, allocations: 8 kB / 296.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.02225, allocations: 151.2 kB / 296.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.02255, allocations: 123.7 kB / 297 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.02609, allocations: 4.588 MB / 301.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.02647, allocations: 83.58 kB / 301.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.02649, allocations: 16 kB / 301.6 MB, free: 7.219 MB / 282.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.0002015/0.0267, allocations: 200.5 kB / 301.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.02679, allocations: 103.5 kB / 301.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.02687, allocations: 78.66 kB / 302 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.02687, allocations: 11.94 kB / 302 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02688, allocations: 0 / 302 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007179/0.0276, allocations: 0.785 MB / 302.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.02873, allocations: 1.048 MB / 303.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02873, allocations: 0 / 303.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.029, allocations: 99.88 kB / 304 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.02922, allocations: 115.2 kB / 304.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.02925, allocations: 19.98 kB / 304.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.03183, allocations: 4.215 MB / 308.3 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.03183, allocations: 0 / 308.3 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.03255, allocations: 0.665 MB / 309 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.03275, allocations: 139.4 kB / 309.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.03281, allocations: 20 kB / 309.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.03309, allocations: 31.97 kB / 309.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.03319, allocations: 64.27 kB / 309.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.03321, allocations: 15.98 kB / 309.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.03343, allocations: 350.6 kB / 309.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03343, allocations: 0 / 309.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.03401, allocations: 255.7 kB / 309.8 MB, free: 14.59 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.0001312/0.03414, allocations: 119.2 kB / 309.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008751/0.03502, allocations: 0.9384 MB / 310.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.03502, allocations: 3.938 kB / 310.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.03541, allocations: 0.5419 MB / 311.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.03596, allocations: 215.7 kB / 311.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.03807, allocations: 1.231 MB / 312.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.03818, allocations: 152.5 kB / 313 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.03841, allocations: 81.08 kB / 313.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.03893, allocations: 393.9 kB / 313.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03893, allocations: 0 / 313.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of Templates: time 0.02045/0.05938, allocations: 18.33 MB / 331.8 MB, free: 8.797 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1381552638486028]