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.0009437/0.0009437, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001293/0.001293, allocations: 167 kB / 25.61 MB, free: 8.602 MB / 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.9359/0.9359, allocations: 177.1 MB / 206 MB, free: 4.488 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.1326/0.1326, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.293e-06/1.293e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.671e-05, allocations: 2.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.006378/0.006395, allocations: 2.034 MB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.007643, allocations: 1.083 MB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.007739, allocations: 3.938 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.008001, allocations: 51.58 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.008261, allocations: 111.3 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.008456, allocations: 115.6 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.008652, allocations: 219.2 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.008738, allocations: 13.81 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.008858, allocations: 111.8 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.008947, allocations: 59.8 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003035/0.01198, allocations: 12 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.01207, allocations: 59.86 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.01212, allocations: 43.77 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.01217, allocations: 47.83 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.01237, allocations: 163.5 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01237, allocations: 0 / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01237, allocations: 0 / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.01237, allocations: 0 / 383.5 MB, free: 19.19 MB / 314.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.0004979/0.01287, allocations: 0.5847 MB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.0129, allocations: 8.031 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.01295, allocations: 28.8 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.01311, allocations: 184.2 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.01313, allocations: 12.31 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.01315, allocations: 12.31 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.01333, allocations: 163.6 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.01334, allocations: 3.938 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.01335, allocations: 8 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.01336, allocations: 4 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/0.01342, allocations: 31.84 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.01374, allocations: 0.5645 MB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.01392, allocations: 83.08 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.01395, allocations: 27.67 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.01397, allocations: 3.984 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.01408, allocations: 126.6 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.01408, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002124/0.0143, allocations: 129.5 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.01432, allocations: 59.41 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.01443, allocations: 258.8 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.01444, allocations: 33.7 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.0145, allocations: 182.9 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.01452, allocations: 35.72 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.01457, allocations: 47.34 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.01461, allocations: 0.5039 MB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.01465, allocations: 41.69 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.01471, allocations: 114.7 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.468e-05/0.01479, allocations: 118.5 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.0148, allocations: 0 / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003197/0.01799, allocations: 196.8 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01801, allocations: 29.7 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01802, allocations: 8.125 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.01803, allocations: 0 / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01813, allocations: 27.98 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01814, allocations: 7.984 kB / 387.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.01822, allocations: 27.88 kB / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01824, allocations: 4 kB / 387.1 MB, free: 15.23 MB / 314.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 6.535e-05/0.0183, allocations: 173.4 kB / 387.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.01833, allocations: 27.86 kB / 387.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.01849, allocations: 127.1 kB / 387.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01849, allocations: 11.94 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01849, allocations: 4 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0185, allocations: 3.938 kB / 387.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.644e-05/0.01859, allocations: 145.1 kB / 387.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01859, allocations: 0 / 387.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.01867, allocations: 19.98 kB / 387.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01867, allocations: 0 / 387.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01868, allocations: 4 kB / 387.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01868, allocations: 0 / 387.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01868, allocations: 0 / 387.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.01888, allocations: 191.6 kB / 387.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.0189, allocations: 15.84 kB / 387.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01892, allocations: 4 kB / 387.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.01899, allocations: 23.91 kB / 387.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.01904, allocations: 15.97 kB / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01905, allocations: 4 kB / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.01911, allocations: 181.7 kB / 388 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01911, allocations: 0 / 388 MB, free: 14.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000228/0.01934, allocations: 43.94 kB / 388.1 MB, free: 14.19 MB / 314.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.0008132/0.02015, allocations: 398.1 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.0203, allocations: 156.9 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.02031, allocations: 4.062 kB / 388.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.02036, allocations: 47.58 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.0206, allocations: 51.48 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.024, allocations: 300.5 kB / 389 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.02403, allocations: 75.84 kB / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.02409, allocations: 21.48 kB / 389.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.0242, allocations: 110.2 kB / 389.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0242, allocations: 3.938 kB / 389.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Templates: time 0.008032/0.03223, allocations: 3.435 MB / 392.7 MB, free: 9.738 MB / 314.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.031774864066392]