Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002795/0.0028, 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 4.13/4.13, 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.003534/0.003534, allocations: 237.7 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.4994/0.4994, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004783, allocations: 16.5 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002313/0.1032, allocations: 1.516 MB / 0.6816 GB, free: 40.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1047, allocations: 0.7306 MB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1049, allocations: 11.94 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1052, allocations: 31.89 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1054, allocations: 27.84 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1056, allocations: 67.81 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1058, allocations: 119.6 kB / 0.6826 GB, free: 39.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1059, allocations: 21.45 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.106, allocations: 47.78 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.1061, allocations: 39.77 kB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1062, allocations: 4 kB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1063, allocations: 35.98 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1063, allocations: 19.92 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1064, allocations: 45.64 kB / 0.6828 GB, free: 38.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1066, allocations: 104 kB / 0.6829 GB, free: 38.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1066, allocations: 0 / 0.6829 GB, free: 38.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1066, allocations: 0 / 0.6829 GB, free: 38.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.1067, allocations: 0 / 0.6829 GB, free: 38.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006205/0.1073, allocations: 0.5018 MB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1073, allocations: 8.828 kB / 0.6834 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.1074, allocations: 19.8 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1076, allocations: 210.4 kB / 0.6836 GB, free: 37.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1077, allocations: 8 kB / 0.6836 GB, free: 37.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1077, allocations: 4 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.108, allocations: 93.58 kB / 0.6837 GB, free: 37.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.108, allocations: 0 / 0.6837 GB, free: 37.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.108, allocations: 0 / 0.6837 GB, free: 37.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1081, allocations: 3.953 kB / 0.6837 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1083, allocations: 51.97 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1088, allocations: 344.7 kB / 0.6841 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.1093, allocations: 94.61 kB / 0.6841 GB, free: 37.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1094, allocations: 44.83 kB / 0.6842 GB, free: 37.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1095, allocations: 0 / 0.6842 GB, free: 37.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.1098, allocations: 87.31 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.1098, allocations: 4 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005496/0.1103, allocations: 149.7 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.1104, allocations: 55.41 kB / 0.6845 GB, free: 36.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1106, allocations: 173.2 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1106, allocations: 37.64 kB / 0.6847 GB, free: 36.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1107, allocations: 104 kB / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1107, allocations: 27.64 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.1107, allocations: 7.938 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.1108, allocations: 322.8 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.111, allocations: 43.97 kB / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1111, allocations: 58.55 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1113, allocations: 72.69 kB / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1114, allocations: 0 / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004416/0.1118, allocations: 195 kB / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1119, allocations: 33.7 kB / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1119, allocations: 0 / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1119, allocations: 0 / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1121, allocations: 27.98 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1121, allocations: 3.984 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1122, allocations: 23.89 kB / 0.6856 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1123, allocations: 4 kB / 0.6856 GB, free: 35.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001072/0.1124, allocations: 129.8 kB / 0.6857 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1124, allocations: 11.86 kB / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.1125, allocations: 17.39 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1125, allocations: 0 / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1125, allocations: 0 / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1126, allocations: 96.91 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1126, allocations: 4 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1127, allocations: 19.98 kB / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1128, allocations: 4 kB / 0.6858 GB, free: 35.48 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004958/0.1133, allocations: 200.9 kB / 0.686 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005738/0.1139, allocations: 342.8 kB / 0.6863 GB, free: 34.93 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001446/0.1141, allocations: 39.94 kB / 0.6864 GB, free: 34.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1142, allocations: 128.9 kB / 0.6865 GB, free: 34.77 MB / 346.7 MB Notification: Performance of Backend: time 1.012e-06/0.1142, allocations: 4.062 kB / 0.6865 GB, free: 34.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.1161, allocations: 0.5365 MB / 0.687 GB, free: 34.36 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007553/0.1169, allocations: 0.7368 MB / 0.6878 GB, free: 33.59 MB / 346.7 MB Notification: Performance of Templates: time 0.006312/0.1232, allocations: 1.887 MB / 0.6896 GB, free: 31.71 MB / 346.7 MB