Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002611/0.002615, allocations: 352.3 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.725/3.725, 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.003534/0.003534, allocations: 221.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.5036/0.5036, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08559, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001877/0.08752, allocations: 1.264 MB / 0.608 GB, free: 3.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.0884, allocations: 411.5 kB / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.08847, allocations: 0 / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.08876, allocations: 43.88 kB / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.08894, allocations: 35.89 kB / 0.6085 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.08914, allocations: 59.81 kB / 0.6085 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.08928, allocations: 59.83 kB / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.08934, allocations: 0 / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.08942, allocations: 35.84 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.0895, allocations: 23.91 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.08953, allocations: 0 / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.08964, allocations: 28 kB / 0.6087 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.08969, allocations: 23.92 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.08974, allocations: 37.64 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.08992, allocations: 88.03 kB / 0.6088 GB, free: 2.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08994, allocations: 3.938 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.08995, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.08996, allocations: 0 / 0.6088 GB, free: 2.531 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004766/0.09044, allocations: 420.5 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.09049, allocations: 8.031 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.09055, allocations: 23.75 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.09075, allocations: 202.8 kB / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.09078, allocations: 0 / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.0908, allocations: 4 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.09092, allocations: 37.69 kB / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.09094, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.09096, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.09097, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.09103, allocations: 15.94 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.09122, allocations: 193.6 kB / 0.6097 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.0913, allocations: 30.58 kB / 0.6097 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.09134, allocations: 12.84 kB / 0.6097 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.09137, allocations: 4 kB / 0.6097 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.09153, allocations: 55.34 kB / 0.6098 GB, free: 1.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.09154, allocations: 0 / 0.6098 GB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002159/0.09177, allocations: 73.48 kB / 0.6098 GB, free: 1.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.0918, allocations: 59.34 kB / 0.6099 GB, free: 1.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.09207, allocations: 236.4 kB / 0.6101 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.09209, allocations: 29.7 kB / 0.6101 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.09216, allocations: 108.1 kB / 0.6102 GB, free: 0.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.0922, allocations: 7.906 kB / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.09221, allocations: 0 / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.09229, allocations: 326.8 kB / 0.6106 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.09234, allocations: 19.98 kB / 0.6106 GB, free: 488 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.09239, allocations: 12 kB / 0.6106 GB, free: 476 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.09247, allocations: 45.69 kB / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.09248, allocations: 0 / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.09265, allocations: 107.3 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.0927, allocations: 29.7 kB / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.09271, allocations: 0 / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.09273, allocations: 0 / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.09282, allocations: 11.94 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.09283, allocations: 0 / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.09291, allocations: 11.89 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.09293, allocations: 0 / 0.6108 GB, free: 244 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: 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 (5): * Single equations (assignments): 4 * 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 9.865e-05/0.09304, allocations: 144.3 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.09307, allocations: 11.84 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.09312, allocations: 12.94 kB / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.09313, allocations: 0 / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.09314, allocations: 0 / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2595/0.3527, allocations: 85.91 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3528, allocations: 8.469 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3529, allocations: 2.531 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3529, allocations: 6.938 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002037/0.3531, allocations: 129 kB / 0.6112 GB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001749/0.3533, allocations: 234.1 kB / 0.6114 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.252e-05/0.3534, allocations: 10.67 kB / 0.6114 GB, free: 90.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3536, allocations: 185.8 kB / 0.6116 GB, free: 90.14 MB / 362.7 MB Notification: Performance of Backend: time 1.443e-06/0.3536, allocations: 0 / 0.6116 GB, free: 90.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3549, allocations: 403.8 kB / 0.612 GB, free: 90.01 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006917/0.3557, allocations: 0.6809 MB / 0.6126 GB, free: 89.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005579/0.3613, allocations: 1.232 MB / 0.6138 GB, free: 89.39 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.verboseRead,t_new.y[1],time