Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002808/0.002807, 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.423/4.423, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.00356/0.00356, allocations: 229.4 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.5125/0.5125, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006716/0.000672, allocations: 12 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1585, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5197/0.6782, allocations: 82 MB / 0.7602 GB, free: 3.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6786, allocations: 75.97 kB / 0.7603 GB, free: 3.234 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02516/0.7037, allocations: 6.012 MB / 0.7661 GB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7038, allocations: 0 / 0.7661 GB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.7038, allocations: 8 kB / 0.7661 GB, free: 14.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001513/0.7054, allocations: 0.8364 MB / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7054, allocations: 12.03 kB / 0.767 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.7056, allocations: 47.44 kB / 0.767 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.7069, allocations: 468.4 kB / 0.7675 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.707, allocations: 8 kB / 0.7675 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.7071, allocations: 4 kB / 0.7675 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.7074, allocations: 93.77 kB / 0.7676 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.7074, allocations: 7.938 kB / 0.7676 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.7074, allocations: 4 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7075, allocations: 4 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.7077, allocations: 34.03 kB / 0.7676 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.7084, allocations: 412.1 kB / 0.768 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.7088, allocations: 114.7 kB / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.709, allocations: 48.5 kB / 0.7682 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.7091, allocations: 0 / 0.7682 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.7094, allocations: 115.4 kB / 0.7683 GB, free: 11.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 4.409e-06/0.7094, allocations: 4 kB / 0.7683 GB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009628/0.7104, allocations: 228.5 kB / 0.7685 GB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.7105, allocations: 77.11 kB / 0.7686 GB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.7129, allocations: 0.998 MB / 0.7695 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.713, allocations: 33.14 kB / 0.7696 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.7133, allocations: 236.6 kB / 0.7698 GB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.7134, allocations: 29.14 kB / 0.7698 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.7134, allocations: 4 kB / 0.7698 GB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.7137, allocations: 368.3 kB / 0.7702 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.714, allocations: 61.97 kB / 0.7702 GB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.7143, allocations: 91.27 kB / 0.7703 GB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.7146, allocations: 134.1 kB / 0.7704 GB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7146, allocations: 4 kB / 0.7704 GB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009204/0.7155, allocations: 320.2 kB / 0.7708 GB, free: 9.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.7156, allocations: 67.33 kB / 0.7708 GB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.7157, allocations: 7.938 kB / 0.7708 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7157, allocations: 3.953 kB / 0.7708 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.7159, allocations: 23.98 kB / 0.7709 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7159, allocations: 0 / 0.7709 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.7162, allocations: 27.53 kB / 0.7709 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.7163, allocations: 16.05 kB / 0.7709 GB, free: 9.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004879/0.7168, allocations: 226.7 kB / 0.7711 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7169, allocations: 55.33 kB / 0.7712 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007516/0.7177, allocations: 198.6 kB / 0.7714 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7177, allocations: 4 kB / 0.7714 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7177, allocations: 3.953 kB / 0.7714 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7178, allocations: 0 / 0.7714 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.7184, allocations: 386.3 kB / 0.7717 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7184, allocations: 0 / 0.7717 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.7185, allocations: 11.98 kB / 0.7717 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7185, allocations: 0 / 0.7717 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.7186, allocations: 8.25 kB / 0.7717 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7186, allocations: 0 / 0.7717 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7186, allocations: 0 / 0.7717 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.7192, allocations: 234.5 kB / 0.772 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.7197, allocations: 198.8 kB / 0.7722 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7198, allocations: 14.86 kB / 0.7722 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.72, allocations: 8 kB / 0.7722 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.72, allocations: 15.22 kB / 0.7722 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.7201, allocations: 7.953 kB / 0.7722 GB, free: 8.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.7216, allocations: 0.7374 MB / 0.7729 GB, free: 7.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.7216, allocations: 0 / 0.7729 GB, free: 7.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.7223, allocations: 111.3 kB / 0.773 GB, free: 7.672 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001857/0.7241, allocations: 0.5658 MB / 0.7736 GB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.725, allocations: 297.7 kB / 0.7739 GB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.725, allocations: 4.625 kB / 0.7739 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.7252, allocations: 52.59 kB / 0.7739 GB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.726, allocations: 51.47 kB / 0.774 GB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.7284, allocations: 1.001 MB / 0.7749 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.7291, allocations: 0.8451 MB / 0.7758 GB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.7294, allocations: 89.33 kB / 0.7759 GB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.7297, allocations: 38.69 kB / 0.7759 GB, free: 5.066 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/0.7297, allocations: 3.938 kB / 0.7759 GB, free: 5.062 MB / 362.7 MB Notification: Performance of Templates: time 0.01678/0.7465, allocations: 4.973 MB / 0.7808 GB, free: 136 kB / 362.7 MB