Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004157/0.004156, allocations: 361.3 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.166/4.166, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003586/0.003586, allocations: 225.3 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.5638/0.5638, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004726, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.5851, allocations: 82.15 MB / 0.7603 GB, free: 3.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5855, allocations: 83.89 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.02044/0.6059, allocations: 4.899 MB / 0.7652 GB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.606, allocations: 0 / 0.7652 GB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.606, 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.0007813/0.6068, allocations: 498.2 kB / 0.7657 GB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6069, allocations: 16.83 kB / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.607, allocations: 11.81 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.6074, allocations: 225.9 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6075, allocations: 4 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.6075, allocations: 4 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.6077, allocations: 58.8 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6078, allocations: 0 / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.6078, allocations: 3.953 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6078, allocations: 0 / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.6079, allocations: 30.42 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.6086, allocations: 327 kB / 0.7663 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.6088, allocations: 57.98 kB / 0.7664 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.609, allocations: 28.72 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.609, allocations: 7.812 kB / 0.7664 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.6092, allocations: 71.5 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.6092, allocations: 4 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009043/0.6102, allocations: 182.1 kB / 0.7666 GB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.6102, allocations: 58.78 kB / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.6107, allocations: 253 kB / 0.7669 GB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.6107, allocations: 29.64 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.6108, allocations: 118.8 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.6109, allocations: 27.47 kB / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.6109, allocations: 0 / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6111, allocations: 329.5 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.6113, allocations: 33.42 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.6115, allocations: 59.42 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.6116, allocations: 68.33 kB / 0.7676 GB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6117, allocations: 4 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005169/0.6122, allocations: 191.5 kB / 0.7678 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.6123, allocations: 40.81 kB / 0.7678 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6123, allocations: 0 / 0.7678 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6123, allocations: 3.984 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.6125, allocations: 16 kB / 0.7678 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6125, allocations: 0 / 0.7678 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.6126, allocations: 7.984 kB / 0.7678 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.6127, allocations: 7.312 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.0001938/0.6129, allocations: 144.2 kB / 0.768 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.6129, allocations: 15.77 kB / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.6134, allocations: 125.6 kB / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6134, allocations: 4 kB / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6134, allocations: 0 / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6134, allocations: 0 / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.6143, allocations: 450.1 kB / 0.7685 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6143, allocations: 0 / 0.7685 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.6144, allocations: 8 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6144, allocations: 0 / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.6145, allocations: 7.125 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6145, allocations: 160 / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6145, allocations: 0 / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.6149, allocations: 229.4 kB / 0.7688 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6151, allocations: 100.5 kB / 0.7689 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.6151, allocations: 7.625 kB / 0.7689 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6153, allocations: 7.984 kB / 0.7689 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.6153, allocations: 4 kB / 0.7689 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.6154, allocations: 8 kB / 0.7689 GB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.6157, allocations: 193.3 kB / 0.7691 GB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6157, allocations: 0 / 0.7691 GB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.6161, allocations: 46 kB / 0.7691 GB, free: 10.96 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.00131/0.6174, allocations: 446.1 kB / 0.7696 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.6179, allocations: 164.8 kB / 0.7697 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.618, allocations: 0 / 0.7697 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.6181, allocations: 34.23 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.0005203/0.6186, allocations: 23.44 kB / 0.7698 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.6195, allocations: 333.3 kB / 0.7701 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6199, allocations: 0.7173 MB / 0.7708 GB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.6201, allocations: 20.36 kB / 0.7708 GB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.6201, allocations: 15.44 kB / 0.7708 GB, free: 9.406 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6201, allocations: 0 / 0.7708 GB, free: 9.406 MB / 362.7 MB Notification: Performance of Templates: time 0.007414/0.6276, allocations: 1.885 MB / 0.7727 GB, free: 7.547 MB / 362.7 MB