Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.0007395/0.0007395, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001817, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.000701/0.000701, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009894/0.00169, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9311/0.9311, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1431/1.074, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02237/0.1572, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.212e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003032/0.003054, allocations: 1.778 MB / 269.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004429, allocations: 0.8036 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.004494, allocations: 7.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.004675, allocations: 43.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.004833, allocations: 59.62 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.005086, allocations: 83.66 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.005252, allocations: 103.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.005326, allocations: 12.23 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.005458, allocations: 67.83 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.005526, allocations: 27.91 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.005543, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.005631, allocations: 43.86 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.005671, allocations: 15.94 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.005702, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.00587, allocations: 91.61 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.005879, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00588, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.005889, allocations: 4 kB / 270.6 MB, free: 15.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003755/0.006265, allocations: 331.9 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.006294, allocations: 8.031 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.006324, allocations: 8.922 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.006492, allocations: 149.5 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.006508, allocations: 384 / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.006527, allocations: 8.312 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.006622, allocations: 65.7 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.006631, allocations: 3.938 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.006638, allocations: 0 / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.006643, allocations: 7.984 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.006673, allocations: 11.98 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.006885, allocations: 169.9 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.006977, allocations: 85.36 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.006998, allocations: 12.86 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.007008, allocations: 3.938 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.199e-05/0.0071, allocations: 70.16 kB / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.007102, allocations: 0 / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000274/0.007376, allocations: 121.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.007408, allocations: 55.41 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.007527, allocations: 164.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.00754, allocations: 25.7 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.007579, allocations: 92.11 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.007609, allocations: 31.78 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.007648, allocations: 21.72 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.00775, allocations: 326.8 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.007772, allocations: 6.828 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.007805, allocations: 25.7 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.007858, allocations: 44.45 kB / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.00786, allocations: 0 / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.907e-05/0.007959, allocations: 76.38 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007971, allocations: 8 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.007974, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.007983, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.008054, allocations: 19.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.008056, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.008092, allocations: 3.938 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.008097, allocations: 8.031 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.884e-05/0.008176, allocations: 120.7 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.008194, allocations: 11.88 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.00831, allocations: 78.56 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.008315, allocations: 4 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.008316, allocations: 3.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008319, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.008567, allocations: 287.4 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008569, allocations: 0 / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.008609, allocations: 23.95 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.008625, allocations: 11.91 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008627, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.008635, allocations: 8 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008637, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.008638, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.008764, allocations: 211 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.008785, allocations: 11.98 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.00885, allocations: 4 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.008871, allocations: 7.984 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.008883, allocations: 4 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.008935, allocations: 48.53 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008935, allocations: 0 / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.009159, allocations: 23.98 kB / 273.4 MB, free: 12.28 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001332/0.01049, allocations: 0.6438 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.01058, allocations: 44.72 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.01058, allocations: 0 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.01062, allocations: 28.84 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.01108, allocations: 184.3 kB / 274.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.01143, allocations: 214.5 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.01147, allocations: 75.52 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.0115, allocations: 12.95 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.01156, allocations: 63.38 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01156, allocations: 0 / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.002884/0.01444, allocations: 2.037 MB / 276.7 MB, free: 8.879 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.7041514283046126]