Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0008543/0.0008543, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002129, 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.0006876/0.0006876, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001694, 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.9251/0.9251, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2039/1.129, allocations: 52.5 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.1397/0.1397, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01983/0.1596, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.002e-05, allocations: 9.406 kB / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002109/0.002129, allocations: 1.776 MB / 287.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.003081, allocations: 0.8766 MB / 288.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.003141, allocations: 7.938 kB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.003303, allocations: 39.7 kB / 288.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003434, allocations: 59.62 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.003642, allocations: 111.5 kB / 288.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003784, allocations: 99.69 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.003852, allocations: 8.172 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003962, allocations: 75.77 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.004028, allocations: 27.91 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004043, allocations: 4 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.004114, allocations: 43.92 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.004153, allocations: 19.94 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.00418, allocations: 15.94 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004326, allocations: 95.55 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.004336, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004337, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.004346, allocations: 0 / 289.2 MB, free: 5.047 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.0003842/0.00473, allocations: 327.9 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.004758, allocations: 8.031 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.00479, allocations: 8.922 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004921, allocations: 148.6 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.004936, allocations: 8.375 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.004957, allocations: 12.3 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.005048, allocations: 61.77 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005057, allocations: 3.938 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.005063, allocations: 0 / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005069, allocations: 4 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.00509, allocations: 11.98 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.005267, allocations: 165.9 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.005353, allocations: 85.3 kB / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.00537, allocations: 16.86 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.00538, allocations: 0 / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/0.005467, allocations: 62.16 kB / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005468, allocations: 0 / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.005747, allocations: 117.5 kB / 290.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.005775, allocations: 55.41 kB / 290.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.005866, allocations: 164.3 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.005878, allocations: 25.7 kB / 290.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.005904, allocations: 96.05 kB / 290.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.005929, allocations: 31.77 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.005958, allocations: 25.72 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.006029, allocations: 326.8 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.006043, allocations: 6.828 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.006065, allocations: 29.64 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.006103, allocations: 36.52 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006104, allocations: 0 / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.958e-05/0.006173, allocations: 76.44 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006184, allocations: 8 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006188, allocations: 0 / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.006198, allocations: 4.031 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.006258, allocations: 19.98 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006261, allocations: 0 / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.006287, allocations: 8 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.006291, allocations: 0 / 291.1 MB, free: 2.953 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 5.786e-05/0.006349, allocations: 124.6 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.00636, allocations: 7.938 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.00645, allocations: 70.44 kB / 291.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006452, allocations: 4 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006454, allocations: 4 kB / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006456, allocations: 3.938 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.006653, allocations: 291.8 kB / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006655, allocations: 4 kB / 291.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.006682, allocations: 19.92 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006693, allocations: 7.953 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006694, allocations: 0 / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.006701, allocations: 4 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006701, allocations: 0 / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006702, allocations: 0 / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.927e-05/0.006801, allocations: 219 kB / 291.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.006817, allocations: 7.984 kB / 291.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.006855, allocations: 4 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.006878, allocations: 7.984 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-06/0.006887, allocations: 4 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.006925, allocations: 45.41 kB / 291.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006925, allocations: 3.938 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.007067, allocations: 27.92 kB / 291.9 MB, free: 2.043 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.001388/0.008454, allocations: 0.6434 MB / 292.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.008583, allocations: 48.77 kB / 292.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.00859, allocations: 0 / 292.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.00863, allocations: 28.78 kB / 292.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.008897, allocations: 184.5 kB / 292.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.009438, allocations: 219.5 kB / 293.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.009482, allocations: 71.28 kB / 293.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.009527, allocations: 16.48 kB / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.009593, allocations: 67.38 kB / 293.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.009594, allocations: 0 / 293.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.003653/0.01325, allocations: 2.017 MB / 295.2 MB, free: 15.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.87079737521708]