Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003814/0.003819, allocations: 351.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.694/3.694, 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.003547/0.003547, allocations: 225.1 kB / 397.9 MB, free: 4.973 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.5007/0.5007, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007091/0.0007094, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002814/0.1194, allocations: 1.295 MB / 0.608 GB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.122, allocations: 1.004 MB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.1221, allocations: 0 / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.1225, allocations: 27.89 kB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1228, allocations: 35.91 kB / 0.6091 GB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1232, allocations: 55.81 kB / 0.6091 GB, free: 2.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1235, allocations: 71.77 kB / 0.6092 GB, free: 2.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1236, allocations: 11.98 kB / 0.6092 GB, free: 2.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1237, allocations: 27.91 kB / 0.6092 GB, free: 2.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.124, allocations: 35.8 kB / 0.6093 GB, free: 2.051 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.124, allocations: 3.938 kB / 0.6093 GB, free: 2.047 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.1243, allocations: 59.95 kB / 0.6093 GB, free: 1.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.1244, allocations: 19.92 kB / 0.6093 GB, free: 1.969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.1244, allocations: 33.7 kB / 0.6094 GB, free: 1.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1248, allocations: 92.09 kB / 0.6095 GB, free: 1.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1248, allocations: 0 / 0.6095 GB, free: 1.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1248, allocations: 0 / 0.6095 GB, free: 1.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1248, allocations: 4 kB / 0.6095 GB, free: 1.836 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006325/0.1255, allocations: 420.6 kB / 0.6099 GB, free: 1.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1255, allocations: 8.031 kB / 0.6099 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1256, allocations: 11.95 kB / 0.6099 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.126, allocations: 198.9 kB / 0.6101 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.126, allocations: 3.984 kB / 0.6101 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.126, allocations: 8 kB / 0.6101 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1263, allocations: 67.39 kB / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1263, allocations: 0 / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1264, allocations: 0 / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1264, allocations: 0 / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1265, allocations: 23.94 kB / 0.6102 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.1271, allocations: 292.8 kB / 0.6104 GB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1273, allocations: 42.56 kB / 0.6105 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.1273, allocations: 20.86 kB / 0.6105 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1274, allocations: 0 / 0.6105 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3301/0.4575, allocations: 69.34 kB / 0.6106 GB, free: 90.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 5.06e-06/0.4576, allocations: 0 / 0.6106 GB, free: 90.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006242/0.4582, allocations: 124 kB / 0.6107 GB, free: 90.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.4583, allocations: 82.38 kB / 0.6108 GB, free: 90.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.4584, allocations: 138.3 kB / 0.6109 GB, free: 90.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4585, allocations: 29.05 kB / 0.6109 GB, free: 90.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.4585, allocations: 95.73 kB / 0.611 GB, free: 90.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.4586, allocations: 21.34 kB / 0.611 GB, free: 90.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.4586, allocations: 2.906 kB / 0.611 GB, free: 90.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.4587, allocations: 326.7 kB / 0.6114 GB, free: 90.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.4588, allocations: 25.72 kB / 0.6114 GB, free: 90.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.4589, allocations: 37.7 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.459, allocations: 54.83 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.459, allocations: 3.969 kB / 0.6115 GB, free: 90.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002723/0.4593, allocations: 134.2 kB / 0.6116 GB, free: 90.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.4593, allocations: 35.17 kB / 0.6116 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4593, allocations: 0 / 0.6116 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4594, allocations: 1.531 kB / 0.6116 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.4595, allocations: 10.75 kB / 0.6116 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4595, allocations: 0 / 0.6116 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.4596, allocations: 14.03 kB / 0.6117 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.4597, allocations: 5.031 kB / 0.6117 GB, free: 90.1 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 (8): * Single equations (assignments): 7 * 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.0001116/0.4598, allocations: 127.6 kB / 0.6118 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.4598, allocations: 7.906 kB / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.4599, allocations: 12.47 kB / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4599, allocations: 0 / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4599, allocations: 0 / 0.6118 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.46, allocations: 86.94 kB / 0.6119 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.46, allocations: 10.48 kB / 0.6119 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.4601, allocations: 6.266 kB / 0.6119 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4601, allocations: 5.75 kB / 0.6119 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002307/0.4604, allocations: 155.1 kB / 0.6121 GB, free: 89.78 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000224/0.4606, allocations: 257 kB / 0.6123 GB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.976e-05/0.4607, allocations: 17.7 kB / 0.6123 GB, free: 89.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.4608, allocations: 114.5 kB / 0.6124 GB, free: 89.5 MB / 362.7 MB Notification: Performance of Backend: time 8.31e-07/0.4608, allocations: 1.641 kB / 0.6124 GB, free: 89.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.4625, allocations: 0.4919 MB / 0.6129 GB, free: 89.37 MB / 362.7 MB Notification: Performance of SimCode: time 0.000634/0.4631, allocations: 0.6291 MB / 0.6135 GB, free: 88.76 MB / 362.7 MB Notification: Performance of Templates: time 0.007351/0.4705, allocations: 1.846 MB / 0.6153 GB, free: 88.74 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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],t_new.y[2],time