Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004165/0.00417, allocations: 353.7 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.729/3.729, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00351/0.00351, allocations: 225.2 kB / 397.9 MB, free: 4.977 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.5925/0.5925, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006365, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09148, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002439/0.094, allocations: 1.296 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.09524, allocations: 419.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.09534, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.09575, allocations: 47.88 kB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.09598, allocations: 27.89 kB / 0.6085 GB, free: 2.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.09628, allocations: 59.81 kB / 0.6086 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.09645, allocations: 59.83 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.09658, allocations: 15.98 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.09667, allocations: 23.86 kB / 0.6086 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.09677, allocations: 27.92 kB / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.09681, allocations: 0 / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.09697, allocations: 43.91 kB / 0.6087 GB, free: 2.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.09704, allocations: 23.86 kB / 0.6087 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.0971, allocations: 37.64 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.09732, allocations: 88.09 kB / 0.6089 GB, free: 2.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.09734, allocations: 0 / 0.6089 GB, free: 2.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09736, allocations: 0 / 0.6089 GB, free: 2.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09737, allocations: 0 / 0.6089 GB, free: 2.465 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005289/0.09791, allocations: 424.5 kB / 0.6093 GB, free: 1.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.09797, allocations: 12.03 kB / 0.6093 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.09804, allocations: 11.86 kB / 0.6093 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.09828, allocations: 198.8 kB / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.09831, allocations: 0 / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.09835, allocations: 4 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.09849, allocations: 49.61 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.09852, allocations: 0 / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.09855, allocations: 8 kB / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09857, allocations: 0 / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.09865, allocations: 15.95 kB / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.09907, allocations: 288.8 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.09933, allocations: 38.56 kB / 0.6099 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.09939, allocations: 12.86 kB / 0.6099 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.09942, allocations: 0 / 0.6099 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.09962, allocations: 59.48 kB / 0.6099 GB, free: 1.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.09964, allocations: 3.938 kB / 0.6099 GB, free: 1.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005017/0.1002, allocations: 121.2 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1002, allocations: 55.41 kB / 0.6101 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1005, allocations: 211.3 kB / 0.6103 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1005, allocations: 25.7 kB / 0.6103 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.1006, allocations: 108.1 kB / 0.6104 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1006, allocations: 19.69 kB / 0.6104 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.1007, allocations: 8 kB / 0.6105 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.1008, allocations: 322.8 kB / 0.6108 GB, free: 292 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1008, allocations: 16 kB / 0.6108 GB, free: 276 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.1009, allocations: 19.98 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.101, allocations: 45.8 kB / 0.6108 GB, free: 204 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.101, allocations: 3.938 kB / 0.6108 GB, free: 200 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002534/0.1013, allocations: 123.1 kB / 0.611 GB, free: 64 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.1014, allocations: 37.69 kB / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1014, allocations: 0 / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1014, allocations: 3.953 kB / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.1015, allocations: 12 kB / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1015, allocations: 0 / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.1016, allocations: 4 kB / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2841/0.3857, allocations: 2.703 kB / 0.611 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: 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 (7): * Single equations (assignments): 6 * 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.0001672/0.3859, allocations: 128.2 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.386, allocations: 7.156 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.3861, allocations: 15.3 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3861, allocations: 6.578 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3861, allocations: 3.438 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.3862, allocations: 92.89 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3862, allocations: 2.219 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3863, allocations: 4.906 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3863, allocations: 5.562 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002158/0.3866, allocations: 149.3 kB / 0.6114 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001897/0.3868, allocations: 243.6 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.144e-05/0.3868, allocations: 15.45 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.387, allocations: 157.2 kB / 0.6118 GB, free: 89.78 MB / 362.7 MB Notification: Performance of Backend: time 6.92e-07/0.387, allocations: 0 / 0.6118 GB, free: 89.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3884, allocations: 437.3 kB / 0.6122 GB, free: 89.65 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006299/0.389, allocations: 0.6623 MB / 0.6129 GB, free: 89.04 MB / 362.7 MB Notification: Performance of Templates: time 0.00576/0.3948, allocations: 1.432 MB / 0.6143 GB, free: 89.03 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5005]=2.500000 File[6005]=3.000500 " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,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.verboseRead,t_new.y[1],time