Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003732/0.003737, allocations: 366.9 kB / 15.96 MB, free: 6.199 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.139/4.139, 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.004472/0.004472, allocations: 232.4 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.5551/0.5551, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09665, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002137/0.09885, allocations: 1.351 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1003, allocations: 0.7112 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.1004, allocations: 0 / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1008, allocations: 83.77 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.101, allocations: 51.86 kB / 0.6823 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1013, allocations: 47.89 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1015, allocations: 99.67 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1016, allocations: 4 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.1017, allocations: 39.84 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1018, allocations: 55.8 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1019, allocations: 4 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.102, allocations: 32 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1021, allocations: 23.91 kB / 0.6825 GB, free: 39.13 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.1021, allocations: 41.64 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1023, allocations: 92.03 kB / 0.6827 GB, free: 39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1023, allocations: 0 / 0.6827 GB, free: 39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1023, allocations: 3.938 kB / 0.6827 GB, free: 38.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1023, allocations: 0 / 0.6827 GB, free: 38.99 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.0005365/0.1029, allocations: 465.6 kB / 0.6831 GB, free: 38.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1029, allocations: 8.828 kB / 0.6831 GB, free: 38.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.103, allocations: 11.89 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1032, allocations: 206.3 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1033, allocations: 4 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1033, allocations: 4 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1035, allocations: 61.67 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1036, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1036, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1036, allocations: 7.953 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1037, allocations: 23.92 kB / 0.6834 GB, free: 38.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1041, allocations: 296.8 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1043, allocations: 62.61 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1044, allocations: 20.84 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1045, allocations: 8 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1047, allocations: 67.34 kB / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.1047, allocations: 0 / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007223/0.1054, allocations: 181.2 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.1055, allocations: 55.41 kB / 0.6841 GB, free: 37.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1057, allocations: 203.5 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1057, allocations: 29.7 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.1058, allocations: 111.9 kB / 0.6844 GB, free: 36.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1058, allocations: 23.7 kB / 0.6844 GB, free: 36.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1059, allocations: 0 / 0.6844 GB, free: 36.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.1059, allocations: 330.8 kB / 0.6848 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.106, allocations: 27.98 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1062, allocations: 45.7 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1063, allocations: 62.58 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1063, allocations: 0 / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003346/0.1067, allocations: 165.6 kB / 0.6851 GB, free: 36.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.1067, allocations: 37.66 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1067, allocations: 0 / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1068, allocations: 4 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1069, allocations: 15.98 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1069, allocations: 0 / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.107, allocations: 8 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1071, allocations: 8.031 kB / 0.6851 GB, free: 36.24 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.0001207/0.1072, allocations: 131.9 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1072, allocations: 15.81 kB / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.1073, allocations: 29.36 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1073, allocations: 0 / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1073, allocations: 0 / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.1074, allocations: 93 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1074, allocations: 11.94 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.1075, allocations: 0 / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.1076, allocations: 12.36 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002878/0.1079, allocations: 176.9 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002854/0.1082, allocations: 282.5 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.086e-05/0.1083, allocations: 23.98 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1084, allocations: 158.2 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of Backend: time 8.61e-07/0.1084, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.1102, allocations: 0.5335 MB / 0.6865 GB, free: 34.89 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006448/0.1109, allocations: 0.6898 MB / 0.6872 GB, free: 34.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005803/0.1167, allocations: 1.628 MB / 0.6888 GB, free: 32.54 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time