Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002801/0.002806, allocations: 350.9 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.935/3.935, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00352/0.00352, allocations: 213.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5581/0.5581, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006347, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1007, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00192/0.1027, allocations: 1.303 MB / 0.608 GB, free: 3.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.1037, allocations: 423.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.1038, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.104, allocations: 27.91 kB / 0.6085 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1042, allocations: 27.91 kB / 0.6085 GB, free: 2.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1044, allocations: 55.81 kB / 0.6085 GB, free: 2.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1046, allocations: 63.83 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.1047, allocations: 11.98 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.1047, allocations: 27.86 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.1048, allocations: 19.92 kB / 0.6087 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1049, allocations: 4 kB / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.105, allocations: 43.91 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.105, allocations: 11.92 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1051, allocations: 41.58 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1053, allocations: 80.12 kB / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1053, allocations: 0 / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1053, allocations: 0 / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1053, allocations: 4 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005027/0.1058, allocations: 408.6 kB / 0.6092 GB, free: 2.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1059, allocations: 8.031 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1059, allocations: 11.86 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1061, allocations: 194.9 kB / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1062, allocations: 7.938 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1062, allocations: 4 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1063, allocations: 49.61 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1064, allocations: 4 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1064, allocations: 3.953 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1064, allocations: 0 / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/0.1065, allocations: 12 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1068, allocations: 272.9 kB / 0.6098 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.107, allocations: 42.5 kB / 0.6098 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1071, allocations: 12.86 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1071, allocations: 7.984 kB / 0.6098 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1073, allocations: 63.44 kB / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.1073, allocations: 4 kB / 0.6099 GB, free: 1.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004651/0.1078, allocations: 113.3 kB / 0.61 GB, free: 1.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1078, allocations: 55.41 kB / 0.61 GB, free: 1.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.108, allocations: 163.9 kB / 0.6102 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.108, allocations: 33.7 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.1081, allocations: 108 kB / 0.6103 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1081, allocations: 3.906 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.1082, allocations: 4 kB / 0.6103 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.1082, allocations: 322.8 kB / 0.6107 GB, free: 420 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.1083, allocations: 19.98 kB / 0.6107 GB, free: 400 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.1084, allocations: 19.94 kB / 0.6107 GB, free: 380 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.1085, allocations: 53.67 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1085, allocations: 96 / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002127/0.1087, allocations: 119.2 kB / 0.6109 GB, free: 188 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.1087, allocations: 41.66 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1088, allocations: 4 kB / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1088, allocations: 0 / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.1089, allocations: 15.92 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1089, allocations: 0 / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.109, allocations: 0 / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.109, allocations: 4 kB / 0.6109 GB, free: 116 kB / 362.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.2923/0.4013, allocations: 119.9 kB / 0.611 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.4014, allocations: 14.2 kB / 0.611 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.4015, allocations: 17.73 kB / 0.6111 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4015, allocations: 1.031 kB / 0.6111 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4015, allocations: 0 / 0.6111 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4016, allocations: 85.16 kB / 0.6111 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.4016, allocations: 7.562 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.4017, allocations: 0 / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4018, allocations: 10.19 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002172/0.402, allocations: 141.9 kB / 0.6113 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000193/0.4022, allocations: 248.6 kB / 0.6115 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.197e-05/0.4023, allocations: 13.11 kB / 0.6115 GB, free: 89.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.4024, allocations: 133.5 kB / 0.6117 GB, free: 89.82 MB / 362.7 MB Notification: Performance of Backend: time 6.21e-07/0.4024, allocations: 0 / 0.6117 GB, free: 89.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4039, allocations: 431.4 kB / 0.6121 GB, free: 89.69 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006468/0.4046, allocations: 0.6384 MB / 0.6127 GB, free: 89.08 MB / 362.7 MB Notification: Performance of Templates: time 0.005899/0.4105, allocations: 1.417 MB / 0.6141 GB, free: 89.07 MB / 362.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_min,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.verboseRead,t_new.y[1],time