Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004323/0.004323, 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.843/3.843, 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.003614/0.003614, allocations: 225.1 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.4901/0.4901, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007408/0.0007411, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1083, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003069/0.1115, allocations: 1.303 MB / 0.608 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1131, allocations: 419.5 kB / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1133, allocations: 4 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.1137, allocations: 67.84 kB / 0.6085 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1141, allocations: 51.86 kB / 0.6085 GB, free: 2.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1146, allocations: 63.81 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1148, allocations: 67.83 kB / 0.6087 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.115, allocations: 7.984 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1151, allocations: 35.84 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1153, allocations: 39.89 kB / 0.6087 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1153, allocations: 7.875 kB / 0.6088 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1156, allocations: 39.97 kB / 0.6088 GB, free: 2.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1157, allocations: 15.98 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1157, allocations: 41.58 kB / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.116, allocations: 92.09 kB / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1161, allocations: 0 / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1161, allocations: 0 / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1161, allocations: 0 / 0.6089 GB, free: 2.395 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.0006763/0.1168, allocations: 408.6 kB / 0.6093 GB, free: 1.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.1169, allocations: 8.031 kB / 0.6093 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.117, allocations: 15.77 kB / 0.6093 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1173, allocations: 194.9 kB / 0.6095 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1173, allocations: 0 / 0.6095 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1174, allocations: 15.91 kB / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1176, allocations: 41.69 kB / 0.6096 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1176, allocations: 7.938 kB / 0.6096 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1177, allocations: 0 / 0.6096 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1177, allocations: 0 / 0.6096 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1178, allocations: 19.94 kB / 0.6096 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1183, allocations: 280.9 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1187, allocations: 50.56 kB / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1187, allocations: 12.86 kB / 0.6099 GB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1188, allocations: 0 / 0.6099 GB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.119, allocations: 55.48 kB / 0.61 GB, free: 1.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.837e-06/0.119, allocations: 0 / 0.61 GB, free: 1.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006567/0.1197, allocations: 125.2 kB / 0.6101 GB, free: 1.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1197, allocations: 51.41 kB / 0.6102 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.1201, allocations: 200.3 kB / 0.6104 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1201, allocations: 25.7 kB / 0.6104 GB, free: 0.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.1203, allocations: 108.1 kB / 0.6105 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1203, allocations: 11.81 kB / 0.6105 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.1203, allocations: 4 kB / 0.6105 GB, free: 0.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.1204, allocations: 322.8 kB / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.1206, allocations: 16 kB / 0.6108 GB, free: 248 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.1206, allocations: 19.98 kB / 0.6108 GB, free: 228 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1208, allocations: 53.73 kB / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1208, allocations: 0 / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003511/0.1212, allocations: 123.2 kB / 0.611 GB, free: 32 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3318/0.453, allocations: 38.75 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4531, allocations: 0 / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.4531, allocations: 1.719 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4532, allocations: 6.344 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.4533, allocations: 0 / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.4534, allocations: 2.344 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4534, allocations: 3.5 kB / 0.6111 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.0001337/0.4535, allocations: 130.7 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.4536, allocations: 9.672 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.4537, allocations: 14.53 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4537, allocations: 0.8906 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4537, allocations: 0 / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.4538, allocations: 89.83 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.4538, allocations: 4.938 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.4539, allocations: 4.531 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.4539, allocations: 8.047 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002229/0.4542, allocations: 146.1 kB / 0.6114 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002004/0.4544, allocations: 244.8 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.412e-05/0.4545, allocations: 17.22 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4546, allocations: 149 kB / 0.6118 GB, free: 89.77 MB / 362.7 MB Notification: Performance of Backend: time 8.62e-07/0.4546, allocations: 0 / 0.6118 GB, free: 89.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.4561, allocations: 441.6 kB / 0.6123 GB, free: 89.64 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006361/0.4567, allocations: 0.6539 MB / 0.6129 GB, free: 89.04 MB / 362.7 MB Notification: Performance of Templates: time 0.006073/0.4628, allocations: 1.436 MB / 0.6143 GB, free: 89.02 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5006]=3.500000 File[7147]=5.000100 " 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.verboseRead,t_new.y[1],time