Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004058/0.004065, allocations: 348.4 kB / 15.94 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.777/3.777, allocations: 341.5 MB / 358.2 MB, free: 12.57 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.003509/0.003508, allocations: 221.2 kB / 397.9 MB, free: 4.914 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.4853/0.4853, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006484, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09337, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002027/0.09546, allocations: 1.299 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.09713, allocations: 1.008 MB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.09723, allocations: 0 / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.09753, allocations: 19.92 kB / 0.609 GB, free: 2.293 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.09773, allocations: 31.91 kB / 0.6091 GB, free: 2.262 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09797, allocations: 63.8 kB / 0.6091 GB, free: 2.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.09812, allocations: 63.78 kB / 0.6092 GB, free: 2.137 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.09822, allocations: 7.984 kB / 0.6092 GB, free: 2.129 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.0983, allocations: 27.91 kB / 0.6092 GB, free: 2.102 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.09848, allocations: 31.86 kB / 0.6092 GB, free: 2.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.09851, allocations: 3.938 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.09869, allocations: 59.97 kB / 0.6093 GB, free: 2.008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.09874, allocations: 7.922 kB / 0.6093 GB, free: 2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.0988, allocations: 33.7 kB / 0.6093 GB, free: 1.961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.09901, allocations: 92.09 kB / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09903, allocations: 0 / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09904, allocations: 0 / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.09905, allocations: 0 / 0.6094 GB, free: 1.871 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.0004639/0.09952, allocations: 408.7 kB / 0.6098 GB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.09957, allocations: 15.97 kB / 0.6098 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.09963, allocations: 11.86 kB / 0.6098 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.09984, allocations: 195 kB / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.09987, allocations: 0 / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.09991, allocations: 7.906 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1001, allocations: 59.39 kB / 0.6101 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1001, allocations: 0 / 0.6101 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1001, allocations: 4 kB / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1001, allocations: 8 kB / 0.6101 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.1002, allocations: 11.94 kB / 0.6101 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1005, allocations: 280.9 kB / 0.6104 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1008, allocations: 38.56 kB / 0.6104 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.1008, allocations: 8.953 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1008, allocations: 11.97 kB / 0.6104 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.101, allocations: 59.41 kB / 0.6105 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.101, allocations: 3.938 kB / 0.6105 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.2944/0.3955, allocations: 104.2 kB / 0.6106 GB, free: 90.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3956, allocations: 78.56 kB / 0.6107 GB, free: 90.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3958, allocations: 136.4 kB / 0.6108 GB, free: 90.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3958, allocations: 29.39 kB / 0.6108 GB, free: 90.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.3959, allocations: 89.09 kB / 0.6109 GB, free: 90.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3959, allocations: 20.88 kB / 0.6109 GB, free: 90.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-06/0.396, allocations: 0.8125 kB / 0.6109 GB, free: 90.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.396, allocations: 320.3 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.3961, allocations: 16.25 kB / 0.6113 GB, free: 90.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.3962, allocations: 34.52 kB / 0.6113 GB, free: 90.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.3963, allocations: 49 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3963, allocations: 2.969 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002516/0.3966, allocations: 122.6 kB / 0.6115 GB, free: 90.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.3966, allocations: 36.83 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3967, allocations: 1.219 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3967, allocations: 1.719 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.3968, allocations: 15.31 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3968, allocations: 0 / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.3969, allocations: 4.469 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3969, allocations: 6.656 kB / 0.6115 GB, free: 90.06 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.837e-05/0.397, allocations: 125.7 kB / 0.6116 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3971, allocations: 8.125 kB / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.3971, allocations: 10.34 kB / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3971, allocations: 0 / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3971, allocations: 0 / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.3972, allocations: 89.03 kB / 0.6117 GB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3972, allocations: 5.375 kB / 0.6118 GB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.3973, allocations: 5.672 kB / 0.6118 GB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3974, allocations: 11.53 kB / 0.6118 GB, free: 89.84 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001982/0.3976, allocations: 145 kB / 0.6119 GB, free: 89.74 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002007/0.3978, allocations: 241.3 kB / 0.6121 GB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.517e-05/0.3978, allocations: 18.3 kB / 0.6122 GB, free: 89.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.398, allocations: 104.7 kB / 0.6123 GB, free: 89.46 MB / 362.7 MB Notification: Performance of Backend: time 1.012e-06/0.398, allocations: 0 / 0.6123 GB, free: 89.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.3999, allocations: 0.4888 MB / 0.6127 GB, free: 89.33 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007069/0.4007, allocations: 0.6091 MB / 0.6133 GB, free: 88.73 MB / 362.7 MB Notification: Performance of Templates: time 0.00855/0.4092, allocations: 1.767 MB / 0.6151 GB, free: 88.7 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