Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0009281/0.0009281, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002413, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009535/0.0009535, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002159, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.8829/0.8829, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07959/0.9625, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/9.697e-06, allocations: 2.312 kB / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003657/0.003667, allocations: 2.927 MB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.005998, allocations: 1.425 MB / 249.5 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.006141, allocations: 3.938 kB / 249.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.006501, allocations: 195 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.006959, allocations: 250.4 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.00724, allocations: 155.3 kB / 250.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.007699, allocations: 473.7 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.007825, allocations: 82.86 kB / 250.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.008192, allocations: 323.7 kB / 251 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.008412, allocations: 163.6 kB / 251.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.008457, allocations: 28 kB / 251.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.0086, allocations: 75.86 kB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.00868, allocations: 67.73 kB / 251.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.0088, allocations: 111.8 kB / 251.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.009177, allocations: 314.8 kB / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.009184, allocations: 4 kB / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009184, allocations: 0 / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.009192, allocations: 0 / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007556/0.009948, allocations: 0.6975 MB / 252.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.00998, allocations: 8.625 kB / 252.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.01006, allocations: 44.89 kB / 252.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.01037, allocations: 248 kB / 252.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01039, allocations: 16.88 kB / 252.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.01044, allocations: 24.38 kB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.01084, allocations: 0.5536 MB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01085, allocations: 192 / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.01087, allocations: 16.31 kB / 253.3 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01088, allocations: 7.938 kB / 253.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.011, allocations: 62.28 kB / 253.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.01181, allocations: 470.9 kB / 253.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.012, allocations: 153.2 kB / 254 MB, free: 4.539 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.01206, allocations: 32.84 kB / 254 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.01208, allocations: 11.98 kB / 254.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.01225, allocations: 161.5 kB / 254.2 MB, free: 4.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.01225, allocations: 0 / 254.2 MB, free: 4.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004022/0.01266, allocations: 187.5 kB / 254.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.01268, allocations: 55.41 kB / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.01298, allocations: 353 kB / 254.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.013, allocations: 33.7 kB / 254.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01309, allocations: 161.3 kB / 255 MB, free: 3.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.01316, allocations: 87.23 kB / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.01323, allocations: 53.69 kB / 255.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01335, allocations: 358.7 kB / 255.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.0134, allocations: 30.75 kB / 255.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.0136, allocations: 389 kB / 255.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.01375, allocations: 110.7 kB / 256 MB, free: 2.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01375, allocations: 0 / 256 MB, free: 2.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002468/0.014, allocations: 165.1 kB / 256.1 MB, free: 2.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.01401, allocations: 4 kB / 256.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01402, allocations: 4 kB / 256.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.603e-05/0.0141, allocations: 20.84 kB / 256.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.01433, allocations: 76.02 kB / 256.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.01548, allocations: 1.245 MB / 257.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.01562, allocations: 31.77 kB / 257.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01563, allocations: 8 kB / 257.5 MB, free: 0.6992 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.01574, allocations: 132.7 kB / 257.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.01579, allocations: 31.95 kB / 257.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.01603, allocations: 166.4 kB / 257.9 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01603, allocations: 192 / 257.9 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.01603, allocations: 0 / 257.9 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002802/0.01631, allocations: 0.5017 MB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.01681, allocations: 477.3 kB / 258.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01681, allocations: 7.938 kB / 258.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.01704, allocations: 71.88 kB / 258.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.01713, allocations: 39.75 kB / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01713, allocations: 0 / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.01715, allocations: 12 kB / 259 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01715, allocations: 0 / 259 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01715, allocations: 0 / 259 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.01745, allocations: 313.9 kB / 259.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.01749, allocations: 12.03 kB / 259.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.01765, allocations: 15.92 kB / 259.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.01769, allocations: 15.97 kB / 259.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.0177, allocations: 8 kB / 259.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.01787, allocations: 151.5 kB / 259.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01787, allocations: 0 / 259.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.01821, allocations: 103.8 kB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00152/0.01973, allocations: 0.546 MB / 260.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.0201, allocations: 251.2 kB / 260.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.02011, allocations: 8 kB / 260.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.02022, allocations: 69.23 kB / 260.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.02095, allocations: 0.9531 MB / 261.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.02735, allocations: 0.6812 MB / 262.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.02742, allocations: 105.2 kB / 262.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.02755, allocations: 42.95 kB / 262.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.02783, allocations: 189.2 kB / 262.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02783, allocations: 0 / 262.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01128/0.03911, allocations: 7.992 MB / 270.4 MB, free: 3.812 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5457291221246123]