Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0028/0.002804, allocations: 367.1 kB / 15.97 MB, free: 6.18 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.872/3.872, allocations: 388.9 MB / 405.6 MB, free: 48.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003524/0.003524, allocations: 236.7 kB / 451 MB, free: 3.004 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8028/0.8028, allocations: 80.01 MB / 0.5627 GB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 19.94 kB / 0.6265 GB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.89 MB / 0.6801 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002458/0.123, allocations: 1.307 MB / 0.6814 GB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1247, allocations: 0.7073 MB / 0.6821 GB, free: 11.76 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.1249, allocations: 4 kB / 0.6821 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1252, allocations: 47.86 kB / 0.6821 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1255, allocations: 47.83 kB / 0.6822 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1257, allocations: 47.89 kB / 0.6822 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1259, allocations: 87.73 kB / 0.6823 GB, free: 11.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.126, allocations: 7.984 kB / 0.6823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1261, allocations: 39.78 kB / 0.6824 GB, free: 11.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1262, allocations: 43.89 kB / 0.6824 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1263, allocations: 0 / 0.6824 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1264, allocations: 23.94 kB / 0.6824 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1264, allocations: 11.98 kB / 0.6824 GB, free: 11.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.1265, allocations: 41.62 kB / 0.6825 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1268, allocations: 80.11 kB / 0.6826 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1268, allocations: 3.938 kB / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1268, allocations: 3.938 kB / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1268, allocations: 0 / 0.6826 GB, free: 11.27 MB / 394.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.0006512/0.1275, allocations: 442.3 kB / 0.683 GB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1275, allocations: 8.031 kB / 0.683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.1276, allocations: 7.906 kB / 0.683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1279, allocations: 202.8 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1279, allocations: 3.953 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1279, allocations: 4 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1281, allocations: 49.67 kB / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1282, allocations: 0 / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1282, allocations: 4 kB / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1282, allocations: 0 / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1283, allocations: 19.98 kB / 0.6833 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.1286, allocations: 181.7 kB / 0.6834 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1288, allocations: 54.55 kB / 0.6835 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1289, allocations: 20.81 kB / 0.6835 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.129, allocations: 0 / 0.6835 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.1292, allocations: 75.28 kB / 0.6836 GB, free: 10.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.1292, allocations: 4 kB / 0.6836 GB, free: 10.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003911/0.1296, allocations: 93.52 kB / 0.6837 GB, free: 9.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1297, allocations: 55.41 kB / 0.6837 GB, free: 9.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1299, allocations: 178.2 kB / 0.6839 GB, free: 9.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.13, allocations: 29.64 kB / 0.6839 GB, free: 9.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.1301, allocations: 100.1 kB / 0.684 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1301, allocations: 23.73 kB / 0.6841 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.1301, allocations: 4 kB / 0.6841 GB, free: 9.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1303, allocations: 318.8 kB / 0.6844 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1304, allocations: 23.98 kB / 0.6844 GB, free: 9.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1305, allocations: 37.7 kB / 0.6844 GB, free: 9.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1307, allocations: 57.69 kB / 0.6845 GB, free: 9.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1307, allocations: 0 / 0.6845 GB, free: 9.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00035/0.1311, allocations: 143.1 kB / 0.6846 GB, free: 8.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.1311, allocations: 41.61 kB / 0.6847 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1312, allocations: 320 / 0.6847 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1312, allocations: 0 / 0.6847 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1313, allocations: 19.92 kB / 0.6847 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1313, allocations: 4 kB / 0.6847 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.1314, allocations: 7.906 kB / 0.6847 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1315, allocations: 4 kB / 0.6847 GB, free: 8.84 MB / 394.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 (8): * Single equations (assignments): 7 * 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.000145/0.1316, allocations: 129.9 kB / 0.6848 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1317, allocations: 11.86 kB / 0.6848 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.1317, allocations: 8.312 kB / 0.6848 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1317, allocations: 4 kB / 0.6848 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1318, allocations: 0 / 0.6848 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.1319, allocations: 93 kB / 0.6849 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1319, allocations: 0 / 0.6849 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.132, allocations: 7.984 kB / 0.6849 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.132, allocations: 3.984 kB / 0.6849 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004447/0.1325, allocations: 160.9 kB / 0.6851 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003431/0.1328, allocations: 254.7 kB / 0.6853 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/0.133, allocations: 23.98 kB / 0.6854 GB, free: 8.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1331, allocations: 132.1 kB / 0.6855 GB, free: 7.969 MB / 394.7 MB Notification: Performance of Backend: time 8.62e-07/0.1331, allocations: 0 / 0.6855 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.1349, allocations: 499.1 kB / 0.686 GB, free: 7.461 MB / 394.7 MB Notification: Performance of SimCode: time 0.0008561/0.1358, allocations: 0.6544 MB / 0.6866 GB, free: 6.758 MB / 394.7 MB Notification: Performance of Templates: time 0.00592/0.1417, allocations: 1.388 MB / 0.688 GB, free: 5.367 MB / 394.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.timeScale,t_new.verboseRead,t_new.y[1],time