Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00269/0.00269, allocations: 366.5 kB / 15.96 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.921/3.921, allocations: 388.9 MB / 405.6 MB, free: 48.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005079/0.005079, allocations: 232.7 kB / 451 MB, free: 3.004 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7612/0.7612, allocations: 80.02 MB / 0.5627 GB, free: 35.63 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004654, allocations: 15.94 kB / 0.6265 GB, free: 2.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4009, allocations: 54.87 MB / 0.6801 GB, free: 41.78 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002197/0.4032, allocations: 1.354 MB / 0.6814 GB, free: 41.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.4047, allocations: 0.721 MB / 0.6821 GB, free: 40.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.4049, allocations: 0 / 0.6821 GB, free: 40.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.4052, allocations: 28.28 kB / 0.6822 GB, free: 40.76 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.4054, allocations: 36.48 kB / 0.6822 GB, free: 40.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.4056, allocations: 54.17 kB / 0.6823 GB, free: 40.72 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.4058, allocations: 78.19 kB / 0.6823 GB, free: 40.69 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4059, allocations: 15.11 kB / 0.6823 GB, free: 40.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.406, allocations: 31.73 kB / 0.6824 GB, free: 40.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.4061, allocations: 31.98 kB / 0.6824 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.4061, allocations: 4.375 kB / 0.6824 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4063, allocations: 43.69 kB / 0.6824 GB, free: 40.65 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.4063, allocations: 9.25 kB / 0.6825 GB, free: 40.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.4064, allocations: 42.89 kB / 0.6825 GB, free: 40.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.4066, allocations: 85.33 kB / 0.6826 GB, free: 40.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4066, allocations: 2.625 kB / 0.6826 GB, free: 40.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4066, allocations: 0.7188 kB / 0.6826 GB, free: 40.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4066, allocations: 0 / 0.6826 GB, free: 40.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005436/0.4072, allocations: 448.6 kB / 0.683 GB, free: 40.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4072, allocations: 9.219 kB / 0.683 GB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.4073, allocations: 17.5 kB / 0.683 GB, free: 40.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.4075, allocations: 200.8 kB / 0.6832 GB, free: 39.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4076, allocations: 2.625 kB / 0.6832 GB, free: 39.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4076, allocations: 7.75 kB / 0.6832 GB, free: 39.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4078, allocations: 58 kB / 0.6833 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4078, allocations: 0 / 0.6833 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4078, allocations: 0.9688 kB / 0.6833 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4079, allocations: 6.062 kB / 0.6833 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.408, allocations: 24.42 kB / 0.6833 GB, free: 39.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4084, allocations: 302.5 kB / 0.6836 GB, free: 39.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.4086, allocations: 56.28 kB / 0.6837 GB, free: 39.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.4087, allocations: 22.5 kB / 0.6837 GB, free: 39.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.4087, allocations: 0 / 0.6837 GB, free: 39.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.4089, allocations: 76.28 kB / 0.6838 GB, free: 39.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.409, allocations: 0 / 0.6838 GB, free: 39.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007308/0.4097, allocations: 179.5 kB / 0.6839 GB, free: 39.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.4098, allocations: 53 kB / 0.684 GB, free: 39.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.41, allocations: 177.4 kB / 0.6841 GB, free: 39.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4101, allocations: 32.05 kB / 0.6842 GB, free: 39.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.4101, allocations: 99.3 kB / 0.6843 GB, free: 39.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4102, allocations: 24.55 kB / 0.6843 GB, free: 39.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.4102, allocations: 2.562 kB / 0.6843 GB, free: 39.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.4103, allocations: 325 kB / 0.6846 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4104, allocations: 29.84 kB / 0.6846 GB, free: 38.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.4105, allocations: 46.7 kB / 0.6847 GB, free: 38.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4107, allocations: 62.45 kB / 0.6847 GB, free: 38.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4107, allocations: 0 / 0.6847 GB, free: 38.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003841/0.4111, allocations: 162 kB / 0.6849 GB, free: 38.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4111, allocations: 41.58 kB / 0.6849 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4112, allocations: 2.625 kB / 0.6849 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4112, allocations: 0 / 0.6849 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4113, allocations: 17.14 kB / 0.685 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4114, allocations: 2.625 kB / 0.685 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.4115, allocations: 2.625 kB / 0.685 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4115, allocations: 12.16 kB / 0.685 GB, free: 38.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001334/0.4116, allocations: 131.8 kB / 0.6851 GB, free: 38.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.4117, allocations: 10.06 kB / 0.6851 GB, free: 38.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.4118, allocations: 19.48 kB / 0.6851 GB, free: 38.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4118, allocations: 0 / 0.6851 GB, free: 38.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4118, allocations: 0 / 0.6851 GB, free: 38.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.4119, allocations: 101.6 kB / 0.6852 GB, free: 38.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.4119, allocations: 6.562 kB / 0.6852 GB, free: 38.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.412, allocations: 6.625 kB / 0.6852 GB, free: 38.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.412, allocations: 7.609 kB / 0.6852 GB, free: 38.24 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003172/0.4124, allocations: 174.7 kB / 0.6854 GB, free: 38.11 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000304/0.4127, allocations: 285 kB / 0.6857 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.89e-05/0.4128, allocations: 25.47 kB / 0.6857 GB, free: 37.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.4129, allocations: 137.3 kB / 0.6858 GB, free: 37.78 MB / 346.7 MB Notification: Performance of Backend: time 7.81e-07/0.413, allocations: 0.5625 kB / 0.6858 GB, free: 37.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.4148, allocations: 0.5256 MB / 0.6863 GB, free: 37.6 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007358/0.4156, allocations: 0.6695 MB / 0.687 GB, free: 36.96 MB / 346.7 MB Notification: Performance of Templates: time 0.006215/0.4219, allocations: 1.636 MB / 0.6886 GB, free: 36.84 MB / 346.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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.verboseRead,t_new.y[1],time