Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009242/0.0009242, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001961, 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.0006095/0.0006095, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009629/0.001572, 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 0.9222/0.9222, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1704/1.093, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1419/0.1419, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03851/0.1804, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.187e-05, allocations: 6.312 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00218/0.002202, allocations: 1.78 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003251, allocations: 0.8804 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.003326, allocations: 0 / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.003534, allocations: 51.75 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.003697, allocations: 67.56 kB / 288.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.00395, allocations: 115.5 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.004085, allocations: 95.7 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.004157, allocations: 16.16 kB / 288.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.004264, allocations: 71.78 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.004342, allocations: 31.89 kB / 289 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004358, allocations: 4 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.004438, allocations: 47.86 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.004484, allocations: 19.94 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.004514, allocations: 19.88 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004674, allocations: 99.67 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.004684, allocations: 0 / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004685, allocations: 0 / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.004693, allocations: 4 kB / 289.2 MB, free: 5 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.0003928/0.005086, allocations: 363.6 kB / 289.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.005114, allocations: 12.03 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.005147, allocations: 8.922 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.005295, allocations: 161.2 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.005308, allocations: 4.375 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.005326, allocations: 384 / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.005419, allocations: 65.77 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.005427, allocations: 3.938 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.005433, allocations: 0 / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.005438, allocations: 11.98 kB / 289.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.005463, allocations: 11.98 kB / 289.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.005651, allocations: 165.9 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.005736, allocations: 93.33 kB / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.005754, allocations: 8.859 kB / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.005764, allocations: 0 / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.271e-05/0.005847, allocations: 62.16 kB / 290.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.005848, allocations: 0 / 290.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002773/0.006125, allocations: 125.5 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.006149, allocations: 51.41 kB / 290.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.006271, allocations: 208.6 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.006285, allocations: 25.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.006319, allocations: 100.1 kB / 290.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.006345, allocations: 23.8 kB / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.006376, allocations: 29.69 kB / 290.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.006456, allocations: 330.7 kB / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.006472, allocations: 6.828 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.006495, allocations: 29.64 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.006535, allocations: 40.52 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006537, allocations: 4 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.59e-05/0.006613, allocations: 76.44 kB / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.006625, allocations: 4 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006629, allocations: 0 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.006639, allocations: 0 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.006707, allocations: 19.98 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.00671, allocations: 3.938 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.006739, allocations: 8 kB / 291.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.006744, allocations: 0 / 291.2 MB, free: 2.801 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.036e-05/0.006814, allocations: 124.7 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.006828, allocations: 11.94 kB / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.006948, allocations: 79.06 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.006954, allocations: 4 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006956, allocations: 0 / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.00696, allocations: 0 / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.007185, allocations: 299.7 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007186, allocations: 0 / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.007214, allocations: 16 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.007226, allocations: 15.94 kB / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007228, allocations: 0 / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.007236, allocations: 7.984 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.007237, allocations: 4 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007239, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.007337, allocations: 215 kB / 292 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.007354, allocations: 8 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.007392, allocations: 3.984 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.007413, allocations: 4 kB / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.007425, allocations: 7.984 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.007474, allocations: 63.64 kB / 292.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007474, allocations: 4 kB / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.007614, allocations: 23.94 kB / 292.1 MB, free: 1.859 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.001324/0.008938, allocations: 0.6544 MB / 292.8 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.009046, allocations: 48.83 kB / 292.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.009057, allocations: 4 kB / 292.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.0091, allocations: 24.8 kB / 292.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.009341, allocations: 182.5 kB / 293 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.009772, allocations: 263.7 kB / 293.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.009813, allocations: 71.52 kB / 293.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.009848, allocations: 16.5 kB / 293.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.009907, allocations: 67.36 kB / 293.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009908, allocations: 0 / 293.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Templates: time 0.004105/0.01401, allocations: 2.053 MB / 295.5 MB, free: 14.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.7691581659018993]