Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004116/0.004121, allocations: 367.2 kB / 15.96 MB, free: 6.203 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.044/4.044, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003609/0.003609, allocations: 227 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.5372/0.5372, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006934/0.0006936, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1338, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002024/0.1359, allocations: 1.32 MB / 0.6814 GB, free: 40.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1374, allocations: 0.7073 MB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1375, allocations: 3.938 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1379, allocations: 75.81 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1381, allocations: 47.88 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1383, allocations: 47.89 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1385, allocations: 95.67 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.297e-05/0.1386, allocations: 11.86 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.1387, allocations: 35.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1388, allocations: 51.81 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1388, allocations: 0 / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1389, allocations: 28 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.139, allocations: 19.91 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.139, allocations: 33.7 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1392, allocations: 91.97 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1392, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1392, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1393, allocations: 0 / 0.6826 GB, free: 39.05 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.0005619/0.1398, allocations: 458.1 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1399, allocations: 8.828 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1399, allocations: 7.906 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1402, allocations: 198.4 kB / 0.6832 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1403, allocations: 3.984 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1403, allocations: 4 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1405, allocations: 49.69 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1405, allocations: 0 / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1405, allocations: 7.984 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1405, allocations: 3.953 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.1406, allocations: 15.94 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1408, allocations: 189.6 kB / 0.6835 GB, free: 37.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1411, allocations: 54.61 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.1412, allocations: 24.84 kB / 0.6836 GB, free: 37.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1412, allocations: 7.984 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1414, allocations: 67.33 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.935e-06/0.1414, allocations: 0 / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003636/0.1418, allocations: 101.5 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.1418, allocations: 55.36 kB / 0.6838 GB, free: 37.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1421, allocations: 204.3 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1421, allocations: 33.7 kB / 0.684 GB, free: 37.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1422, allocations: 104 kB / 0.6841 GB, free: 37.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1422, allocations: 11.91 kB / 0.6841 GB, free: 37.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1422, allocations: 0 / 0.6841 GB, free: 37.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.1423, allocations: 322.8 kB / 0.6845 GB, free: 36.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.1424, allocations: 23.98 kB / 0.6845 GB, free: 36.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1425, allocations: 41.7 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1427, allocations: 65.62 kB / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1427, allocations: 0 / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003009/0.143, allocations: 135.1 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.143, allocations: 33.7 kB / 0.6847 GB, free: 36.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.143, allocations: 3.938 kB / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1431, allocations: 0 / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1432, allocations: 19.98 kB / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1432, allocations: 0 / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.1433, allocations: 12.2 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1433, allocations: 8.031 kB / 0.6848 GB, free: 36.57 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.0001113/0.1435, allocations: 125.8 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1435, allocations: 11.81 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.1436, allocations: 13 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1436, allocations: 7.984 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1436, allocations: 3.938 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.1437, allocations: 93.02 kB / 0.685 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.1437, allocations: 7.938 kB / 0.685 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.1438, allocations: 0 / 0.685 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1438, allocations: 8 kB / 0.685 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002461/0.1441, allocations: 153 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002938/0.1444, allocations: 254.7 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.26e-05/0.1445, allocations: 23.98 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1446, allocations: 157.4 kB / 0.6856 GB, free: 35.69 MB / 346.7 MB Notification: Performance of Backend: time 6.01e-07/0.1447, allocations: 3.938 kB / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1463, allocations: 490 kB / 0.6861 GB, free: 35.33 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006588/0.147, allocations: 0.6586 MB / 0.6867 GB, free: 34.62 MB / 346.7 MB Notification: Performance of Templates: time 0.005288/0.1523, allocations: 1.393 MB / 0.6881 GB, free: 33.25 MB / 346.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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time