Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00266/0.00266, allocations: 371.4 kB / 15.97 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 4.1/4.1, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003561/0.00356, 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.5618/0.5618, allocations: 80.01 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006945/0.0006947, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1338, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003096/0.1369, allocations: 1.487 MB / 0.6816 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.1399, allocations: 0.9525 MB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1402, allocations: 0 / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1408, allocations: 151.6 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1412, allocations: 103.7 kB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1419, allocations: 107.7 kB / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.1424, allocations: 187.5 kB / 0.683 GB, free: 38.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1426, allocations: 17.53 kB / 0.683 GB, free: 38.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1428, allocations: 91.61 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.1431, allocations: 107.6 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.1432, allocations: 7.984 kB / 0.6832 GB, free: 38.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.1435, allocations: 63.98 kB / 0.6833 GB, free: 38.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.1436, allocations: 35.84 kB / 0.6833 GB, free: 38.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.1437, allocations: 53.64 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1442, allocations: 168 kB / 0.6835 GB, free: 38.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.1442, allocations: 4 kB / 0.6835 GB, free: 38.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.1442, allocations: 3.984 kB / 0.6835 GB, free: 38.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1442, allocations: 3.938 kB / 0.6835 GB, free: 38.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009199/0.1452, allocations: 0.5986 MB / 0.6841 GB, free: 37.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1453, allocations: 12.83 kB / 0.6841 GB, free: 37.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.1454, allocations: 19.72 kB / 0.6842 GB, free: 37.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1458, allocations: 246.5 kB / 0.6844 GB, free: 37.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.1458, allocations: 8 kB / 0.6844 GB, free: 37.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1459, allocations: 8 kB / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.1463, allocations: 103.2 kB / 0.6845 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1464, allocations: 0 / 0.6845 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1464, allocations: 11.95 kB / 0.6845 GB, free: 36.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1464, allocations: 4 kB / 0.6845 GB, free: 36.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.1467, allocations: 35.97 kB / 0.6846 GB, free: 36.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.1475, allocations: 460.9 kB / 0.685 GB, free: 36.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.1481, allocations: 121.3 kB / 0.6851 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1483, allocations: 41.69 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.1483, allocations: 7.953 kB / 0.6852 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.1488, allocations: 109.1 kB / 0.6853 GB, free: 36.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 4.068e-06/0.1488, allocations: 0 / 0.6853 GB, free: 36.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001696/0.1505, allocations: 368.1 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1506, allocations: 77.11 kB / 0.6857 GB, free: 35.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.1512, allocations: 350.6 kB / 0.686 GB, free: 35.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1513, allocations: 29.7 kB / 0.686 GB, free: 35.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1514, allocations: 140.5 kB / 0.6862 GB, free: 35.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.1515, allocations: 51.3 kB / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.1515, allocations: 4 kB / 0.6862 GB, free: 35.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1516, allocations: 334.8 kB / 0.6866 GB, free: 34.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.152, allocations: 60.16 kB / 0.6866 GB, free: 34.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1523, allocations: 95.7 kB / 0.6867 GB, free: 34.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1527, allocations: 134.5 kB / 0.6868 GB, free: 34.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1528, allocations: 0 / 0.6868 GB, free: 34.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009717/0.1537, allocations: 296.6 kB / 0.6871 GB, free: 34.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.1538, allocations: 67.39 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1539, allocations: 7.938 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1539, allocations: 3.984 kB / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.1543, allocations: 35.98 kB / 0.6872 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1543, allocations: 0 / 0.6872 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.1546, allocations: 19.98 kB / 0.6872 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1546, allocations: 12 kB / 0.6873 GB, free: 33.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002504/0.1549, allocations: 155.1 kB / 0.6874 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.155, allocations: 23.67 kB / 0.6874 GB, free: 33.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1551, allocations: 29.7 kB / 0.6875 GB, free: 33.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1551, allocations: 3.984 kB / 0.6875 GB, free: 33.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1551, allocations: 4 kB / 0.6875 GB, free: 33.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1553, allocations: 108.8 kB / 0.6876 GB, free: 33.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.1554, allocations: 11.98 kB / 0.6876 GB, free: 33.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1556, allocations: 8 kB / 0.6876 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.1557, allocations: 7.984 kB / 0.6876 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000815/0.1565, allocations: 336 kB / 0.6879 GB, free: 33.27 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007587/0.1573, allocations: 437.6 kB / 0.6883 GB, free: 32.82 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002526/0.1576, allocations: 55.97 kB / 0.6884 GB, free: 32.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004252/0.158, allocations: 245.9 kB / 0.6886 GB, free: 32.53 MB / 346.7 MB Notification: Performance of Backend: time 9.72e-07/0.1581, allocations: 0 / 0.6886 GB, free: 32.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.1623, allocations: 0.9198 MB / 0.6895 GB, free: 31.8 MB / 346.7 MB Notification: Performance of SimCode: time 0.001502/0.1638, allocations: 0.8524 MB / 0.6903 GB, free: 30.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01263/0.1765, allocations: 2.968 MB / 0.6932 GB, free: 27.95 MB / 346.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,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.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time