Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004007/0.004013, allocations: 369 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 4.415/4.415, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003518/0.003518, allocations: 236.2 kB / 451 MB, free: 145.1 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.4898/0.4898, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002656/0.1128, allocations: 1.355 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1147, allocations: 0.7112 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.1148, allocations: 4 kB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1152, allocations: 35.91 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1154, allocations: 31.83 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1157, allocations: 55.88 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1159, allocations: 87.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.116, allocations: 4 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1161, allocations: 39.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.1162, allocations: 31.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1163, allocations: 4 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1164, allocations: 39.98 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.1165, allocations: 11.92 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.1166, allocations: 41.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1168, allocations: 96.02 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1169, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1169, allocations: 3.938 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1169, allocations: 0 / 0.6826 GB, free: 39.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00064/0.1175, allocations: 461.6 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1176, allocations: 8.031 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1177, allocations: 7.906 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.118, allocations: 202.8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.118, allocations: 8 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.1181, allocations: 4 kB / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1183, allocations: 57.61 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1183, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1183, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1184, allocations: 15.89 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1185, allocations: 15.98 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.119, allocations: 296.8 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1193, allocations: 62.61 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1194, allocations: 20.86 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1195, allocations: 0 / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.1197, allocations: 75.34 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.1198, allocations: 0 / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008885/0.1207, allocations: 181.1 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1207, allocations: 55.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.121, allocations: 190.2 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.121, allocations: 29.7 kB / 0.6842 GB, free: 37.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.1211, allocations: 108 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1212, allocations: 31.62 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.1212, allocations: 4 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.1213, allocations: 322.8 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1215, allocations: 27.98 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1216, allocations: 53.64 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1218, allocations: 57.7 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1218, allocations: 0 / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004618/0.1223, allocations: 171.1 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.1224, allocations: 37.66 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1224, allocations: 0 / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1224, allocations: 7.984 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1226, allocations: 15.98 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1226, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1228, allocations: 8 kB / 0.685 GB, free: 36.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1228, allocations: 8.031 kB / 0.685 GB, free: 36.34 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 (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.0001571/0.123, allocations: 126.6 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.123, allocations: 7.906 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.1231, allocations: 25.39 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1231, allocations: 3.984 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1231, allocations: 0 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.1232, allocations: 96.94 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.1233, allocations: 4 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.1234, allocations: 11.94 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1235, allocations: 7.984 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003685/0.1238, allocations: 169 kB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003955/0.1243, allocations: 278.6 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001264/0.1244, allocations: 31.92 kB / 0.6857 GB, free: 35.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1246, allocations: 145.8 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of Backend: time 9.21e-07/0.1246, allocations: 0 / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.1271, allocations: 0.5367 MB / 0.6864 GB, free: 35.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.000679/0.1278, allocations: 0.6779 MB / 0.6871 GB, free: 34.3 MB / 346.7 MB Notification: Performance of Templates: time 0.005858/0.1336, allocations: 1.629 MB / 0.6887 GB, free: 32.68 MB / 346.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.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time