Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002708/0.002713, allocations: 364.4 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.892/3.892, 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.003515/0.003515, allocations: 225.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.5693/0.5693, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 19.78 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09605, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00195/0.09806, allocations: 1.351 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.09938, allocations: 0.7151 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.09946, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.09972, allocations: 31.84 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.0999, allocations: 27.91 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1001, allocations: 51.89 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1002, allocations: 91.67 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.1003, allocations: 7.984 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.1004, allocations: 31.86 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.1005, allocations: 43.83 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.1006, allocations: 0 / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1007, allocations: 32 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.1008, allocations: 15.92 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1008, allocations: 37.64 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.101, allocations: 88.03 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004623/0.1015, allocations: 450.2 kB / 0.683 GB, free: 38.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1015, allocations: 8.828 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1016, allocations: 7.906 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1018, allocations: 193.7 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1018, allocations: 4 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1019, allocations: 4 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.102, allocations: 57.61 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1021, allocations: 3.953 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1021, allocations: 0 / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1021, allocations: 0 / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.1022, allocations: 31.92 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1026, allocations: 292.9 kB / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1028, allocations: 58.62 kB / 0.6836 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1029, allocations: 24.8 kB / 0.6837 GB, free: 37.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1029, allocations: 4 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1031, allocations: 67.39 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1031, allocations: 0 / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.1038, allocations: 173.5 kB / 0.6839 GB, free: 37.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.1038, allocations: 55.41 kB / 0.6839 GB, free: 37.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.104, allocations: 166.1 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.104, allocations: 29.7 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1041, allocations: 104 kB / 0.6842 GB, free: 37.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1041, allocations: 19.72 kB / 0.6842 GB, free: 37.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-06/0.1041, allocations: 0 / 0.6842 GB, free: 37.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.1042, allocations: 326.8 kB / 0.6846 GB, free: 36.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1043, allocations: 23.98 kB / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1044, allocations: 45.7 kB / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1046, allocations: 73.62 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1046, allocations: 0 / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003189/0.1049, allocations: 159.2 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.105, allocations: 41.69 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.105, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.105, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1051, allocations: 24 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1052, allocations: 4.062 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.1052, allocations: 7.938 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1053, allocations: 7.984 kB / 0.6849 GB, free: 36.43 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 9.202e-05/0.1054, allocations: 125.9 kB / 0.685 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1054, allocations: 15.77 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1055, allocations: 16.7 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1055, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1055, allocations: 96 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1055, allocations: 96.94 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1056, allocations: 3.938 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.1057, allocations: 4 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1057, allocations: 11.98 kB / 0.6852 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002713/0.106, allocations: 180.9 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002821/0.1063, allocations: 274.7 kB / 0.6856 GB, free: 35.67 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.517e-05/0.1064, allocations: 35.97 kB / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1065, allocations: 107.8 kB / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of Backend: time 6.91e-07/0.1065, allocations: 4 kB / 0.6858 GB, free: 35.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.1081, allocations: 0.5275 MB / 0.6863 GB, free: 35.14 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005529/0.1087, allocations: 0.6467 MB / 0.6869 GB, free: 34.46 MB / 346.7 MB Notification: Performance of Templates: time 0.005316/0.114, allocations: 1.629 MB / 0.6885 GB, free: 32.84 MB / 346.7 MB