Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002587/0.002591, 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.825/3.825, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.004243/0.004243, allocations: 225.1 kB / 397.9 MB, free: 4.98 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.5029/0.5029, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.092, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002089/0.09414, allocations: 1.299 MB / 0.608 GB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.09578, allocations: 0.9999 MB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.09587, allocations: 0 / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.09617, allocations: 27.89 kB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.09637, allocations: 31.91 kB / 0.6091 GB, free: 2.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.0966, allocations: 59.81 kB / 0.6091 GB, free: 2.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.09675, allocations: 63.77 kB / 0.6092 GB, free: 2.133 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.09685, allocations: 12 kB / 0.6092 GB, free: 2.121 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.09693, allocations: 27.84 kB / 0.6092 GB, free: 2.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.09709, allocations: 31.84 kB / 0.6092 GB, free: 2.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.09712, allocations: 4 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.0973, allocations: 55.97 kB / 0.6093 GB, free: 2.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.09734, allocations: 7.984 kB / 0.6093 GB, free: 1.996 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.09744, allocations: 37.64 kB / 0.6093 GB, free: 1.953 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.09766, allocations: 88.09 kB / 0.6094 GB, free: 1.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09768, allocations: 4 kB / 0.6094 GB, free: 1.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09769, allocations: 0 / 0.6094 GB, free: 1.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.0977, allocations: 3.938 kB / 0.6094 GB, free: 1.859 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.0004978/0.09821, allocations: 408.7 kB / 0.6098 GB, free: 1.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.09827, allocations: 8.031 kB / 0.6098 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.09833, allocations: 15.84 kB / 0.6098 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.09854, allocations: 183 kB / 0.61 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.09857, allocations: 7.938 kB / 0.61 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.09861, allocations: 3.906 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.09876, allocations: 63.39 kB / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.09879, allocations: 0 / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.09881, allocations: 0 / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.09882, allocations: 0 / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.123e-05/0.09889, allocations: 15.95 kB / 0.6101 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.09926, allocations: 272.9 kB / 0.6104 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.09949, allocations: 42.5 kB / 0.6104 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.09954, allocations: 12.86 kB / 0.6104 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.09957, allocations: 4 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.09974, allocations: 59.48 kB / 0.6105 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.09976, allocations: 3.984 kB / 0.6105 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.261/0.3608, allocations: 119.9 kB / 0.6106 GB, free: 90.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3609, allocations: 78.27 kB / 0.6107 GB, free: 90.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3611, allocations: 132 kB / 0.6108 GB, free: 90.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3611, allocations: 32.66 kB / 0.6108 GB, free: 90.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.3612, allocations: 89.89 kB / 0.6109 GB, free: 90.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3613, allocations: 16.55 kB / 0.6109 GB, free: 90.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.3613, allocations: 0.75 kB / 0.6109 GB, free: 90.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.3613, allocations: 319.7 kB / 0.6112 GB, free: 90.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.3615, allocations: 21.2 kB / 0.6113 GB, free: 90.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.3616, allocations: 34.53 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.3617, allocations: 53.3 kB / 0.6113 GB, free: 90.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3617, allocations: 1.75 kB / 0.6113 GB, free: 90.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000249/0.3619, allocations: 121.8 kB / 0.6115 GB, free: 90.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.362, allocations: 35.2 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.362, allocations: 1.406 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.362, allocations: 1.719 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.3621, allocations: 16.64 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3621, allocations: 1.875 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.3622, allocations: 3.578 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3622, allocations: 2.656 kB / 0.6115 GB, free: 90.2 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.392e-05/0.3623, allocations: 124 kB / 0.6116 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3624, allocations: 6.281 kB / 0.6116 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.3624, allocations: 12.06 kB / 0.6117 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3625, allocations: 0.75 kB / 0.6117 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3625, allocations: 0 / 0.6117 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.3625, allocations: 91.36 kB / 0.6117 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.3626, allocations: 2.062 kB / 0.6117 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.3626, allocations: 5.297 kB / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3627, allocations: 8.125 kB / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001931/0.3629, allocations: 146.9 kB / 0.6119 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002054/0.3631, allocations: 238.8 kB / 0.6121 GB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.468e-05/0.3632, allocations: 15.25 kB / 0.6121 GB, free: 89.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.3633, allocations: 104.5 kB / 0.6122 GB, free: 89.6 MB / 362.7 MB Notification: Performance of Backend: time 1.162e-06/0.3633, allocations: 0 / 0.6122 GB, free: 89.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3649, allocations: 0.4928 MB / 0.6127 GB, free: 89.47 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005853/0.3655, allocations: 0.6172 MB / 0.6133 GB, free: 88.87 MB / 362.7 MB Notification: Performance of Templates: time 0.006725/0.3722, allocations: 1.771 MB / 0.6151 GB, free: 88.85 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