Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002553/0.002553, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003164/0.003164, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3583/0.3583, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.4 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.562e-05, allocations: 2.312 kB / 375.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004342/0.004378, allocations: 2.013 MB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.006674, allocations: 1.079 MB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.006798, allocations: 7.938 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.007159, allocations: 39.64 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.007561, allocations: 123.3 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.007871, allocations: 111.6 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.00822, allocations: 211.2 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.008349, allocations: 25.8 kB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.008577, allocations: 107.7 kB / 379.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.008719, allocations: 59.8 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.008757, allocations: 12 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.009124, allocations: 51.92 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.009217, allocations: 43.83 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.009317, allocations: 51.83 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.009719, allocations: 207.2 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.009723, allocations: 4 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009725, allocations: 0 / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.00974, allocations: 0 / 379.5 MB, free: 0.7578 MB / 346.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.00108/0.01082, allocations: 0.5844 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.01086, allocations: 8.031 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01097, allocations: 28.8 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.01141, allocations: 200.1 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.01143, allocations: 4.375 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.01146, allocations: 12.38 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.0119, allocations: 170.9 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01191, allocations: 3.938 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.01193, allocations: 8 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.01194, allocations: 0 / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.01226, allocations: 83.88 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.01319, allocations: 0.6302 MB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.01381, allocations: 143.1 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.014, allocations: 55.66 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01403, allocations: 4 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.0144, allocations: 150.6 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.0144, allocations: 0 / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007861/0.01518, allocations: 225.4 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.01524, allocations: 55.41 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.0156, allocations: 302.8 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.01564, allocations: 33.64 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.01579, allocations: 179 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.01584, allocations: 43.67 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.01594, allocations: 43.36 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003074/0.01625, allocations: 0.5157 MB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.01646, allocations: 81.62 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.01674, allocations: 140.1 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.01714, allocations: 176 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01714, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006074/0.01775, allocations: 268.9 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.01779, allocations: 31.42 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.0178, allocations: 4 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01782, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01799, allocations: 31.98 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.018, allocations: 7.938 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.01815, allocations: 19.88 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.01818, allocations: 15.98 kB / 383.7 MB, free: 12.21 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 0.0001784/0.01836, allocations: 177 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.01841, allocations: 31.91 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.01898, allocations: 183 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01898, allocations: 4 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01899, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01899, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.01926, allocations: 192.5 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01926, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.01944, allocations: 15.98 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01944, allocations: 4 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.01947, allocations: 11.98 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01947, allocations: 0 / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01947, allocations: 0 / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.02024, allocations: 291.7 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.02028, allocations: 19.83 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.02031, allocations: 4 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.02046, allocations: 15.98 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.02054, allocations: 27.91 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.02056, allocations: 8.031 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.02077, allocations: 209.8 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02077, allocations: 0 / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.02103, allocations: 35.95 kB / 384.9 MB, free: 10.94 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.002988/0.02402, allocations: 432.5 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.02461, allocations: 228.6 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02461, allocations: 256 / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.02484, allocations: 81.81 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.02521, allocations: 56.58 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.026, allocations: 318.6 kB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.02614, allocations: 116.2 kB / 386.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.198e-05/0.02623, allocations: 21.47 kB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.02631, allocations: 20.48 kB / 386.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02631, allocations: 7.938 kB / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of Templates: time 0.008958/0.03527, allocations: 3.093 MB / 389.2 MB, free: 6.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.051016094046645]