Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002632/0.002632, allocations: 369.4 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.023/4.023, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.004371/0.00437, allocations: 227.5 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.5232/0.5232, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.0006272, allocations: 19.77 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09977, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001793/0.1016, allocations: 1.225 MB / 0.6813 GB, free: 40.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.1022, allocations: 239.9 kB / 0.6815 GB, free: 40.19 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.1023, allocations: 0 / 0.6815 GB, free: 40.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1025, allocations: 23.91 kB / 0.6815 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1026, allocations: 19.94 kB / 0.6816 GB, free: 40.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1028, allocations: 31.89 kB / 0.6816 GB, free: 40.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1029, allocations: 43.86 kB / 0.6816 GB, free: 40.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.103, allocations: 15.89 kB / 0.6817 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.1031, allocations: 11.94 kB / 0.6817 GB, free: 40.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.1031, allocations: 15.92 kB / 0.6817 GB, free: 40.03 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1032, allocations: 3.984 kB / 0.6817 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.1032, allocations: 23.98 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.1033, allocations: 19.88 kB / 0.6817 GB, free: 39.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1033, allocations: 25.7 kB / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1035, allocations: 48.2 kB / 0.6818 GB, free: 39.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1035, allocations: 0 / 0.6818 GB, free: 39.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1035, allocations: 0 / 0.6818 GB, free: 39.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1035, allocations: 0 / 0.6818 GB, free: 39.9 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.0003953/0.1039, allocations: 384.3 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.104, allocations: 12.77 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.104, allocations: 11.86 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1042, allocations: 178.9 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1042, allocations: 4 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1042, allocations: 4 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1044, allocations: 45.69 kB / 0.6824 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1044, allocations: 0 / 0.6824 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1044, allocations: 0 / 0.6824 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1044, allocations: 3.984 kB / 0.6824 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1046, allocations: 35.94 kB / 0.6824 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.1049, allocations: 268.8 kB / 0.6827 GB, free: 38.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1051, allocations: 42.56 kB / 0.6827 GB, free: 38.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.1052, allocations: 24.94 kB / 0.6828 GB, free: 38.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1053, allocations: 0 / 0.6828 GB, free: 38.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1053, allocations: 30.56 kB / 0.6828 GB, free: 38.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.1053, allocations: 0 / 0.6828 GB, free: 38.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007195/0.106, allocations: 165.3 kB / 0.683 GB, free: 38.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.1061, allocations: 51.41 kB / 0.683 GB, free: 38.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1062, allocations: 136.6 kB / 0.6831 GB, free: 38.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1062, allocations: 25.7 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.1063, allocations: 96.12 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1063, allocations: 15.7 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.1063, allocations: 11.94 kB / 0.6833 GB, free: 38.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.1064, allocations: 318.8 kB / 0.6836 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1065, allocations: 23.98 kB / 0.6836 GB, free: 37.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1066, allocations: 23.98 kB / 0.6836 GB, free: 37.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1067, allocations: 57.69 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1068, allocations: 0 / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002927/0.1071, allocations: 111.6 kB / 0.6838 GB, free: 37.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.1071, allocations: 33.7 kB / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1071, allocations: 0 / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1072, allocations: 3.953 kB / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1073, allocations: 23.98 kB / 0.6838 GB, free: 37.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1073, allocations: 7.922 kB / 0.6839 GB, free: 37.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.1074, allocations: 4 kB / 0.6839 GB, free: 37.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.1074, allocations: 11.94 kB / 0.6839 GB, free: 37.54 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.179e-05/0.1075, allocations: 117.8 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1076, allocations: 11.91 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.1079, allocations: 97.62 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1079, allocations: 3.953 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1079, allocations: 0 / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1079, allocations: 81.02 kB / 0.6842 GB, free: 37.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.108, allocations: 288 / 0.6842 GB, free: 37.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.1081, allocations: 15.98 kB / 0.6842 GB, free: 37.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.1081, allocations: 4 kB / 0.6842 GB, free: 37.18 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003082/0.1085, allocations: 172.9 kB / 0.6844 GB, free: 37.01 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003026/0.1088, allocations: 266.7 kB / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001194/0.1089, allocations: 23.98 kB / 0.6846 GB, free: 36.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.109, allocations: 107.2 kB / 0.6847 GB, free: 36.6 MB / 346.7 MB Notification: Performance of Backend: time 7.71e-07/0.109, allocations: 4 kB / 0.6847 GB, free: 36.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1102, allocations: 360 kB / 0.6851 GB, free: 36.32 MB / 346.7 MB Notification: Performance of SimCode: time 0.000474/0.1107, allocations: 0.6109 MB / 0.6857 GB, free: 35.66 MB / 346.7 MB Notification: Performance of Templates: time 0.004041/0.1147, allocations: 0.92 MB / 0.6866 GB, free: 34.75 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.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.verboseRead,t_new.y[1],time