Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002742/0.002747, allocations: 367 kB / 15.96 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 4.078/4.078, allocations: 388.9 MB / 405.6 MB, free: 10.22 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.003595/0.003595, allocations: 217.7 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.4932/0.4932, allocations: 80.03 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006187, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1306, allocations: 54.86 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002898/0.1336, allocations: 1.32 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1358, allocations: 0.7034 MB / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1359, allocations: 0 / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.1363, allocations: 55.86 kB / 0.6821 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1367, allocations: 43.81 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.137, allocations: 51.89 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1372, allocations: 83.69 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.1373, allocations: 11.86 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1375, allocations: 39.84 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1376, allocations: 39.83 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1377, allocations: 0 / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1378, allocations: 31.98 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1379, allocations: 15.92 kB / 0.6824 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.138, allocations: 37.7 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1382, allocations: 72.05 kB / 0.6825 GB, free: 39.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1382, allocations: 0 / 0.6825 GB, free: 39.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1382, allocations: 0 / 0.6825 GB, free: 39.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1383, allocations: 4 kB / 0.6825 GB, free: 39.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006314/0.1389, allocations: 457.7 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.139, allocations: 12.77 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.1391, allocations: 11.81 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1394, allocations: 198.6 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.1394, allocations: 4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1395, allocations: 0 / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1397, allocations: 49.69 kB / 0.6832 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1398, allocations: 3.984 kB / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1398, allocations: 4 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1398, allocations: 3.953 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.14, allocations: 12 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.1402, allocations: 193.5 kB / 0.6835 GB, free: 38.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1405, allocations: 58.59 kB / 0.6835 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1407, allocations: 16.86 kB / 0.6835 GB, free: 37.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1407, allocations: 8 kB / 0.6835 GB, free: 37.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.141, allocations: 63.39 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.457e-06/0.1411, allocations: 0 / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005181/0.1416, allocations: 101.5 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1417, allocations: 59.3 kB / 0.6837 GB, free: 37.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1419, allocations: 174.2 kB / 0.6839 GB, free: 37.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.142, allocations: 37.7 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1421, allocations: 100 kB / 0.684 GB, free: 37.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1421, allocations: 11.84 kB / 0.6841 GB, free: 37.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1422, allocations: 4 kB / 0.6841 GB, free: 37.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.1423, allocations: 318.8 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1424, allocations: 23.98 kB / 0.6844 GB, free: 36.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1426, allocations: 37.7 kB / 0.6844 GB, free: 36.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1428, allocations: 61.69 kB / 0.6845 GB, free: 36.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1428, allocations: 3.938 kB / 0.6845 GB, free: 36.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004505/0.1433, allocations: 139.2 kB / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.1434, allocations: 29.7 kB / 0.6846 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1434, allocations: 4 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1434, allocations: 3.938 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1436, allocations: 11.98 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.1437, allocations: 0 / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1438, allocations: 15.86 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.1439, allocations: 8.344 kB / 0.6847 GB, free: 36.65 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 (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.0001503/0.144, allocations: 125.8 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1441, allocations: 7.906 kB / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.1441, allocations: 12.31 kB / 0.6848 GB, free: 36.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1442, allocations: 0 / 0.6848 GB, free: 36.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1442, allocations: 4 kB / 0.6848 GB, free: 36.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.1443, allocations: 92.91 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.1444, allocations: 3.953 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.1445, allocations: 7.984 kB / 0.6849 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1445, allocations: 8 kB / 0.6849 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003494/0.1449, allocations: 160.9 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003637/0.1453, allocations: 250.7 kB / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001089/0.1454, allocations: 19.98 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1456, allocations: 146 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of Backend: time 2.154e-06/0.1456, allocations: 0 / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.1499, allocations: 482.8 kB / 0.686 GB, free: 35.44 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006414/0.1506, allocations: 0.6429 MB / 0.6866 GB, free: 34.75 MB / 346.7 MB Notification: Performance of Templates: time 0.005056/0.1556, allocations: 1.387 MB / 0.6879 GB, free: 33.38 MB / 346.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5006]=3.500000 File[7147]=5.000100 " 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