Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002728/0.002733, 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.931/3.931, allocations: 388.9 MB / 405.6 MB, free: 48.56 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.005274/0.005274, allocations: 228.8 kB / 451 MB, free: 3.031 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.8148/0.8148, allocations: 80.01 MB / 0.5627 GB, free: 6.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004688, allocations: 15.94 kB / 0.6265 GB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 54.88 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002628/0.1276, allocations: 1.35 MB / 0.6814 GB, free: 12.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1294, allocations: 0.715 MB / 0.6821 GB, free: 11.72 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1295, allocations: 4 kB / 0.6821 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1299, allocations: 27.89 kB / 0.6822 GB, free: 11.69 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1301, allocations: 39.84 kB / 0.6822 GB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1304, allocations: 51.89 kB / 0.6823 GB, free: 11.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1306, allocations: 83.73 kB / 0.6823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1307, allocations: 12 kB / 0.6823 GB, free: 11.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1308, allocations: 35.8 kB / 0.6824 GB, free: 11.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.1309, allocations: 27.84 kB / 0.6824 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.131, allocations: 8 kB / 0.6824 GB, free: 11.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1312, allocations: 31.98 kB / 0.6824 GB, free: 11.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.1312, allocations: 19.92 kB / 0.6825 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1313, allocations: 37.69 kB / 0.6825 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1315, allocations: 91.97 kB / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1315, allocations: 0 / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1316, allocations: 3.938 kB / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1316, allocations: 0 / 0.6826 GB, free: 11.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006694/0.1323, allocations: 442.3 kB / 0.683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1323, allocations: 8.031 kB / 0.683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.1324, allocations: 15.91 kB / 0.683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1327, allocations: 198.9 kB / 0.6832 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1327, allocations: 7.953 kB / 0.6832 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1328, allocations: 0 / 0.6832 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.133, allocations: 57.67 kB / 0.6833 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.133, allocations: 3.984 kB / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1331, allocations: 0 / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1331, allocations: 0 / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1332, allocations: 23.92 kB / 0.6833 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.1337, allocations: 300.8 kB / 0.6836 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.134, allocations: 54.69 kB / 0.6837 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.1341, allocations: 24.78 kB / 0.6837 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1341, allocations: 3.938 kB / 0.6837 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.1344, allocations: 79.38 kB / 0.6838 GB, free: 9.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.1345, allocations: 0 / 0.6838 GB, free: 9.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008177/0.1353, allocations: 181.1 kB / 0.6839 GB, free: 9.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1353, allocations: 51.41 kB / 0.684 GB, free: 9.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1356, allocations: 174.2 kB / 0.6841 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1357, allocations: 33.7 kB / 0.6842 GB, free: 9.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.1358, allocations: 96.12 kB / 0.6843 GB, free: 9.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.1358, allocations: 27.66 kB / 0.6843 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.1358, allocations: 4 kB / 0.6843 GB, free: 9.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.136, allocations: 326.8 kB / 0.6846 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1361, allocations: 27.98 kB / 0.6846 GB, free: 8.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1363, allocations: 49.7 kB / 0.6847 GB, free: 8.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1365, allocations: 65.69 kB / 0.6848 GB, free: 8.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1365, allocations: 0 / 0.6848 GB, free: 8.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004478/0.1369, allocations: 167.1 kB / 0.6849 GB, free: 8.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.137, allocations: 37.59 kB / 0.6849 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.137, allocations: 0 / 0.6849 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1371, allocations: 4 kB / 0.6849 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1372, allocations: 15.94 kB / 0.685 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1372, allocations: 0 / 0.685 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.1374, allocations: 7.984 kB / 0.685 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1374, allocations: 8 kB / 0.685 GB, free: 8.543 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 (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.0001743/0.1376, allocations: 130 kB / 0.6851 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1376, allocations: 7.906 kB / 0.6851 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.1377, allocations: 20.73 kB / 0.6851 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1377, allocations: 0 / 0.6851 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1377, allocations: 0 / 0.6851 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1378, allocations: 97 kB / 0.6852 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1379, allocations: 0 / 0.6852 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1379, allocations: 8 kB / 0.6852 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.138, allocations: 7.938 kB / 0.6852 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004274/0.1384, allocations: 188.8 kB / 0.6854 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004011/0.1389, allocations: 274.6 kB / 0.6857 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000108/0.139, allocations: 23.98 kB / 0.6857 GB, free: 7.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.1392, allocations: 140.1 kB / 0.6858 GB, free: 7.605 MB / 394.7 MB Notification: Performance of Backend: time 1.022e-06/0.1392, allocations: 0 / 0.6858 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.1412, allocations: 0.5382 MB / 0.6864 GB, free: 7.047 MB / 394.7 MB Notification: Performance of SimCode: time 0.0008651/0.1421, allocations: 0.6663 MB / 0.687 GB, free: 6.328 MB / 394.7 MB Notification: Performance of Templates: time 0.006769/0.1489, allocations: 1.638 MB / 0.6886 GB, free: 4.688 MB / 394.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.timeScale,t_new.verboseRead,t_new.y[1],time