Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004186/0.004192, allocations: 353.9 kB / 15.95 MB, free: 6.219 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.395/3.395, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003541/0.003541, allocations: 218.7 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6744/0.6744, allocations: 76.09 MB / 0.5014 GB, free: 0.8438 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005596, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08836, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002316/0.09075, allocations: 1.532 MB / 0.6083 GB, free: 9.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.09248, allocations: 0.8388 MB / 0.6091 GB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.09267, allocations: 0 / 0.6091 GB, free: 9.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.09299, allocations: 35.83 kB / 0.6091 GB, free: 9.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.09321, allocations: 43.77 kB / 0.6091 GB, free: 9.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.09357, allocations: 71.84 kB / 0.6092 GB, free: 9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.0938, allocations: 151.4 kB / 0.6094 GB, free: 8.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.09394, allocations: 29.08 kB / 0.6094 GB, free: 8.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.09407, allocations: 63.77 kB / 0.6094 GB, free: 8.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.09419, allocations: 55.75 kB / 0.6095 GB, free: 8.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.09424, allocations: 4 kB / 0.6095 GB, free: 8.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.09441, allocations: 43.98 kB / 0.6095 GB, free: 8.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.09447, allocations: 23.91 kB / 0.6096 GB, free: 8.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.09454, allocations: 45.58 kB / 0.6096 GB, free: 8.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.09479, allocations: 128 kB / 0.6097 GB, free: 8.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09481, allocations: 0 / 0.6097 GB, free: 8.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09482, allocations: 0 / 0.6097 GB, free: 8.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09483, allocations: 0 / 0.6097 GB, free: 8.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001035/0.09587, allocations: 0.5427 MB / 0.6103 GB, free: 7.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.09594, allocations: 15.97 kB / 0.6103 GB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.09601, allocations: 15.81 kB / 0.6103 GB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.09629, allocations: 219.6 kB / 0.6105 GB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.09633, allocations: 15.94 kB / 0.6105 GB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.09638, allocations: 8 kB / 0.6105 GB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.09694, allocations: 121.6 kB / 0.6106 GB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.09697, allocations: 4 kB / 0.6106 GB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.097, allocations: 4 kB / 0.6107 GB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.09701, allocations: 0 / 0.6107 GB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.09774, allocations: 123.9 kB / 0.6108 GB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.09841, allocations: 384.4 kB / 0.6111 GB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.09935, allocations: 162.6 kB / 0.6113 GB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.09976, allocations: 72.81 kB / 0.6114 GB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.09981, allocations: 4 kB / 0.6114 GB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006094/0.1004, allocations: 151.2 kB / 0.6115 GB, free: 6.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 3.396e-06/0.1005, allocations: 0 / 0.6115 GB, free: 6.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.001326/0.1018, allocations: 261.4 kB / 0.6118 GB, free: 6.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1019, allocations: 55.36 kB / 0.6118 GB, free: 6.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1021, allocations: 199.9 kB / 0.612 GB, free: 5.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1022, allocations: 33.7 kB / 0.612 GB, free: 5.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1022, allocations: 120.1 kB / 0.6121 GB, free: 5.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.1023, allocations: 27.61 kB / 0.6122 GB, free: 5.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1023, allocations: 0 / 0.6122 GB, free: 5.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.1024, allocations: 326.8 kB / 0.6125 GB, free: 5.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.1028, allocations: 75.94 kB / 0.6126 GB, free: 5.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1032, allocations: 93.66 kB / 0.6126 GB, free: 5.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.1037, allocations: 135.4 kB / 0.6128 GB, free: 5.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1037, allocations: 0 / 0.6128 GB, free: 5.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001037/0.1048, allocations: 296.3 kB / 0.6131 GB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.1048, allocations: 59.41 kB / 0.6131 GB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1049, allocations: 0 / 0.6131 GB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1049, allocations: 4.031 kB / 0.6131 GB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1052, allocations: 35.91 kB / 0.6132 GB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1052, allocations: 4 kB / 0.6132 GB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.1056, allocations: 43.7 kB / 0.6132 GB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.1056, allocations: 12 kB / 0.6132 GB, free: 4.617 MB / 282.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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * 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.0001489/0.1058, allocations: 127.1 kB / 0.6133 GB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1058, allocations: 15.81 kB / 0.6133 GB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.1059, allocations: 17.41 kB / 0.6134 GB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1059, allocations: 3.984 kB / 0.6134 GB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1059, allocations: 0 / 0.6134 GB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.106, allocations: 85.02 kB / 0.6135 GB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.106, allocations: 7.953 kB / 0.6135 GB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1063, allocations: 32.34 kB / 0.6135 GB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.1064, allocations: 19.97 kB / 0.6135 GB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001175/0.1076, allocations: 296.7 kB / 0.6138 GB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001376/0.109, allocations: 458.4 kB / 0.6142 GB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004085/0.1095, allocations: 84.02 kB / 0.6143 GB, free: 3.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1096, allocations: 148 kB / 0.6144 GB, free: 3.301 MB / 282.7 MB Notification: Performance of Backend: time 6.82e-07/0.1096, allocations: 0 / 0.6144 GB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.1115, allocations: 0.5479 MB / 0.615 GB, free: 2.844 MB / 282.7 MB Notification: Performance of SimCode: time 0.0008346/0.1124, allocations: 0.757 MB / 0.6157 GB, free: 2.035 MB / 282.7 MB Notification: Performance of Templates: time 0.008415/0.1209, allocations: 2.646 MB / 0.6183 GB, free: 15.41 MB / 298.7 MB