Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003699/0.003707, allocations: 364.5 kB / 15.96 MB, free: 6.203 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 4.048/4.048, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003784/0.003784, allocations: 227.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5696/0.5696, allocations: 80.01 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004892, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.0958, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001939/0.0978, allocations: 1.347 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.0992, allocations: 0.715 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.09931, allocations: 7.938 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.09959, allocations: 23.92 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.09978, allocations: 27.91 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1, allocations: 63.86 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1002, allocations: 83.7 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.1003, allocations: 4 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.1004, allocations: 35.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.1004, allocations: 31.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1005, allocations: 0 / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1006, allocations: 35.98 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.1006, allocations: 23.92 kB / 0.6825 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.1007, allocations: 37.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1009, allocations: 92.03 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1009, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1009, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1009, allocations: 0 / 0.6826 GB, free: 39.09 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.0004928/0.1014, allocations: 446.3 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1015, allocations: 8.828 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1015, allocations: 7.906 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1018, allocations: 199.4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.1018, allocations: 7.984 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1018, allocations: 4 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.102, allocations: 57.61 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1021, allocations: 0 / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1021, allocations: 4 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1021, allocations: 3.953 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.1022, allocations: 23.92 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1026, allocations: 296.8 kB / 0.6836 GB, free: 37.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1028, allocations: 58.62 kB / 0.6836 GB, free: 37.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1029, allocations: 20.84 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1029, allocations: 4 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1031, allocations: 71.34 kB / 0.6837 GB, free: 37.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1032, allocations: 3.938 kB / 0.6837 GB, free: 37.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006904/0.1039, allocations: 181.2 kB / 0.6839 GB, free: 37.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1039, allocations: 51.41 kB / 0.684 GB, free: 37.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1041, allocations: 177.9 kB / 0.6841 GB, free: 37.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1041, allocations: 25.7 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1042, allocations: 96.12 kB / 0.6842 GB, free: 37.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1042, allocations: 23.66 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.1042, allocations: 8 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.1043, allocations: 322.8 kB / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1044, allocations: 27.98 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1045, allocations: 57.48 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1047, allocations: 64.14 kB / 0.6847 GB, free: 36.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1047, allocations: 0 / 0.6847 GB, free: 36.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003248/0.105, allocations: 159.3 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.1051, allocations: 37.64 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1051, allocations: 3.938 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1051, allocations: 4 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1053, allocations: 15.98 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1053, allocations: 0 / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.1054, allocations: 8 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1054, allocations: 4 kB / 0.6849 GB, free: 36.41 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 9.655e-05/0.1055, allocations: 121.8 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1055, allocations: 15.89 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.1056, allocations: 16.67 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1056, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1056, allocations: 0 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.1057, allocations: 96.91 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1057, allocations: 3.938 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1058, allocations: 11.98 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1059, allocations: 7.938 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002738/0.1062, allocations: 176.9 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000285/0.1065, allocations: 278.6 kB / 0.6856 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.283e-05/0.1066, allocations: 27.98 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1067, allocations: 128 kB / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of Backend: time 8.81e-07/0.1067, allocations: 0 / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.1084, allocations: 0.5315 MB / 0.6863 GB, free: 35.11 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005922/0.109, allocations: 0.6549 MB / 0.687 GB, free: 34.41 MB / 346.7 MB Notification: Performance of Templates: time 0.005814/0.1148, allocations: 1.642 MB / 0.6886 GB, free: 32.78 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.timeScale,t_new.verboseRead,t_new.y[1],time