Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001072/0.001072, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001499/0.001499, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9845/0.9845, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 34.27 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.63e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002302/0.002318, allocations: 2.047 MB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003573, allocations: 1.103 MB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003678, allocations: 4 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.003992, allocations: 51.58 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.004281, allocations: 115.3 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.004473, allocations: 107.6 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.004696, allocations: 215.3 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.004795, allocations: 17.81 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004931, allocations: 111.6 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.005026, allocations: 63.8 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.005049, allocations: 12 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.005136, allocations: 55.92 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.005193, allocations: 39.83 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.005254, allocations: 51.83 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.005479, allocations: 163.3 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00548, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005481, allocations: 4 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005485, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.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.0006244/0.006109, allocations: 0.5769 MB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.006146, allocations: 12.03 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.006202, allocations: 36.73 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006401, allocations: 188.2 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.006418, allocations: 8.375 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.006444, allocations: 4.375 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.006673, allocations: 173.8 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006681, allocations: 3.938 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.006695, allocations: 8 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.006702, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.006775, allocations: 35.97 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.007234, allocations: 0.6067 MB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.007453, allocations: 91.08 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.007503, allocations: 31.67 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.007519, allocations: 0 / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.007672, allocations: 126.7 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.007673, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002562/0.007929, allocations: 153.4 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.007958, allocations: 51.41 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.00812, allocations: 270.7 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.008137, allocations: 29.7 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.008215, allocations: 175 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.008238, allocations: 31.88 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.008286, allocations: 47.31 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008403, allocations: 0.504 MB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.008462, allocations: 53.67 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.008533, allocations: 100.1 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.008652, allocations: 128.1 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008654, allocations: 3.938 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001992/0.008853, allocations: 200.8 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.008878, allocations: 29.7 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008883, allocations: 4 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008898, allocations: 8.109 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.008991, allocations: 35.92 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.008997, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.009069, allocations: 27.88 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.00908, allocations: 4 kB / 386 MB, free: 10.35 MB / 362.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 8.519e-05/0.009165, allocations: 177 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.009189, allocations: 27.84 kB / 386.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.009369, allocations: 134.6 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009371, allocations: 4 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.009374, allocations: 4 kB / 386.3 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.009379, allocations: 3.984 kB / 386.3 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.009494, allocations: 176.5 kB / 386.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009496, allocations: 3.984 kB / 386.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.009565, allocations: 19.98 kB / 386.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009567, allocations: 0 / 386.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.009579, allocations: 7.922 kB / 386.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00958, allocations: 4 kB / 386.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00958, allocations: 0 / 386.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.009806, allocations: 196.2 kB / 386.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.009825, allocations: 23.89 kB / 386.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.009844, allocations: 4 kB / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.0099, allocations: 11.98 kB / 386.8 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.009949, allocations: 15.97 kB / 386.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.009963, allocations: 11.98 kB / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.375e-05/0.01006, allocations: 189.8 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 0 / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01022, allocations: 39.92 kB / 387 MB, free: 9.254 MB / 362.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.0008064/0.01103, allocations: 395.2 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.01122, allocations: 164.7 kB / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01123, allocations: 0 / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.01129, allocations: 51.86 kB / 387.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01151, allocations: 56.62 kB / 387.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01195, allocations: 306.5 kB / 388 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.01199, allocations: 80 kB / 388 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.01204, allocations: 21.47 kB / 388.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.01208, allocations: 24.5 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01208, allocations: 0 / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of Templates: time 0.004909/0.01699, allocations: 3.106 MB / 391.2 MB, free: 5.184 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.165685024112463]