Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004092/0.004097, allocations: 371.2 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 3.985/3.985, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003443/0.003443, allocations: 224.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.555/0.555, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006433, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.09945, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002164/0.1017, allocations: 1.355 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1032, allocations: 0.7151 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1033, allocations: 0 / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1036, allocations: 31.91 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1038, allocations: 27.84 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.104, allocations: 51.89 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1042, allocations: 91.67 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.1043, allocations: 7.938 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.1044, allocations: 35.86 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.1045, allocations: 31.84 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1045, allocations: 0 / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1046, allocations: 35.98 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.1047, allocations: 19.92 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.1047, allocations: 37.64 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1049, allocations: 88.02 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1049, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1049, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.1049, 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.000494/0.1054, allocations: 442.3 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1055, allocations: 8.828 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1056, allocations: 11.89 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1058, allocations: 193.4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1058, allocations: 8 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1058, allocations: 4 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.106, allocations: 53.67 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1061, allocations: 7.891 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1061, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1061, allocations: 8 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1062, allocations: 19.92 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.1066, allocations: 292.9 kB / 0.6836 GB, free: 37.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1068, allocations: 54.67 kB / 0.6836 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.1069, allocations: 32.75 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.107, allocations: 0 / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.1072, allocations: 67.39 kB / 0.6837 GB, free: 37.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1072, allocations: 0 / 0.6837 GB, free: 37.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006985/0.1079, allocations: 181.2 kB / 0.6839 GB, free: 37.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.108, allocations: 51.41 kB / 0.6839 GB, free: 37.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1081, allocations: 170.1 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1081, allocations: 33.7 kB / 0.6841 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.1082, allocations: 99.98 kB / 0.6842 GB, free: 37.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1082, allocations: 19.72 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/0.1083, allocations: 0 / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.1083, allocations: 322.8 kB / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1084, allocations: 31.98 kB / 0.6846 GB, free: 36.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1086, allocations: 45.69 kB / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1087, allocations: 65.7 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1087, allocations: 0 / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00033/0.1091, allocations: 163.2 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1091, allocations: 37.78 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1091, allocations: 3.938 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1092, allocations: 0 / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1093, allocations: 19.94 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1093, allocations: 0 / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.1094, allocations: 15.92 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1095, allocations: 8.031 kB / 0.6849 GB, free: 36.4 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.0001044/0.1096, allocations: 121.1 kB / 0.685 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1096, allocations: 15.77 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.1097, allocations: 16.7 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1097, allocations: 3.984 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1097, allocations: 0 / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.1098, allocations: 93 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1098, allocations: 12.31 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.1099, allocations: 4 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1099, allocations: 11.98 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003246/0.1103, allocations: 176.9 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002886/0.1106, allocations: 274.7 kB / 0.6856 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.28e-05/0.1107, allocations: 27.98 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.15e-05/0.1108, allocations: 119.8 kB / 0.6858 GB, free: 35.5 MB / 346.7 MB Notification: Performance of Backend: time 8.12e-07/0.1108, allocations: 0 / 0.6858 GB, free: 35.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.1125, allocations: 0.5182 MB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005951/0.1131, allocations: 0.6471 MB / 0.6869 GB, free: 34.43 MB / 346.7 MB Notification: Performance of Templates: time 0.005889/0.119, allocations: 1.62 MB / 0.6885 GB, free: 32.82 MB / 346.7 MB