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.0009829/0.0009829, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001051/0.001051, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2666/0.2666, allocations: 34.26 MB / 296 MB, free: 0.6719 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.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.072e-05, allocations: 6.25 kB / 378.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002792/0.002813, allocations: 2.044 MB / 380.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.004384, allocations: 1.091 MB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.004532, allocations: 0 / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.004909, allocations: 51.58 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.005318, allocations: 115.3 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.005613, allocations: 115.5 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.005881, allocations: 207.3 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.006006, allocations: 25.73 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.006161, allocations: 111.7 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.006262, allocations: 59.8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.006286, allocations: 12 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.006382, allocations: 47.98 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.006449, allocations: 39.83 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.006516, allocations: 55.83 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.006781, allocations: 175.2 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.006786, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.006787, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.006792, allocations: 0 / 382.2 MB, free: 14.71 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.0007867/0.007579, allocations: 0.5692 MB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.007626, allocations: 8.031 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.007732, allocations: 32.78 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.008051, allocations: 184.2 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.008082, allocations: 12.38 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.00812, allocations: 12.36 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.008413, allocations: 171.6 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.008423, allocations: 3.938 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008441, allocations: 3.984 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.008453, allocations: 4 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.008534, allocations: 35.34 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.009145, allocations: 0.6106 MB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.009439, allocations: 91.09 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.009491, allocations: 27.67 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009508, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.00972, allocations: 126.6 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.606e-06/0.009724, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003313/0.01006, allocations: 145.5 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.0101, allocations: 51.41 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.01031, allocations: 270.7 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.01034, allocations: 37.7 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01046, allocations: 175 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.0105, allocations: 39.88 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.01057, allocations: 43.31 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.01071, allocations: 0.5039 MB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.0108, allocations: 49.69 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.01088, allocations: 106 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.01101, allocations: 124.1 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01101, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002344/0.01124, allocations: 200.8 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.01128, allocations: 37.69 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01128, allocations: 0 / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.0113, allocations: 8 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01141, allocations: 35.92 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01141, allocations: 0 / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.01149, allocations: 28 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01151, allocations: 4 kB / 385.9 MB, free: 10.66 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 9.818e-05/0.0116, allocations: 184.9 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.01163, allocations: 23.86 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.01185, allocations: 131.1 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01185, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01185, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01186, allocations: 3.984 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01199, allocations: 180.5 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01199, allocations: 3.984 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.01207, allocations: 16 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01207, allocations: 3.984 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01209, allocations: 8 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01209, allocations: 0 / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01209, allocations: 3.938 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.01233, allocations: 195.6 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01235, allocations: 23.86 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01237, allocations: 0 / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.01244, allocations: 23.92 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.0125, allocations: 23.98 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.01252, allocations: 7.984 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.01263, allocations: 185.8 kB / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01283, allocations: 43.92 kB / 387 MB, free: 9.551 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.001054/0.01389, allocations: 386.3 kB / 387.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.01412, allocations: 172.3 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01412, allocations: 0 / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.01419, allocations: 47.61 kB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01444, allocations: 59.62 kB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.01498, allocations: 306.8 kB / 387.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.01502, allocations: 80 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01509, allocations: 17.48 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.01513, allocations: 16.5 kB / 388.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01513, allocations: 0 / 388.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Templates: time 0.005125/0.02026, allocations: 3.104 MB / 391.2 MB, free: 5.492 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.275753621943295]