Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002656/0.002656, allocations: 352 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.641/3.641, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003579/0.003579, allocations: 213.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.4996/0.4996, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007085/0.0007089, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1101, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.001915/0.1121, allocations: 1.212 MB / 0.6079 GB, free: 3.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.1127, allocations: 235.9 kB / 0.6081 GB, free: 3.184 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1128, allocations: 0 / 0.6081 GB, free: 3.184 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.113, allocations: 23.91 kB / 0.6082 GB, free: 3.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1131, allocations: 19.86 kB / 0.6082 GB, free: 3.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1133, allocations: 31.97 kB / 0.6082 GB, free: 3.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1134, allocations: 47.84 kB / 0.6083 GB, free: 3.062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1135, allocations: 15.98 kB / 0.6083 GB, free: 3.047 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.1136, allocations: 11.94 kB / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.1136, allocations: 19.91 kB / 0.6083 GB, free: 3.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1137, allocations: 4 kB / 0.6083 GB, free: 3.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1138, allocations: 15.94 kB / 0.6083 GB, free: 2.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.1139, allocations: 11.98 kB / 0.6083 GB, free: 2.984 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1139, allocations: 33.64 kB / 0.6084 GB, free: 2.945 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1141, allocations: 52.2 kB / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1141, allocations: 4 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1141, allocations: 0 / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1141, allocations: 0 / 0.6084 GB, free: 2.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004237/0.1145, allocations: 392.7 kB / 0.6088 GB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1146, allocations: 8.031 kB / 0.6088 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1146, allocations: 11.84 kB / 0.6088 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1148, allocations: 179 kB / 0.609 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1148, allocations: 4 kB / 0.609 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1149, allocations: 4 kB / 0.609 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.115, allocations: 53.61 kB / 0.609 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1151, allocations: 8 kB / 0.6091 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1151, allocations: 0 / 0.6091 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1151, allocations: 7.891 kB / 0.6091 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.1153, allocations: 23.98 kB / 0.6091 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.116, allocations: 281 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1164, allocations: 50.48 kB / 0.6094 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1166, allocations: 20.86 kB / 0.6094 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1166, allocations: 0 / 0.6094 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1167, allocations: 42.59 kB / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.1167, allocations: 0 / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001239/0.1179, allocations: 169.3 kB / 0.6096 GB, free: 1.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.118, allocations: 51.41 kB / 0.6097 GB, free: 1.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1183, allocations: 149.7 kB / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1183, allocations: 29.7 kB / 0.6098 GB, free: 1.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1184, allocations: 88.14 kB / 0.6099 GB, free: 1.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1185, allocations: 19.75 kB / 0.6099 GB, free: 1.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1185, allocations: 0 / 0.6099 GB, free: 1.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.1186, allocations: 326.8 kB / 0.6103 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1188, allocations: 23.98 kB / 0.6103 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.119, allocations: 27.97 kB / 0.6103 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1193, allocations: 57.69 kB / 0.6104 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1193, allocations: 4 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007006/0.1201, allocations: 123.2 kB / 0.6105 GB, free: 0.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.1201, allocations: 37.64 kB / 0.6105 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1202, allocations: 0 / 0.6105 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.1202, allocations: 4 kB / 0.6105 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.1204, allocations: 8 kB / 0.6105 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.1205, allocations: 8 kB / 0.6105 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1206, allocations: 7.984 kB / 0.6105 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1207, allocations: 3.984 kB / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.000138/0.1208, allocations: 120.2 kB / 0.6107 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.1209, allocations: 7.906 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.1215, allocations: 121.8 kB / 0.6108 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1215, allocations: 0 / 0.6108 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1216, allocations: 4 kB / 0.6108 GB, free: 212 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1216, allocations: 81.02 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1217, allocations: 3.938 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1219, allocations: 15.92 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.122, allocations: 0 / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2619/0.3839, allocations: 173.2 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003827/0.3844, allocations: 271.6 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.3845, allocations: 29.11 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3846, allocations: 113 kB / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of Backend: time 8.42e-07/0.3847, allocations: 0 / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3859, allocations: 308.5 kB / 0.6117 GB, free: 90 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005721/0.3865, allocations: 0.6178 MB / 0.6123 GB, free: 89.4 MB / 362.7 MB Notification: Performance of Templates: time 0.00503/0.3915, allocations: 0.9658 MB / 0.6133 GB, free: 89.39 MB / 362.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time