Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002813/0.002817, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.098/4.098, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003484/0.003484, allocations: 223.6 kB / 451 MB, free: 145 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.5406/0.5406, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001983/0.1067, allocations: 1.363 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1082, allocations: 0.7112 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.1083, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1086, allocations: 35.83 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1088, allocations: 35.89 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.109, allocations: 51.89 kB / 0.6823 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1092, allocations: 87.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.1093, allocations: 11.98 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.1094, allocations: 35.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.1095, allocations: 31.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1095, allocations: 0 / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1096, allocations: 35.98 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.1097, allocations: 19.92 kB / 0.6825 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.1098, allocations: 41.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1099, allocations: 88.03 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.11, allocations: 4 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.11, allocations: 4 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.11, allocations: 0 / 0.6826 GB, free: 39.08 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.0005394/0.1105, allocations: 450.2 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1106, allocations: 15.97 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1107, allocations: 11.91 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1109, allocations: 198.8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1109, allocations: 7.938 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.111, allocations: 4 kB / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1112, allocations: 57.67 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1112, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1112, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1112, allocations: 3.953 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1113, allocations: 27.92 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1117, allocations: 288.8 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1119, allocations: 66.61 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.112, allocations: 20.86 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1121, allocations: 3.984 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1123, allocations: 71.33 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.1123, allocations: 0 / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007106/0.113, allocations: 185.1 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.1131, allocations: 59.41 kB / 0.684 GB, free: 37.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1133, allocations: 194.1 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1133, allocations: 29.7 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.1134, allocations: 104 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1134, allocations: 27.64 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1134, allocations: 0 / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.1135, allocations: 322.8 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1136, allocations: 35.92 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1138, allocations: 45.7 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1139, allocations: 65.69 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1139, allocations: 0 / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003389/0.1143, allocations: 165.1 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.1143, allocations: 37.66 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1143, allocations: 0 / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1144, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1145, allocations: 24.02 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1145, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.1146, allocations: 4 kB / 0.685 GB, free: 36.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1147, allocations: 4 kB / 0.685 GB, free: 36.35 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.0001113/0.1148, allocations: 130.6 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1148, allocations: 11.84 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.1149, allocations: 25.72 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1149, allocations: 0 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1149, allocations: 96 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.115, allocations: 100.9 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.115, allocations: 7.938 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.1151, allocations: 4 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1152, allocations: 7.984 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000284/0.1154, allocations: 172.9 kB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002904/0.1158, allocations: 286.5 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.404e-05/0.1159, allocations: 31.98 kB / 0.6858 GB, free: 35.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.116, allocations: 137.8 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of Backend: time 1.242e-06/0.116, allocations: 0 / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.1177, allocations: 0.5321 MB / 0.6864 GB, free: 35.01 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006472/0.1184, allocations: 0.6782 MB / 0.6871 GB, free: 34.29 MB / 346.7 MB Notification: Performance of Templates: time 0.005835/0.1243, allocations: 1.628 MB / 0.6887 GB, free: 32.67 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.timeScale,t_new.verboseRead,t_new.y[1],time