Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002613/0.002617, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.939/3.939, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005018/0.005018, allocations: 225.1 kB / 397.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5371/0.5371, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006539/0.0006542, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09007, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002008/0.09214, allocations: 1.35 MB / 0.6081 GB, free: 3.281 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.09359, allocations: 0.6862 MB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.0937, allocations: 4 kB / 0.6087 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.09429, allocations: 291.4 kB / 0.609 GB, free: 2.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.09482, allocations: 175.5 kB / 0.6092 GB, free: 2.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.09557, allocations: 107.7 kB / 0.6093 GB, free: 2.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.09605, allocations: 163.5 kB / 0.6095 GB, free: 1.863 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.09617, allocations: 13.06 kB / 0.6095 GB, free: 1.852 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.0964, allocations: 91.7 kB / 0.6096 GB, free: 1.762 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.09677, allocations: 155.6 kB / 0.6097 GB, free: 1.609 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.09685, allocations: 8 kB / 0.6097 GB, free: 1.602 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.09728, allocations: 63.98 kB / 0.6098 GB, free: 1.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.09753, allocations: 123.7 kB / 0.6099 GB, free: 1.418 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.09767, allocations: 77.44 kB / 0.61 GB, free: 1.336 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3345/0.4322, allocations: 282.5 kB / 0.6102 GB, free: 89.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4322, allocations: 1.438 kB / 0.6102 GB, free: 89.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4323, allocations: 0 / 0.6102 GB, free: 89.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4323, allocations: 0 / 0.6102 GB, free: 89.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001039/0.4333, allocations: 0.7006 MB / 0.6109 GB, free: 88.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4334, allocations: 11.66 kB / 0.6109 GB, free: 88.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4335, allocations: 46.73 kB / 0.611 GB, free: 88.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.4342, allocations: 406.4 kB / 0.6114 GB, free: 88.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.4343, allocations: 5.422 kB / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.4343, allocations: 3.672 kB / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4345, allocations: 64.98 kB / 0.6114 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4345, allocations: 0.7969 kB / 0.6114 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4346, allocations: 1.5 kB / 0.6114 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.4346, allocations: 0 / 0.6114 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.963e-05/0.4347, allocations: 23.89 kB / 0.6115 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.4353, allocations: 360.3 kB / 0.6118 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4354, allocations: 62.11 kB / 0.6119 GB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.4355, allocations: 25.31 kB / 0.6119 GB, free: 87.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4355, allocations: 3.031 kB / 0.6119 GB, free: 87.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.4358, allocations: 88.5 kB / 0.612 GB, free: 87.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.4358, allocations: 3.969 kB / 0.612 GB, free: 87.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004676/0.4363, allocations: 135.2 kB / 0.6121 GB, free: 87.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4364, allocations: 84.31 kB / 0.6122 GB, free: 87.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.4382, allocations: 1.01 MB / 0.6132 GB, free: 87.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.4383, allocations: 31.03 kB / 0.6132 GB, free: 87.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.4385, allocations: 228.3 kB / 0.6134 GB, free: 87.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.4386, allocations: 17.88 kB / 0.6134 GB, free: 87.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4386, allocations: 2.625 kB / 0.6134 GB, free: 87.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4388, allocations: 368.6 kB / 0.6138 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.4389, allocations: 22.81 kB / 0.6138 GB, free: 87.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.439, allocations: 45.88 kB / 0.6139 GB, free: 87.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4392, allocations: 84.61 kB / 0.6139 GB, free: 87.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4392, allocations: 0 / 0.6139 GB, free: 87.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005079/0.4397, allocations: 218.5 kB / 0.6141 GB, free: 86.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.4398, allocations: 66.09 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4398, allocations: 1.422 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.4399, allocations: 2.953 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.44, allocations: 16.72 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.44, allocations: 6.188 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4403, allocations: 18.39 kB / 0.6142 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4403, allocations: 5.703 kB / 0.6143 GB, free: 86.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004576/0.4408, allocations: 218.5 kB / 0.6145 GB, free: 86.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.4409, allocations: 47.58 kB / 0.6145 GB, free: 86.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.441, allocations: 58.67 kB / 0.6146 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.441, allocations: 0 / 0.6146 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.441, allocations: 1.938 kB / 0.6146 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.4412, allocations: 136 kB / 0.6147 GB, free: 86.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.4413, allocations: 1.922 kB / 0.6147 GB, free: 86.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4414, allocations: 5.469 kB / 0.6147 GB, free: 86.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.4415, allocations: 12.56 kB / 0.6147 GB, free: 86.61 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000333/0.4418, allocations: 251.9 kB / 0.615 GB, free: 86.42 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003339/0.4422, allocations: 365.2 kB / 0.6153 GB, free: 86.12 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.529e-05/0.4423, allocations: 21.14 kB / 0.6153 GB, free: 86.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001418/0.4437, allocations: 0.7486 MB / 0.6161 GB, free: 86.04 MB / 362.7 MB Notification: Performance of Backend: time 1.152e-06/0.4437, allocations: 3.188 kB / 0.6161 GB, free: 86.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.4463, allocations: 0.7829 MB / 0.6168 GB, free: 85.83 MB / 362.7 MB Notification: Performance of SimCode: time 0.002236/0.4486, allocations: 1.22 MB / 0.618 GB, free: 85.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01405/0.4627, allocations: 3.589 MB / 0.6215 GB, free: 84.87 MB / 362.7 MB