Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001235/0.001235, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002121/0.003356, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001072/0.001072, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002603, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.055/1.055, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1805/1.235, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02703/0.1661, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.021e-05, allocations: 2.312 kB / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003195/0.003215, allocations: 1.865 MB / 287.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004761, allocations: 0.9584 MB / 288.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.004858, allocations: 11.88 kB / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.005294, allocations: 291.1 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.005631, allocations: 215.3 kB / 289.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.006046, allocations: 171.3 kB / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.00637, allocations: 247.2 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.006417, allocations: 10.41 kB / 289.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.006704, allocations: 208.2 kB / 289.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.006937, allocations: 164.1 kB / 290 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.006966, allocations: 8 kB / 290 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.007079, allocations: 43.92 kB / 290.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.007207, allocations: 124.4 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.007281, allocations: 59.69 kB / 290.3 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.007611, allocations: 266.9 kB / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.007622, allocations: 0 / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.007623, allocations: 0 / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.007634, allocations: 0 / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008539/0.008488, allocations: 0.6692 MB / 291.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.008521, allocations: 8.031 kB / 291.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.008589, allocations: 28.91 kB / 291.2 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.008942, allocations: 301.8 kB / 291.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.008957, allocations: 4.375 kB / 291.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.008974, allocations: 4.375 kB / 291.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.009118, allocations: 87.45 kB / 291.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009127, allocations: 3.938 kB / 291.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.009137, allocations: 3.984 kB / 291.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.009144, allocations: 4 kB / 291.6 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.009189, allocations: 25.56 kB / 291.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.00936, allocations: 110.5 kB / 291.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.009498, allocations: 82.78 kB / 291.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.00954, allocations: 25.69 kB / 291.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.009552, allocations: 4 kB / 291.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.009708, allocations: 95.83 kB / 292 MB, free: 2.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.009709, allocations: 0 / 292 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000205/0.009914, allocations: 115.2 kB / 292.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.009959, allocations: 89.05 kB / 292.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.01052, allocations: 0.575 MB / 292.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01054, allocations: 33.7 kB / 292.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.01062, allocations: 145.3 kB / 292.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.01067, allocations: 27.8 kB / 292.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.01071, allocations: 29.7 kB / 293 MB, free: 1.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01084, allocations: 366.7 kB / 293.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.01088, allocations: 14.83 kB / 293.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.01092, allocations: 42.86 kB / 293.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.011, allocations: 71.81 kB / 293.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01101, allocations: 0 / 293.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001476/0.01115, allocations: 107.2 kB / 293.6 MB, free: 444 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01117, allocations: 4 kB / 293.6 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01117, allocations: 4 kB / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01119, allocations: 0 / 293.6 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.01129, allocations: 31.86 kB / 293.6 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01129, allocations: 0.625 kB / 293.6 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.01137, allocations: 11.92 kB / 293.6 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01138, allocations: 8 kB / 293.6 MB, free: 384 kB / 282.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.01149, allocations: 120.7 kB / 293.7 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.01153, allocations: 27.97 kB / 293.8 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.01171, allocations: 133.5 kB / 293.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01172, allocations: 4 kB / 293.9 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01172, allocations: 3.938 kB / 293.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01172, allocations: 0 / 293.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.01192, allocations: 161.8 kB / 294.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01192, allocations: 0 / 294.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.01197, allocations: 8 kB / 294.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.01203, allocations: 55.53 kB / 294.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.01204, allocations: 8 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01205, allocations: 4 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01205, allocations: 3.938 kB / 294.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01205, allocations: 3.938 kB / 294.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01221, allocations: 142.3 kB / 294.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.01225, allocations: 4 kB / 294.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.01232, allocations: 4 kB / 294.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01235, allocations: 15.97 kB / 294.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.01237, allocations: 7.938 kB / 294.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.01269, allocations: 303.2 kB / 294.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01269, allocations: 0 / 294.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01293, allocations: 44 kB / 294.7 MB, free: 15.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00164/0.01457, allocations: 0.5612 MB / 295.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.0147, allocations: 56.81 kB / 295.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.01471, allocations: 8 kB / 295.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.01477, allocations: 37.28 kB / 295.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.01519, allocations: 392.8 kB / 295.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01633, allocations: 0.6258 MB / 296.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.01647, allocations: 124.2 kB / 296.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.815e-05/0.01657, allocations: 38.95 kB / 296.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.01673, allocations: 99.34 kB / 296.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01673, allocations: 0 / 296.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Templates: time 0.008036/0.02477, allocations: 4.272 MB / 300.9 MB, free: 9.316 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.9573133131489158]