Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004143/0.004148, 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.839/3.839, 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.003566/0.003566, allocations: 225.2 kB / 397.9 MB, free: 4.891 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.5389/0.5389, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000784/0.0007839, allocations: 19.98 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.116, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002067/0.1182, allocations: 1.303 MB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.12, allocations: 0.996 MB / 0.609 GB, free: 2.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.1201, allocations: 4 kB / 0.609 GB, free: 2.305 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1205, allocations: 23.91 kB / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1207, allocations: 35.89 kB / 0.6091 GB, free: 2.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.121, allocations: 59.81 kB / 0.6091 GB, free: 2.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1212, allocations: 63.77 kB / 0.6092 GB, free: 2.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1213, allocations: 8 kB / 0.6092 GB, free: 2.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.389e-05/0.1214, allocations: 31.84 kB / 0.6092 GB, free: 2.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1216, allocations: 27.86 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1216, allocations: 7.938 kB / 0.6092 GB, free: 2.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.1218, allocations: 59.95 kB / 0.6093 GB, free: 1.992 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1219, allocations: 8 kB / 0.6093 GB, free: 1.984 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.1219, allocations: 29.64 kB / 0.6093 GB, free: 1.949 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1222, allocations: 92.09 kB / 0.6094 GB, free: 1.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1222, allocations: 0 / 0.6094 GB, free: 1.859 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1222, allocations: 4 kB / 0.6094 GB, free: 1.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1222, allocations: 0 / 0.6094 GB, free: 1.855 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.0005125/0.1227, allocations: 412.7 kB / 0.6098 GB, free: 1.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1228, allocations: 12.03 kB / 0.6098 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1229, allocations: 7.859 kB / 0.6098 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1231, allocations: 187 kB / 0.61 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1231, allocations: 3.938 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1231, allocations: 11.89 kB / 0.61 GB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1233, allocations: 59.41 kB / 0.6101 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1234, allocations: 0 / 0.6101 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1234, allocations: 4 kB / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1234, allocations: 0 / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.1235, allocations: 23.92 kB / 0.6101 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.1239, allocations: 272.9 kB / 0.6104 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1241, allocations: 42.52 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1242, allocations: 16.94 kB / 0.6104 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1242, allocations: 0 / 0.6104 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1244, allocations: 59.41 kB / 0.6105 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.345e-06/0.1244, allocations: 0 / 0.6105 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.2867/0.4112, allocations: 111.2 kB / 0.6106 GB, free: 90.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4112, allocations: 79.7 kB / 0.6107 GB, free: 90.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.4115, allocations: 139 kB / 0.6108 GB, free: 90.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4115, allocations: 28.23 kB / 0.6108 GB, free: 90.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.4116, allocations: 89.41 kB / 0.6109 GB, free: 90.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.4116, allocations: 13.34 kB / 0.6109 GB, free: 90.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.4116, allocations: 0.75 kB / 0.6109 GB, free: 90.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.4117, allocations: 319.8 kB / 0.6112 GB, free: 90.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.4118, allocations: 24.53 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.4119, allocations: 36.58 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.412, allocations: 49.8 kB / 0.6113 GB, free: 90.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.412, allocations: 1.75 kB / 0.6113 GB, free: 90.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002534/0.4122, allocations: 124.3 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4123, allocations: 32.95 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4123, allocations: 0 / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4123, allocations: 3.781 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.4124, allocations: 12.72 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4125, allocations: 0.6094 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.4125, allocations: 8.094 kB / 0.6115 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4126, allocations: 6.344 kB / 0.6115 GB, free: 90.18 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 9.728e-05/0.4127, allocations: 122.1 kB / 0.6116 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.4127, allocations: 7.391 kB / 0.6116 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.4128, allocations: 11.06 kB / 0.6117 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4128, allocations: 1.547 kB / 0.6117 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4128, allocations: 0.8906 kB / 0.6117 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4128, allocations: 84.66 kB / 0.6117 GB, free: 89.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4129, allocations: 5.125 kB / 0.6117 GB, free: 89.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.413, allocations: 9.156 kB / 0.6118 GB, free: 89.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.413, allocations: 6.516 kB / 0.6118 GB, free: 89.96 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002052/0.4132, allocations: 146.3 kB / 0.6119 GB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000214/0.4135, allocations: 240.9 kB / 0.6121 GB, free: 89.64 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.551e-05/0.4135, allocations: 12.5 kB / 0.6121 GB, free: 89.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4137, allocations: 106.7 kB / 0.6122 GB, free: 89.57 MB / 362.7 MB Notification: Performance of Backend: time 7.82e-07/0.4137, allocations: 0 / 0.6122 GB, free: 89.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.4154, allocations: 0.4968 MB / 0.6127 GB, free: 89.45 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006152/0.4161, allocations: 0.6147 MB / 0.6133 GB, free: 88.84 MB / 362.7 MB Notification: Performance of Templates: time 0.006981/0.4231, allocations: 1.763 MB / 0.6151 GB, free: 88.81 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.verboseRead,t_new.y[1],time