Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006062/0.006065, allocations: 345.4 kB / 15.95 MB, free: 6.199 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.781/3.781, 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.003593/0.003593, allocations: 236.5 kB / 397.9 MB, free: 4.906 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.5506/0.5506, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004637, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08651, allocations: 48.72 MB / 0.6068 GB, free: 4.621 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00193/0.0885, allocations: 1.296 MB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.08945, allocations: 427.4 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.08953, allocations: 0 / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.08984, allocations: 43.88 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.09005, allocations: 31.89 kB / 0.6085 GB, free: 2.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.0903, allocations: 55.83 kB / 0.6086 GB, free: 2.762 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.09045, allocations: 63.81 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.09056, allocations: 11.94 kB / 0.6086 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.09063, allocations: 27.86 kB / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.09071, allocations: 27.89 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.09075, allocations: 11.94 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.09088, allocations: 32 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.09094, allocations: 15.98 kB / 0.6087 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.09098, allocations: 45.56 kB / 0.6088 GB, free: 2.523 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.09117, allocations: 84.11 kB / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09119, allocations: 0 / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.0912, allocations: 0 / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.09121, allocations: 0 / 0.6089 GB, free: 2.441 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.0004667/0.09168, allocations: 420.5 kB / 0.6093 GB, free: 1.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.09174, allocations: 19.97 kB / 0.6093 GB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.09179, allocations: 11.86 kB / 0.6093 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.09199, allocations: 194.9 kB / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.09202, allocations: 0 / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.09205, allocations: 4 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.09218, allocations: 41.69 kB / 0.6095 GB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.0922, allocations: 3.938 kB / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.09222, allocations: 0 / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.09224, allocations: 0 / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.09231, allocations: 19.94 kB / 0.6095 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.09266, allocations: 292.8 kB / 0.6098 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.09288, allocations: 42.56 kB / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.09292, allocations: 12.86 kB / 0.6099 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.09296, allocations: 0 / 0.6099 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.09311, allocations: 63.42 kB / 0.6099 GB, free: 1.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.09313, allocations: 0 / 0.6099 GB, free: 1.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004277/0.09356, allocations: 125.2 kB / 0.6101 GB, free: 1.035 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.0936, allocations: 51.41 kB / 0.6101 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.09382, allocations: 207.3 kB / 0.6103 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.09385, allocations: 33.64 kB / 0.6103 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.09391, allocations: 104.1 kB / 0.6104 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.09395, allocations: 15.75 kB / 0.6105 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.09396, allocations: 4 kB / 0.6105 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.09407, allocations: 326.8 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.09414, allocations: 15.98 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.0942, allocations: 16 kB / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.09429, allocations: 53.72 kB / 0.6109 GB, free: 180 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.0943, allocations: 4 kB / 0.6109 GB, free: 176 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002034/0.09451, allocations: 123.1 kB / 0.611 GB, free: 40 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.09456, allocations: 33.7 kB / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.09457, allocations: 0 / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.09459, allocations: 384 / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3152/0.4098, allocations: 11.03 kB / 0.611 GB, free: 90.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.4099, allocations: 0.875 kB / 0.611 GB, free: 90.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/0.4161, allocations: 7.719 kB / 0.611 GB, free: 90.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.4162, allocations: 2.906 kB / 0.611 GB, free: 90.45 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 0.0001772/0.4164, allocations: 134.4 kB / 0.6112 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4165, allocations: 9.062 kB / 0.6112 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.4165, allocations: 13.69 kB / 0.6112 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4166, allocations: 0 / 0.6112 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4166, allocations: 0 / 0.6112 GB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.4166, allocations: 88.59 kB / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.4167, allocations: 3.891 kB / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.4168, allocations: 9.109 kB / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4168, allocations: 6.906 kB / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002613/0.4171, allocations: 148.2 kB / 0.6114 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000251/0.4174, allocations: 244.7 kB / 0.6117 GB, free: 89.93 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.689e-05/0.4175, allocations: 18.03 kB / 0.6117 GB, free: 89.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.4177, allocations: 158.8 kB / 0.6118 GB, free: 89.85 MB / 362.7 MB Notification: Performance of Backend: time 7.62e-07/0.4177, allocations: 0 / 0.6118 GB, free: 89.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.4196, allocations: 431.3 kB / 0.6122 GB, free: 89.72 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007497/0.4204, allocations: 0.6698 MB / 0.6129 GB, free: 89.11 MB / 362.7 MB Notification: Performance of Templates: time 0.02066/0.441, allocations: 1.425 MB / 0.6143 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time