Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004237/0.004243, allocations: 360 kB / 15.95 MB, free: 6.203 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.321/4.321, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003656/0.003656, allocations: 227.5 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.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1029, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5885/0.6915, allocations: 82.15 MB / 0.7603 GB, free: 3.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6918, allocations: 86 kB / 0.7604 GB, free: 3.18 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0192/0.7111, allocations: 4.91 MB / 0.7652 GB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7111, allocations: 0 / 0.7652 GB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.7111, allocations: 4 kB / 0.7652 GB, free: 15 MB / 362.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.0006847/0.7118, allocations: 499.4 kB / 0.7657 GB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7119, allocations: 8.828 kB / 0.7657 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.7119, allocations: 15.81 kB / 0.7657 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.7124, allocations: 225.4 kB / 0.7659 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.7124, allocations: 4 kB / 0.7659 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.7124, allocations: 4 kB / 0.7659 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.7126, allocations: 58.53 kB / 0.766 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7126, allocations: 0 / 0.766 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.7127, allocations: 3.953 kB / 0.766 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7127, allocations: 4 kB / 0.766 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.7128, allocations: 22.61 kB / 0.766 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.7133, allocations: 324.6 kB / 0.7663 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.7136, allocations: 67.86 kB / 0.7664 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.7137, allocations: 16.23 kB / 0.7664 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.7137, allocations: 7.938 kB / 0.7664 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.714, allocations: 77.67 kB / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.714, allocations: 0 / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007785/0.7148, allocations: 189.6 kB / 0.7667 GB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.7148, allocations: 55.41 kB / 0.7667 GB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.7153, allocations: 250 kB / 0.7669 GB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.7153, allocations: 37.64 kB / 0.767 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.7154, allocations: 116.6 kB / 0.7671 GB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.7154, allocations: 19.25 kB / 0.7671 GB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.7155, allocations: 4 kB / 0.7671 GB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7156, allocations: 326 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.7158, allocations: 44.59 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7159, allocations: 50.52 kB / 0.7675 GB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.7161, allocations: 74.81 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.7162, allocations: 4 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004518/0.7166, allocations: 193.1 kB / 0.7678 GB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.7167, allocations: 29.7 kB / 0.7678 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.7167, allocations: 4 kB / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7167, allocations: 0 / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.7169, allocations: 19.73 kB / 0.7678 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7169, allocations: 4 kB / 0.7678 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.717, allocations: 4 kB / 0.7678 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.717, allocations: 8.031 kB / 0.7678 GB, free: 12.3 MB / 362.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.0001567/0.7172, allocations: 140.1 kB / 0.768 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.7173, allocations: 26.94 kB / 0.768 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.7177, allocations: 127.9 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7177, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7177, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7177, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.7184, allocations: 443.8 kB / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.7185, allocations: 0 / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.7185, allocations: 15.98 kB / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7186, allocations: 0 / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.7186, allocations: 3.938 kB / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7186, allocations: 0 / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7186, allocations: 4 kB / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.719, allocations: 217.6 kB / 0.7688 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.7191, allocations: 107.4 kB / 0.7689 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.7192, allocations: 4.375 kB / 0.7689 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7193, allocations: 0 / 0.7689 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.7194, allocations: 15.39 kB / 0.7689 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.7194, allocations: 4 kB / 0.7689 GB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002766/0.7197, allocations: 194.8 kB / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7197, allocations: 7.938 kB / 0.7691 GB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000374/0.7201, allocations: 43.19 kB / 0.7691 GB, free: 11.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.7214, allocations: 432.8 kB / 0.7695 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.7218, allocations: 172.2 kB / 0.7697 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7218, allocations: 0 / 0.7697 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.722, allocations: 34.61 kB / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.7224, allocations: 27.56 kB / 0.7698 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.7232, allocations: 328.4 kB / 0.7701 GB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.7236, allocations: 0.7245 MB / 0.7708 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.7237, allocations: 16.58 kB / 0.7708 GB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.7238, allocations: 15.44 kB / 0.7708 GB, free: 9.457 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7238, allocations: 0 / 0.7708 GB, free: 9.457 MB / 362.7 MB Notification: Performance of Templates: time 0.00684/0.7306, allocations: 1.885 MB / 0.7727 GB, free: 7.602 MB / 362.7 MB