Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004002/0.004007, allocations: 353.4 kB / 15.95 MB, free: 6.203 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.732/3.732, allocations: 341.5 MB / 358.2 MB, free: 12.57 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.003599/0.0036, allocations: 217.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.4839/0.4839, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005329/0.0005332, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08909, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.00195/0.09112, allocations: 1.208 MB / 0.6079 GB, free: 3.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.09246, allocations: 0.8206 MB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.09255, allocations: 0 / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.09277, allocations: 19.91 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.09297, allocations: 27.92 kB / 0.6088 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.09313, allocations: 23.97 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.09325, allocations: 47.84 kB / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.09336, allocations: 8 kB / 0.6088 GB, free: 2.477 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.09342, allocations: 19.91 kB / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.09358, allocations: 27.86 kB / 0.6089 GB, free: 2.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.09361, allocations: 0 / 0.6089 GB, free: 2.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.09373, allocations: 47.97 kB / 0.6089 GB, free: 2.383 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.09378, allocations: 0 / 0.6089 GB, free: 2.383 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.09383, allocations: 37.64 kB / 0.609 GB, free: 2.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.09398, allocations: 60.19 kB / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.094, allocations: 0 / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.09401, allocations: 0 / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.09402, allocations: 3.938 kB / 0.609 GB, free: 2.277 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.0004371/0.09447, allocations: 396.8 kB / 0.6094 GB, free: 1.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.09452, allocations: 11.97 kB / 0.6094 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.09457, allocations: 4 kB / 0.6094 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.09476, allocations: 182.9 kB / 0.6096 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.09478, allocations: 0 / 0.6096 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.09481, allocations: 4 kB / 0.6096 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.09501, allocations: 67.34 kB / 0.6097 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.09504, allocations: 4 kB / 0.6097 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.09506, allocations: 0 / 0.6097 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.09507, allocations: 7.953 kB / 0.6097 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.09522, allocations: 31.97 kB / 0.6097 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.09564, allocations: 273 kB / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.09591, allocations: 62.59 kB / 0.61 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.096, allocations: 16.84 kB / 0.61 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.09604, allocations: 0 / 0.61 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.09607, allocations: 34.52 kB / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.09608, allocations: 0 / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000826/0.09692, allocations: 169.6 kB / 0.6102 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.09698, allocations: 85.11 kB / 0.6103 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.09712, allocations: 129.8 kB / 0.6104 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.09715, allocations: 25.7 kB / 0.6105 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.0972, allocations: 91.98 kB / 0.6106 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.09723, allocations: 15.81 kB / 0.6106 GB, free: 488 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.09725, allocations: 0 / 0.6106 GB, free: 488 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.09732, allocations: 318.8 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.09745, allocations: 31.98 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.0976, allocations: 41.69 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.09777, allocations: 57.62 kB / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.09778, allocations: 0 / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.2727/0.3705, allocations: 124.1 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.3706, allocations: 33.2 kB / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3706, allocations: 0 / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.3707, allocations: 2.703 kB / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3708, allocations: 17.52 kB / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3708, allocations: 0 / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.3709, allocations: 6.891 kB / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.371, allocations: 9.25 kB / 0.6112 GB, free: 90.37 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 0.0001045/0.3711, allocations: 116.9 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.3711, allocations: 6.344 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.3716, allocations: 110.6 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3716, allocations: 0.7031 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3716, allocations: 0 / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.3717, allocations: 88.73 kB / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3717, allocations: 2.578 kB / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3718, allocations: 7.781 kB / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3719, allocations: 8.266 kB / 0.6115 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003782/0.3723, allocations: 175 kB / 0.6117 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000389/0.3727, allocations: 270.4 kB / 0.6119 GB, free: 89.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001445/0.3728, allocations: 33.45 kB / 0.612 GB, free: 89.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.373, allocations: 99.52 kB / 0.6121 GB, free: 89.75 MB / 362.7 MB Notification: Performance of Backend: time 9.72e-07/0.373, allocations: 1.75 kB / 0.6121 GB, free: 89.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.3744, allocations: 379.2 kB / 0.6124 GB, free: 89.62 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005734/0.375, allocations: 0.6021 MB / 0.613 GB, free: 89.03 MB / 362.7 MB Notification: Performance of Templates: time 0.005792/0.3808, allocations: 1.318 MB / 0.6143 GB, free: 89.02 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.u[1],t_new.verboseRead,t_new.y[1],time