Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001446/0.001446, allocations: 80.2 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001576/0.001576, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 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.9463/0.9463, allocations: 158.6 MB / 185.9 MB, free: 2.812 MB / 170.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.1551/0.1551, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.839e-05, allocations: 5.406 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00193/0.001948, allocations: 1.722 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.002817, allocations: 0.7881 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.002884, allocations: 4 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.003124, allocations: 47.7 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.003287, allocations: 51.75 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.003468, allocations: 83.7 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.003595, allocations: 107.6 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.003667, allocations: 4.234 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.00374, allocations: 47.89 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.003808, allocations: 31.91 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003824, allocations: 4 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.00389, allocations: 39.92 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.003933, allocations: 31.84 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.003963, allocations: 15.94 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004094, allocations: 99.59 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004096, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004097, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.0041, allocations: 0 / 351.3 MB, free: 6.004 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.0003208/0.004421, allocations: 447.8 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.004452, allocations: 8.031 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.004482, allocations: 24.84 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.004596, allocations: 154.7 kB / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004609, allocations: 384 / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.004624, allocations: 4.375 kB / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.004713, allocations: 62.88 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004722, allocations: 3.938 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.004734, allocations: 0 / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00474, allocations: 4 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.004762, allocations: 7.984 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.004956, allocations: 260.4 kB / 352.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.005034, allocations: 63.08 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.005053, allocations: 15.69 kB / 352.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.005067, allocations: 3.984 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/0.005134, allocations: 64.98 kB / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.005135, allocations: 0 / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002701/0.005405, allocations: 133.5 kB / 352.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.005429, allocations: 59.39 kB / 352.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.005515, allocations: 226.5 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.005522, allocations: 29.7 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.005559, allocations: 154.8 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.005586, allocations: 31.78 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.005618, allocations: 27.36 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.005691, allocations: 0.5001 MB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.005707, allocations: 7.938 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.467e-05/0.005731, allocations: 31.36 kB / 353.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.005771, allocations: 47.34 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005772, allocations: 4 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.63e-05/0.005858, allocations: 89.55 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.00587, allocations: 4 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005875, allocations: 80 / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005885, allocations: 4 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.005939, allocations: 15.98 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005944, allocations: 3.984 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.005969, allocations: 8 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.005974, allocations: 3.938 kB / 353.7 MB, free: 3.324 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.2e-05/0.006026, allocations: 160.6 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.00604, allocations: 19.83 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006151, allocations: 103.1 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006153, allocations: 0 / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.006156, allocations: 0 / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006159, allocations: 0 / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.006367, allocations: 369.5 kB / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006369, allocations: 0 / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.00639, allocations: 8 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006392, allocations: 0 / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.006397, allocations: 8.375 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006398, allocations: 0 / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006399, allocations: 8.031 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.006497, allocations: 255.4 kB / 354.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.006507, allocations: 15.89 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.00652, allocations: 0 / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.006558, allocations: 8 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.00658, allocations: 3.984 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.006589, allocations: 4 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.006634, allocations: 163.8 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006634, allocations: 0 / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000161/0.006795, allocations: 27.92 kB / 354.9 MB, free: 2.113 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.001073/0.007867, allocations: 438.9 kB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.007954, allocations: 55.53 kB / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007956, allocations: 0 / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.007984, allocations: 23.84 kB / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.008203, allocations: 39.95 kB / 355.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.008494, allocations: 221 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.785e-05/0.008532, allocations: 75.45 kB / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.885e-05/0.008571, allocations: 8.5 kB / 355.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.008636, allocations: 90.12 kB / 355.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008636, allocations: 0 / 355.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of Templates: time 0.003677/0.01231, allocations: 2.029 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1450380692258477]