Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002765/0.002764, allocations: 355.9 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.627/3.627, 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.003654/0.003654, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.5459/0.5459, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08446/0.08496, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001876/0.08689, allocations: 1.204 MB / 0.6079 GB, free: 3.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.08747, allocations: 243.9 kB / 0.6081 GB, free: 3.199 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.08755, allocations: 0 / 0.6081 GB, free: 3.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.08775, allocations: 19.91 kB / 0.6082 GB, free: 3.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.0879, allocations: 15.94 kB / 0.6082 GB, free: 3.164 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.08805, allocations: 35.89 kB / 0.6082 GB, free: 3.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.08817, allocations: 43.86 kB / 0.6083 GB, free: 3.086 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.08828, allocations: 7.984 kB / 0.6083 GB, free: 3.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.08834, allocations: 23.92 kB / 0.6083 GB, free: 3.055 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.08841, allocations: 19.86 kB / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.08843, allocations: 0 / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.08851, allocations: 19.98 kB / 0.6083 GB, free: 3.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.08856, allocations: 4 kB / 0.6083 GB, free: 3.012 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.0886, allocations: 33.64 kB / 0.6084 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.08872, allocations: 44.2 kB / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.08873, allocations: 0 / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08874, allocations: 0 / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.08876, allocations: 7.938 kB / 0.6084 GB, free: 2.922 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.0003959/0.08917, allocations: 396.8 kB / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.08922, allocations: 8.031 kB / 0.6088 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.08926, allocations: 7.906 kB / 0.6088 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.08941, allocations: 171 kB / 0.609 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.08943, allocations: 0 / 0.609 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.08946, allocations: 8 kB / 0.609 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.08963, allocations: 49.62 kB / 0.609 GB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.08966, allocations: 7.938 kB / 0.609 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.08968, allocations: 7.984 kB / 0.609 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.0897, allocations: 3.953 kB / 0.609 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.08984, allocations: 27.98 kB / 0.6091 GB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.09017, allocations: 268.9 kB / 0.6093 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.09042, allocations: 50.5 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.09051, allocations: 20.94 kB / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.09055, allocations: 0 / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.09057, allocations: 34.52 kB / 0.6094 GB, free: 1.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.09058, allocations: 0 / 0.6094 GB, free: 1.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007409/0.09133, allocations: 153.4 kB / 0.6096 GB, free: 1.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.09137, allocations: 51.41 kB / 0.6096 GB, free: 1.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.0915, allocations: 142 kB / 0.6098 GB, free: 1.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.09152, allocations: 29.7 kB / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.09157, allocations: 96.12 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.0916, allocations: 7.812 kB / 0.6099 GB, free: 1.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.09162, allocations: 4 kB / 0.6099 GB, free: 1.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.09168, allocations: 318.8 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.09181, allocations: 23.98 kB / 0.6102 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.09193, allocations: 27.98 kB / 0.6102 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.09207, allocations: 53.69 kB / 0.6103 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09209, allocations: 0 / 0.6103 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002924/0.09239, allocations: 123.2 kB / 0.6104 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.09243, allocations: 37.66 kB / 0.6104 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.09245, allocations: 0 / 0.6104 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.09247, allocations: 0 / 0.6104 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.09258, allocations: 15.98 kB / 0.6105 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.0926, allocations: 0 / 0.6105 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.09267, allocations: 8 kB / 0.6105 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.09269, allocations: 0 / 0.6105 GB, free: 0.5703 MB / 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 7.462e-05/0.09278, allocations: 124.2 kB / 0.6106 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.09282, allocations: 7.906 kB / 0.6106 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.09316, allocations: 109.5 kB / 0.6107 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.09318, allocations: 0 / 0.6107 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.09319, allocations: 7.875 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.09323, allocations: 85.3 kB / 0.6108 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.09326, allocations: 0 / 0.6108 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.09337, allocations: 12.3 kB / 0.6108 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.09342, allocations: 7.984 kB / 0.6108 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003128/0.09375, allocations: 172.9 kB / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2858/0.3795, allocations: 255.1 kB / 0.6112 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001387/0.3797, allocations: 28.41 kB / 0.6112 GB, free: 90.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.904e-05/0.3798, allocations: 108.4 kB / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of Backend: time 6.31e-07/0.3798, allocations: 0 / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3809, allocations: 303.3 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005157/0.3815, allocations: 0.6029 MB / 0.6122 GB, free: 89.52 MB / 362.7 MB Notification: Performance of Templates: time 0.004533/0.386, allocations: 0.9363 MB / 0.6131 GB, free: 89.52 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.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.verboseRead,t_new.y[1],time