Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test7.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.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0026/0.002605, allocations: 368.3 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 3.984/3.984, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003453/0.003453, allocations: 227.3 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.4865/0.4865, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004535, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09822, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001946/0.1002, allocations: 1.221 MB / 0.6813 GB, free: 40.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005862/0.1008, allocations: 243.9 kB / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.1009, allocations: 0 / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1011, allocations: 27.91 kB / 0.6816 GB, free: 40.15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1013, allocations: 19.92 kB / 0.6816 GB, free: 40.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.1014, allocations: 31.91 kB / 0.6816 GB, free: 40.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1015, allocations: 43.84 kB / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1016, allocations: 19.89 kB / 0.6817 GB, free: 40.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1017, allocations: 7.938 kB / 0.6817 GB, free: 40.03 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.1018, allocations: 23.91 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1018, allocations: 4 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.1019, allocations: 20 kB / 0.6817 GB, free: 39.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.1019, allocations: 15.92 kB / 0.6817 GB, free: 39.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.102, allocations: 25.7 kB / 0.6818 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1021, allocations: 52.2 kB / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1021, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1021, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1021, allocations: 0 / 0.6818 GB, free: 39.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004139/0.1026, allocations: 384.8 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1026, allocations: 12.03 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1027, allocations: 15.8 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1028, allocations: 186.9 kB / 0.6824 GB, free: 39.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1028, allocations: 0 / 0.6824 GB, free: 39.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1029, allocations: 4 kB / 0.6824 GB, free: 39.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.103, allocations: 49.67 kB / 0.6824 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1031, allocations: 0 / 0.6824 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1031, allocations: 4 kB / 0.6824 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1031, allocations: 0 / 0.6824 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1032, allocations: 35.94 kB / 0.6825 GB, free: 39.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1036, allocations: 276.9 kB / 0.6827 GB, free: 38.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1039, allocations: 50.55 kB / 0.6828 GB, free: 38.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.104, allocations: 16.86 kB / 0.6828 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.104, allocations: 0 / 0.6828 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.104, allocations: 38.64 kB / 0.6828 GB, free: 38.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.104, allocations: 0 / 0.6828 GB, free: 38.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007585/0.1048, allocations: 181.2 kB / 0.683 GB, free: 38.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.1048, allocations: 51.41 kB / 0.6831 GB, free: 38.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.105, allocations: 149.6 kB / 0.6832 GB, free: 38.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.105, allocations: 29.64 kB / 0.6832 GB, free: 38.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.105, allocations: 100.1 kB / 0.6833 GB, free: 38.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1051, allocations: 15.75 kB / 0.6833 GB, free: 38.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.1051, allocations: 0 / 0.6833 GB, free: 38.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.1051, allocations: 318.8 kB / 0.6836 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1053, allocations: 27.98 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1054, allocations: 31.97 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1056, allocations: 57.69 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1056, allocations: 0 / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003049/0.1059, allocations: 119.3 kB / 0.6839 GB, free: 37.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1059, allocations: 37.69 kB / 0.6839 GB, free: 37.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1059, allocations: 4 kB / 0.6839 GB, free: 37.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.106, allocations: 3.953 kB / 0.6839 GB, free: 37.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1061, allocations: 12 kB / 0.6839 GB, free: 37.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1061, allocations: 3.938 kB / 0.6839 GB, free: 37.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.1062, allocations: 7.984 kB / 0.6839 GB, free: 37.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1062, allocations: 4 kB / 0.6839 GB, free: 37.46 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 7.563e-05/0.1063, allocations: 118.6 kB / 0.684 GB, free: 37.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1063, allocations: 11.91 kB / 0.6841 GB, free: 37.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.1067, allocations: 109.6 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1067, allocations: 3.953 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1067, allocations: 0 / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1067, allocations: 85.02 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1068, allocations: 0 / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.1069, allocations: 16.2 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1069, allocations: 4 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003333/0.1073, allocations: 184.8 kB / 0.6844 GB, free: 36.9 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003205/0.1076, allocations: 267 kB / 0.6847 GB, free: 36.62 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001292/0.1078, allocations: 36.05 kB / 0.6847 GB, free: 36.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.1078, allocations: 115.2 kB / 0.6848 GB, free: 36.47 MB / 346.7 MB Notification: Performance of Backend: time 6.51e-07/0.1079, allocations: 0 / 0.6848 GB, free: 36.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.109, allocations: 355.9 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of SimCode: time 0.0004702/0.1095, allocations: 0.6227 MB / 0.6858 GB, free: 35.54 MB / 346.7 MB Notification: Performance of Templates: time 0.00392/0.1135, allocations: 0.956 MB / 0.6867 GB, free: 34.58 MB / 346.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.n,t_new.smoothness,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.u[1],t_new.verboseRead,t_new.y[1],time