Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00264/0.00264, allocations: 361.5 kB / 15.95 MB, free: 6.207 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.137/4.137, 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.003553/0.003553, allocations: 226.9 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.5839/0.5839, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.000484, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.5864, allocations: 82.13 MB / 0.7603 GB, free: 3.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5867, allocations: 85.66 kB / 0.7604 GB, free: 3.121 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.03015/0.6169, allocations: 4.894 MB / 0.7652 GB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6169, allocations: 0 / 0.7652 GB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.617, allocations: 8 kB / 0.7652 GB, free: 14.95 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.001026/0.618, allocations: 0.4903 MB / 0.7657 GB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.6181, allocations: 12.83 kB / 0.7657 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.6183, allocations: 11.81 kB / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.6189, allocations: 222.5 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.6189, allocations: 4 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.619, allocations: 4 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.6193, allocations: 60.73 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6193, allocations: 4 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.6194, allocations: 7.891 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.6194, allocations: 0 / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.6196, allocations: 23.42 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.6204, allocations: 332.8 kB / 0.7663 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.6208, allocations: 53.38 kB / 0.7664 GB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.6209, allocations: 31.28 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.621, allocations: 0 / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.6213, allocations: 69.44 kB / 0.7665 GB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.6213, allocations: 4 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001176/0.6225, allocations: 190.7 kB / 0.7666 GB, free: 13.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.6226, allocations: 59.33 kB / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.6232, allocations: 255 kB / 0.7669 GB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6233, allocations: 25.7 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.6234, allocations: 117.6 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.6235, allocations: 26.73 kB / 0.7671 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.6235, allocations: 0 / 0.7671 GB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.6237, allocations: 330.6 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.624, allocations: 30.05 kB / 0.7674 GB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.6242, allocations: 63.38 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.6245, allocations: 74.81 kB / 0.7676 GB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6245, allocations: 0 / 0.7676 GB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006503/0.6252, allocations: 185.7 kB / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.6253, allocations: 41.5 kB / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6253, allocations: 0 / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6253, allocations: 0 / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6255, allocations: 19.98 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.6256, allocations: 0 / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.6257, allocations: 8.031 kB / 0.7678 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.6258, allocations: 4 kB / 0.7678 GB, free: 12.25 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.000249/0.626, allocations: 144.9 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.6261, allocations: 19.39 kB / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.6267, allocations: 123.9 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6267, allocations: 4 kB / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6267, allocations: 0 / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.6268, allocations: 3.984 kB / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.6279, allocations: 450.9 kB / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6279, allocations: 0 / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6281, allocations: 11.94 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.6281, allocations: 0 / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.6281, allocations: 7.984 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6281, allocations: 0 / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6282, allocations: 0 / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.6287, allocations: 223.5 kB / 0.7688 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.629, allocations: 100.5 kB / 0.7689 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.629, allocations: 3.75 kB / 0.7689 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.6293, allocations: 7.984 kB / 0.7689 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.6293, allocations: 4 kB / 0.7689 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.6294, allocations: 7.984 kB / 0.7689 GB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004231/0.6298, allocations: 195.9 kB / 0.7691 GB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6298, allocations: 0 / 0.7691 GB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007267/0.6306, allocations: 47.17 kB / 0.7691 GB, free: 10.97 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.001996/0.6326, allocations: 441.6 kB / 0.7695 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.6333, allocations: 168.1 kB / 0.7697 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6333, allocations: 0 / 0.7697 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.6335, allocations: 34.5 kB / 0.7697 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.6343, allocations: 31.7 kB / 0.7698 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6354, allocations: 324.1 kB / 0.7701 GB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.636, allocations: 0.7208 MB / 0.7708 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.6362, allocations: 16.42 kB / 0.7708 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.6363, allocations: 15.44 kB / 0.7708 GB, free: 9.418 MB / 362.7 MB Notification: Performance of SimCode: time 1.814e-06/0.6363, allocations: 0 / 0.7708 GB, free: 9.418 MB / 362.7 MB Notification: Performance of Templates: time 0.009858/0.6462, allocations: 1.892 MB / 0.7727 GB, free: 7.555 MB / 362.7 MB