Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002742/0.002746, allocations: 353.1 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.688/3.688, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.00381/0.003809, allocations: 221.2 kB / 397.9 MB, free: 4.902 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.5261/0.5261, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006731/0.0006733, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1103, allocations: 48.71 MB / 0.6068 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001989/0.1124, allocations: 1.299 MB / 0.608 GB, free: 3.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.1134, allocations: 423.5 kB / 0.6084 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.1134, allocations: 0 / 0.6084 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1138, allocations: 35.89 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1139, allocations: 27.91 kB / 0.6085 GB, free: 2.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1142, allocations: 55.81 kB / 0.6085 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1143, allocations: 63.83 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.1144, allocations: 11.98 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.1145, allocations: 27.86 kB / 0.6086 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.1146, allocations: 23.91 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1146, allocations: 0 / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1148, allocations: 43.92 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.1148, allocations: 8 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.1149, allocations: 45.56 kB / 0.6088 GB, free: 2.539 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.115, allocations: 80.11 kB / 0.6088 GB, free: 2.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1151, allocations: 0 / 0.6088 GB, free: 2.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1151, allocations: 0 / 0.6088 GB, free: 2.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1151, allocations: 0 / 0.6088 GB, free: 2.461 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.0004575/0.1155, allocations: 408.6 kB / 0.6092 GB, free: 2.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1156, allocations: 16.02 kB / 0.6092 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.1157, allocations: 15.8 kB / 0.6093 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1159, allocations: 186.9 kB / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1159, allocations: 4 kB / 0.6094 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1159, allocations: 7.938 kB / 0.6094 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.116, allocations: 41.69 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1161, allocations: 3.938 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1161, allocations: 11.95 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1161, allocations: 0 / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.1162, allocations: 19.97 kB / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.1165, allocations: 268.9 kB / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1168, allocations: 42.52 kB / 0.6098 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1168, allocations: 12.94 kB / 0.6098 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1169, allocations: 8 kB / 0.6098 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.117, allocations: 55.36 kB / 0.6099 GB, free: 1.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.117, allocations: 0 / 0.6099 GB, free: 1.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004555/0.1175, allocations: 125.3 kB / 0.61 GB, free: 1.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.1176, allocations: 51.41 kB / 0.6101 GB, free: 1.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1178, allocations: 167.9 kB / 0.6102 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1178, allocations: 25.7 kB / 0.6102 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1179, allocations: 112 kB / 0.6103 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1179, allocations: 11.91 kB / 0.6104 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1179, allocations: 0 / 0.6104 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.118, allocations: 322.8 kB / 0.6107 GB, free: 372 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.118, allocations: 12 kB / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.1181, allocations: 23.98 kB / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.1182, allocations: 49.64 kB / 0.6107 GB, free: 280 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1182, allocations: 0 / 0.6107 GB, free: 280 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002065/0.1184, allocations: 119.3 kB / 0.6109 GB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.1185, allocations: 37.73 kB / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1185, allocations: 7.938 kB / 0.6109 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1185, allocations: 0 / 0.6109 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.1186, allocations: 11.94 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1186, allocations: 0 / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.1187, allocations: 4 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1187, allocations: 4 kB / 0.6109 GB, free: 76 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 (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.2684/0.3872, allocations: 121.1 kB / 0.611 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3872, allocations: 11.09 kB / 0.611 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.3873, allocations: 18.23 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3873, allocations: 3.328 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3873, allocations: 1.344 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3874, allocations: 81.42 kB / 0.6111 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3874, allocations: 5.406 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.3875, allocations: 3.312 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3876, allocations: 7.203 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002172/0.3878, allocations: 146.5 kB / 0.6113 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001914/0.388, allocations: 246.7 kB / 0.6115 GB, free: 89.92 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.256e-05/0.3881, allocations: 16.12 kB / 0.6116 GB, free: 89.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3882, allocations: 131.2 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of Backend: time 8.11e-07/0.3882, allocations: 0 / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.3896, allocations: 433.6 kB / 0.6121 GB, free: 89.71 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006712/0.3903, allocations: 0.6348 MB / 0.6127 GB, free: 89.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005876/0.3962, allocations: 1.418 MB / 0.6141 GB, free: 89.09 MB / 362.7 MB "" 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.verboseRead,t_new.y[1],time