Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.002028/0.002028, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002243/0.002243, allocations: 165.6 kB / 23.53 MB, free: 0.8984 MB / 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 1.512/1.512, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2155/0.2155, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.232e-05, allocations: 6.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003247/0.003279, allocations: 1.993 MB / 349 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.00471, allocations: 0.8738 MB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.004831, allocations: 7.938 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.005273, allocations: 47.64 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.005547, allocations: 75.55 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.005876, allocations: 115.7 kB / 350.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.006136, allocations: 211.2 kB / 350.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.006264, allocations: 25.73 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.006423, allocations: 103.7 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006539, allocations: 59.8 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.006576, allocations: 12 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.006678, allocations: 47.98 kB / 350.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.006756, allocations: 39.83 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.00683, allocations: 47.83 kB / 350.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.007122, allocations: 207.2 kB / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.007127, allocations: 0 / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007128, allocations: 0 / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.007136, allocations: 8 kB / 350.9 MB, free: 5.855 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000867/0.008003, allocations: 0.5766 MB / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.008047, allocations: 12.03 kB / 351.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.008131, allocations: 20.84 kB / 351.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.008422, allocations: 197.1 kB / 351.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.00844, allocations: 4.375 kB / 351.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.008484, allocations: 8.375 kB / 351.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.008799, allocations: 170.9 kB / 351.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.008812, allocations: 3.938 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.008831, allocations: 8 kB / 351.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.008837, allocations: 0 / 351.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.009113, allocations: 87.88 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.009741, allocations: 0.6301 MB / 352.6 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.01024, allocations: 135.1 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.0104, allocations: 63.64 kB / 352.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.01043, allocations: 4 kB / 352.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.01072, allocations: 154.5 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.01072, allocations: 0 / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006586/0.01138, allocations: 213.5 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.01143, allocations: 63.34 kB / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.01164, allocations: 290.9 kB / 353.5 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01166, allocations: 29.7 kB / 353.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.01175, allocations: 175.2 kB / 353.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.01179, allocations: 43.69 kB / 353.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.01186, allocations: 51.36 kB / 353.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.01197, allocations: 0.5079 MB / 354.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.01214, allocations: 85.59 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01233, allocations: 132.1 kB / 354.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.01265, allocations: 191.8 kB / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01265, allocations: 0 / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004385/0.01309, allocations: 256.8 kB / 354.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.01313, allocations: 32.02 kB / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01313, allocations: 8 kB / 355 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.01316, allocations: 3.984 kB / 355 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01331, allocations: 35.92 kB / 355 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01332, allocations: 4 kB / 355 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01344, allocations: 19.88 kB / 355 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01346, allocations: 8 kB / 355 MB, free: 1.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.461e-05/0.01356, allocations: 176.5 kB / 355.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.01359, allocations: 27.84 kB / 355.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.01403, allocations: 183 kB / 355.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01403, allocations: 0 / 355.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01404, allocations: 4 kB / 355.4 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.01404, allocations: 7.969 kB / 355.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.01419, allocations: 184.5 kB / 355.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01419, allocations: 4 kB / 355.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01431, allocations: 19.98 kB / 355.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01431, allocations: 0 / 355.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01433, allocations: 7.984 kB / 355.6 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01433, allocations: 0 / 355.6 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01433, allocations: 4 kB / 355.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.01491, allocations: 284.1 kB / 355.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01493, allocations: 19.84 kB / 355.9 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.01497, allocations: 7.984 kB / 355.9 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.01508, allocations: 11.98 kB / 356 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.01516, allocations: 23.97 kB / 356 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01518, allocations: 4 kB / 356 MB, free: 332 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.01529, allocations: 199.5 kB / 356.2 MB, free: 132 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 7.969 kB / 356.2 MB, free: 124 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01553, allocations: 39.98 kB / 356.2 MB, free: 84 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002933/0.01846, allocations: 438.2 kB / 356.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.01908, allocations: 228.6 kB / 356.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.01908, allocations: 0 / 356.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.01933, allocations: 75.89 kB / 356.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.01972, allocations: 61.44 kB / 357 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.02062, allocations: 317.9 kB / 357.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02076, allocations: 108.2 kB / 357.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.02086, allocations: 21.48 kB / 357.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.02094, allocations: 28.48 kB / 357.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02094, allocations: 0 / 357.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Templates: time 0.00871/0.02965, allocations: 3.076 MB / 360.6 MB, free: 11.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.281458770041354]