Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005975/0.005982, allocations: 353.1 kB / 15.95 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.789/3.789, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.004025/0.004024, allocations: 221.2 kB / 397.9 MB, free: 4.906 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.5194/0.5194, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004497, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08627, allocations: 48.71 MB / 0.6068 GB, free: 4.617 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001976/0.08831, allocations: 1.346 MB / 0.6081 GB, free: 3.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.08973, allocations: 0.6823 MB / 0.6087 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.08982, allocations: 0 / 0.6087 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.09037, allocations: 291.4 kB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.0907, allocations: 175.6 kB / 0.6092 GB, free: 2.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.09105, allocations: 103.7 kB / 0.6093 GB, free: 2.012 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.09128, allocations: 163.5 kB / 0.6094 GB, free: 1.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.09134, allocations: 9.109 kB / 0.6094 GB, free: 1.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.09148, allocations: 87.72 kB / 0.6095 GB, free: 1.758 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.09169, allocations: 147.6 kB / 0.6097 GB, free: 1.613 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.09174, allocations: 4 kB / 0.6097 GB, free: 1.609 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.09194, allocations: 63.97 kB / 0.6097 GB, free: 1.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.09208, allocations: 127.7 kB / 0.6099 GB, free: 1.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.09216, allocations: 73.44 kB / 0.6099 GB, free: 1.344 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.329/0.4212, allocations: 285.3 kB / 0.6102 GB, free: 89.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4212, allocations: 1.375 kB / 0.6102 GB, free: 89.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4213, allocations: 0 / 0.6102 GB, free: 89.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4213, allocations: 0 / 0.6102 GB, free: 89.12 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.00132/0.4226, allocations: 0.7044 MB / 0.6109 GB, free: 88.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4227, allocations: 8.438 kB / 0.6109 GB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.4228, allocations: 42.31 kB / 0.6109 GB, free: 88.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.4238, allocations: 392.2 kB / 0.6113 GB, free: 88.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4238, allocations: 10.52 kB / 0.6113 GB, free: 88.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4239, allocations: 7.688 kB / 0.6113 GB, free: 88.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.4241, allocations: 63.17 kB / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4241, allocations: 0 / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4242, allocations: 2.781 kB / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4242, allocations: 0 / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4243, allocations: 19.47 kB / 0.6114 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.425, allocations: 364.5 kB / 0.6118 GB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4252, allocations: 58.88 kB / 0.6118 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.4253, allocations: 24.67 kB / 0.6118 GB, free: 87.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4253, allocations: 0 / 0.6118 GB, free: 87.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.4257, allocations: 89.33 kB / 0.6119 GB, free: 87.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.4257, allocations: 0 / 0.6119 GB, free: 87.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004806/0.4262, allocations: 136.2 kB / 0.6121 GB, free: 87.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.4262, allocations: 82.2 kB / 0.6121 GB, free: 87.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4281, allocations: 0.9786 MB / 0.6131 GB, free: 87.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.4282, allocations: 36.53 kB / 0.6131 GB, free: 87.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.4285, allocations: 224.2 kB / 0.6133 GB, free: 87.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.4286, allocations: 20.11 kB / 0.6134 GB, free: 87.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.4286, allocations: 5.281 kB / 0.6134 GB, free: 87.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4287, allocations: 361.2 kB / 0.6137 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4289, allocations: 27.39 kB / 0.6137 GB, free: 87.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.429, allocations: 48.05 kB / 0.6138 GB, free: 87.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4292, allocations: 87.5 kB / 0.6139 GB, free: 87.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4292, allocations: 0 / 0.6139 GB, free: 87.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006092/0.4298, allocations: 220.4 kB / 0.6141 GB, free: 86.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.4299, allocations: 63.58 kB / 0.6141 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4299, allocations: 1.422 kB / 0.6141 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4299, allocations: 4.781 kB / 0.6141 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4301, allocations: 11.39 kB / 0.6141 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4301, allocations: 1.188 kB / 0.6141 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.4303, allocations: 12.3 kB / 0.6142 GB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.4304, allocations: 5.375 kB / 0.6142 GB, free: 86.93 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.0004124/0.4308, allocations: 216 kB / 0.6144 GB, free: 86.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.4309, allocations: 48.52 kB / 0.6144 GB, free: 86.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.431, allocations: 55.25 kB / 0.6145 GB, free: 86.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.431, allocations: 0.6562 kB / 0.6145 GB, free: 86.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.431, allocations: 3.312 kB / 0.6145 GB, free: 86.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.4312, allocations: 138.1 kB / 0.6146 GB, free: 86.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.4313, allocations: 6.828 kB / 0.6146 GB, free: 86.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4315, allocations: 5.547 kB / 0.6146 GB, free: 86.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4316, allocations: 8.125 kB / 0.6146 GB, free: 86.66 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003577/0.432, allocations: 246.1 kB / 0.6149 GB, free: 86.47 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003895/0.4324, allocations: 368.7 kB / 0.6152 GB, free: 86.17 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.527e-05/0.4325, allocations: 19.69 kB / 0.6152 GB, free: 86.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.4339, allocations: 0.7257 MB / 0.6159 GB, free: 86.09 MB / 362.7 MB Notification: Performance of Backend: time 1.833e-06/0.434, allocations: 0 / 0.6159 GB, free: 86.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.4365, allocations: 0.7816 MB / 0.6167 GB, free: 85.88 MB / 362.7 MB Notification: Performance of SimCode: time 0.001966/0.4385, allocations: 1.205 MB / 0.6179 GB, free: 85.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01272/0.4513, allocations: 3.544 MB / 0.6213 GB, free: 84.93 MB / 362.7 MB