Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003967/0.003966, allocations: 348.7 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.747/3.747, 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.00423/0.00423, allocations: 229.1 kB / 397.9 MB, free: 4.98 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.481/0.481, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08958, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003333/0.09299, allocations: 1.464 MB / 0.6082 GB, free: 3.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.09472, allocations: 451.4 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.09494, allocations: 0 / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.09536, allocations: 27.89 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.09568, allocations: 27.86 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.09612, allocations: 67.8 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.09638, allocations: 99.67 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.09657, allocations: 21.39 kB / 0.6088 GB, free: 2.477 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.09673, allocations: 39.8 kB / 0.6089 GB, free: 2.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.09687, allocations: 39.77 kB / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.09692, allocations: 0 / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.09715, allocations: 36 kB / 0.6089 GB, free: 2.363 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.09723, allocations: 15.92 kB / 0.609 GB, free: 2.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.09732, allocations: 45.62 kB / 0.609 GB, free: 2.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.09761, allocations: 92.08 kB / 0.6091 GB, free: 2.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.09764, allocations: 0 / 0.6091 GB, free: 2.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.09766, allocations: 4 kB / 0.6091 GB, free: 2.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09768, allocations: 4 kB / 0.6091 GB, free: 2.199 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008003/0.0985, allocations: 470.1 kB / 0.6096 GB, free: 1.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.09858, allocations: 8.031 kB / 0.6096 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.09866, allocations: 15.86 kB / 0.6096 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.099, allocations: 194.9 kB / 0.6098 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.09905, allocations: 11.94 kB / 0.6098 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.09912, allocations: 8 kB / 0.6098 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.09947, allocations: 73.66 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.09951, allocations: 4 kB / 0.6099 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.09955, allocations: 0 / 0.6099 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.09958, allocations: 3.938 kB / 0.6099 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.09987, allocations: 43.94 kB / 0.6099 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.1006, allocations: 340.7 kB / 0.6102 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1011, allocations: 62.69 kB / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1013, allocations: 36.84 kB / 0.6103 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1013, allocations: 0 / 0.6103 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.1017, allocations: 83.27 kB / 0.6104 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 4.168e-06/0.1017, allocations: 0 / 0.6104 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006406/0.1024, allocations: 121.5 kB / 0.6105 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1024, allocations: 55.41 kB / 0.6106 GB, free: 0.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3343/0.4367, allocations: 161.7 kB / 0.6107 GB, free: 90.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.4369, allocations: 33.52 kB / 0.6108 GB, free: 90.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.437, allocations: 102.8 kB / 0.6109 GB, free: 90.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.4371, allocations: 18.53 kB / 0.6109 GB, free: 90.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.4371, allocations: 2.469 kB / 0.6109 GB, free: 90.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4372, allocations: 325.4 kB / 0.6112 GB, free: 90.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.4375, allocations: 29.23 kB / 0.6112 GB, free: 90.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4377, allocations: 44.64 kB / 0.6113 GB, free: 90.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.438, allocations: 60.09 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.438, allocations: 1.438 kB / 0.6113 GB, free: 90.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00059/0.4386, allocations: 153.4 kB / 0.6115 GB, free: 90.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.4387, allocations: 38.23 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4388, allocations: 0 / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.4388, allocations: 4 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.439, allocations: 21.31 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4391, allocations: 1.75 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.4392, allocations: 18 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.4393, allocations: 2.969 kB / 0.6115 GB, free: 90.23 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.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): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001755/0.4395, allocations: 123.6 kB / 0.6117 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.4396, allocations: 12.42 kB / 0.6117 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.4396, allocations: 13.64 kB / 0.6117 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4397, allocations: 2.953 kB / 0.6117 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4397, allocations: 0 / 0.6117 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.4398, allocations: 92.5 kB / 0.6118 GB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.4398, allocations: 4.984 kB / 0.6118 GB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.44, allocations: 10.81 kB / 0.6118 GB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.4401, allocations: 5.422 kB / 0.6118 GB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006408/0.4408, allocations: 185.2 kB / 0.612 GB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007411/0.4415, allocations: 301.7 kB / 0.6123 GB, free: 89.7 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001837/0.4417, allocations: 26.75 kB / 0.6123 GB, free: 89.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.4419, allocations: 122.4 kB / 0.6124 GB, free: 89.62 MB / 362.7 MB Notification: Performance of Backend: time 1.102e-06/0.442, allocations: 0 / 0.6124 GB, free: 89.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.4443, allocations: 448.1 kB / 0.6128 GB, free: 89.5 MB / 362.7 MB Notification: Performance of SimCode: time 0.0011/0.4455, allocations: 0.7014 MB / 0.6135 GB, free: 88.86 MB / 362.7 MB Notification: Performance of Templates: time 0.01029/0.4558, allocations: 1.722 MB / 0.6152 GB, free: 88.85 MB / 362.7 MB