Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002816/0.002815, allocations: 362.5 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.368/4.368, 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.005109/0.005109, allocations: 226 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.5626/0.5626, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004624, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5741/0.6951, allocations: 82.14 MB / 0.7603 GB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6955, allocations: 78.78 kB / 0.7604 GB, free: 3.102 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.02061/0.7161, allocations: 4.785 MB / 0.7651 GB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7162, allocations: 4 kB / 0.7651 GB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.7162, allocations: 0 / 0.7651 GB, free: 15.04 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.0008107/0.717, allocations: 499.2 kB / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7171, allocations: 8.031 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.7172, allocations: 15.81 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.7176, allocations: 209.5 kB / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.7176, allocations: 0 / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.7177, allocations: 8 kB / 0.7658 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.7179, allocations: 60.03 kB / 0.7658 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7179, allocations: 0 / 0.7658 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.718, allocations: 15.83 kB / 0.7658 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.718, allocations: 0 / 0.7658 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.7181, allocations: 19.48 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.7187, allocations: 322 kB / 0.7662 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.719, allocations: 60.81 kB / 0.7662 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.7191, allocations: 28.22 kB / 0.7663 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.7192, allocations: 3.984 kB / 0.7663 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.7194, allocations: 71 kB / 0.7663 GB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.757e-06/0.7194, allocations: 0 / 0.7663 GB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009073/0.7203, allocations: 201.3 kB / 0.7665 GB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.7204, allocations: 54.91 kB / 0.7666 GB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.7208, allocations: 220.5 kB / 0.7668 GB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.7209, allocations: 29.7 kB / 0.7668 GB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.721, allocations: 106.5 kB / 0.7669 GB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.721, allocations: 23.34 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.7211, allocations: 4 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7212, allocations: 325.5 kB / 0.7672 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7214, allocations: 42.16 kB / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.7216, allocations: 48.08 kB / 0.7673 GB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.7218, allocations: 81 kB / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.7218, allocations: 0 / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005104/0.7223, allocations: 182.3 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.7224, allocations: 36.89 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7224, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7224, allocations: 4 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.7226, allocations: 19.92 kB / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7226, allocations: 0 / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.7227, allocations: 8.031 kB / 0.7676 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.7228, allocations: 8 kB / 0.7677 GB, free: 12.39 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.0001806/0.723, allocations: 129 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.723, allocations: 15.77 kB / 0.7678 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.7235, allocations: 124.3 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.7235, allocations: 3.984 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7235, allocations: 4 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.7235, allocations: 0 / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.7243, allocations: 425.9 kB / 0.7683 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7243, allocations: 3.938 kB / 0.7683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.7244, allocations: 15.92 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7244, allocations: 0 / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.7245, allocations: 7 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.7245, allocations: 0 / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7245, allocations: 3.938 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.7249, allocations: 216.6 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.7251, allocations: 104.5 kB / 0.7687 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.7251, allocations: 3.75 kB / 0.7687 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7253, allocations: 4 kB / 0.7687 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.7253, allocations: 7.984 kB / 0.7687 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.7254, allocations: 4 kB / 0.7687 GB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.7256, allocations: 163.2 kB / 0.7688 GB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7256, allocations: 0 / 0.7688 GB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.7261, allocations: 58.2 kB / 0.7689 GB, free: 11.15 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.001425/0.7275, allocations: 434.1 kB / 0.7693 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.7281, allocations: 167.5 kB / 0.7695 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7281, allocations: 0 / 0.7695 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.7282, allocations: 42.05 kB / 0.7695 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.7288, allocations: 27.09 kB / 0.7695 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.73, allocations: 281.2 kB / 0.7698 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/0.731, allocations: 0.7158 MB / 0.7705 GB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.7312, allocations: 20.56 kB / 0.7705 GB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.7313, allocations: 19.42 kB / 0.7705 GB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7313, allocations: 0 / 0.7705 GB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.0104/0.7417, allocations: 1.805 MB / 0.7723 GB, free: 7.848 MB / 362.7 MB