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.001521/0.001521, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001642/0.001642, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.622/1.622, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2199/0.2199, allocations: 32.38 MB / 270 MB, free: 14.77 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.954e-06/1.954e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.854e-05, allocations: 6.25 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002661/0.00269, allocations: 1.958 MB / 349 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003847, allocations: 0.8582 MB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.00394, allocations: 4 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.00428, allocations: 51.62 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.00451, allocations: 71.5 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.004768, allocations: 127.6 kB / 350.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.004984, allocations: 199.3 kB / 350.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.005084, allocations: 29.72 kB / 350.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.005228, allocations: 99.78 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.005325, allocations: 59.8 kB / 350.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.005355, allocations: 12 kB / 350.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.005442, allocations: 55.91 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.005505, allocations: 35.84 kB / 350.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.005572, allocations: 43.84 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.005824, allocations: 207.2 kB / 350.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005826, allocations: 4 kB / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005827, allocations: 0 / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005832, allocations: 0 / 350.8 MB, free: 5.91 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.0008138/0.006646, allocations: 0.4887 MB / 351.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.006679, allocations: 8.031 kB / 351.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.006757, allocations: 24.84 kB / 351.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.007017, allocations: 190.3 kB / 351.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.007034, allocations: 12.38 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.007077, allocations: 8.375 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.007455, allocations: 178.4 kB / 351.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007466, allocations: 3.938 kB / 351.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.007483, allocations: 4 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.007489, allocations: 7.984 kB / 351.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.007899, allocations: 115.8 kB / 351.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.008371, allocations: 476.6 kB / 352.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.008973, allocations: 158.5 kB / 352.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.00921, allocations: 76.78 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.009233, allocations: 0 / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.00956, allocations: 164.9 kB / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.009561, allocations: 0 / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008173/0.01038, allocations: 265.4 kB / 353 MB, free: 3.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.0104, allocations: 55.41 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01057, allocations: 224.3 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.01059, allocations: 29.7 kB / 353.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.01064, allocations: 128.4 kB / 353.4 MB, free: 3.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.01067, allocations: 43.69 kB / 353.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.01073, allocations: 29.72 kB / 353.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.01077, allocations: 342.7 kB / 353.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.01102, allocations: 93.64 kB / 353.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.01126, allocations: 141.9 kB / 354 MB, free: 2.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.01169, allocations: 197.8 kB / 354.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01169, allocations: 4 kB / 354.2 MB, free: 2.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005904/0.01228, allocations: 288.8 kB / 354.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.01231, allocations: 35.89 kB / 354.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01231, allocations: 0 / 354.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.01233, allocations: 0 / 354.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.0125, allocations: 43.95 kB / 354.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01251, allocations: 0 / 354.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.01269, allocations: 27.86 kB / 354.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01271, allocations: 15.98 kB / 354.6 MB, free: 1.812 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 7.927e-05/0.01279, allocations: 137.8 kB / 354.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01282, allocations: 23.86 kB / 354.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.01338, allocations: 217.2 kB / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01338, allocations: 0 / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01339, allocations: 0 / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01339, allocations: 0 / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01351, allocations: 173.2 kB / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01351, allocations: 0 / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01366, allocations: 27.91 kB / 355.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01366, allocations: 0 / 355.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01367, allocations: 8 kB / 355.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01368, allocations: 4 kB / 355.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01368, allocations: 0 / 355.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.01445, allocations: 328.7 kB / 355.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.01447, allocations: 15.88 kB / 355.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.01451, allocations: 8 kB / 355.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.01467, allocations: 19.97 kB / 355.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.01473, allocations: 19.91 kB / 355.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.01475, allocations: 8 kB / 355.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01486, allocations: 179.5 kB / 355.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01486, allocations: 0 / 355.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.01531, allocations: 32 kB / 355.8 MB, free: 0.5742 MB / 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.001773/0.01708, allocations: 442.4 kB / 356.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.01766, allocations: 249 kB / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01767, allocations: 0 / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.01796, allocations: 75.88 kB / 356.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.01832, allocations: 58.02 kB / 356.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.01908, allocations: 327.8 kB / 356.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.01921, allocations: 116.4 kB / 357 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.859e-05/0.0193, allocations: 21.47 kB / 357.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.01937, allocations: 24.5 kB / 357.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01937, allocations: 0 / 357.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Templates: time 0.007548/0.02692, allocations: 3.074 MB / 360.2 MB, free: 12.27 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.14157029602211]