Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005468/0.005467, allocations: 363.1 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.279/4.279, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.003614/0.003614, allocations: 238.1 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.5991/0.5991, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.5884, allocations: 82.15 MB / 0.7603 GB, free: 3.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5887, allocations: 75.97 kB / 0.7604 GB, free: 3.172 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.01965/0.6084, allocations: 4.71 MB / 0.765 GB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6084, allocations: 0 / 0.765 GB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.6084, allocations: 4 kB / 0.765 GB, free: 15.18 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.0007062/0.6092, allocations: 492.1 kB / 0.7655 GB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6092, allocations: 8.828 kB / 0.7655 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.6093, allocations: 11.91 kB / 0.7655 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.6097, allocations: 217.2 kB / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.6097, allocations: 0 / 0.7657 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.6098, allocations: 7.984 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.61, allocations: 58.92 kB / 0.7658 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.61, allocations: 7.938 kB / 0.7658 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.61, allocations: 3.953 kB / 0.7658 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.61, allocations: 0 / 0.7658 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.6102, allocations: 30.66 kB / 0.7658 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.6107, allocations: 316.9 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.611, allocations: 61.23 kB / 0.7662 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.6111, allocations: 22.41 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6112, allocations: 4 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.6114, allocations: 73.38 kB / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.6114, allocations: 0 / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009014/0.6123, allocations: 182.6 kB / 0.7664 GB, free: 13.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6124, allocations: 59.41 kB / 0.7665 GB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.6127, allocations: 206.8 kB / 0.7667 GB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6128, allocations: 25.7 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.6129, allocations: 106.2 kB / 0.7668 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.6129, allocations: 27.58 kB / 0.7668 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.6129, allocations: 0 / 0.7668 GB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6131, allocations: 325.1 kB / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6133, allocations: 41.42 kB / 0.7672 GB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.6134, allocations: 57.7 kB / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.6136, allocations: 77.69 kB / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6136, allocations: 0 / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004854/0.6141, allocations: 186.3 kB / 0.7675 GB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.6142, allocations: 32.89 kB / 0.7675 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6142, allocations: 4 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6142, allocations: 3.984 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6144, allocations: 12 kB / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6144, allocations: 11.97 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.6146, allocations: 4 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.6146, allocations: 11.05 kB / 0.7676 GB, free: 12.55 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.0001519/0.6148, allocations: 124.1 kB / 0.7677 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.6148, allocations: 15.77 kB / 0.7677 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.6153, allocations: 131.7 kB / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6153, allocations: 3.938 kB / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6153, allocations: 4 kB / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6153, allocations: 4 kB / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.616, allocations: 415.6 kB / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6161, allocations: 0 / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.6162, allocations: 8 kB / 0.7682 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.6162, allocations: 4 kB / 0.7682 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.6162, allocations: 7.359 kB / 0.7682 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6162, allocations: 0 / 0.7682 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6162, allocations: 8.406 kB / 0.7683 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.6166, allocations: 212.5 kB / 0.7685 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6167, allocations: 100 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.6168, allocations: 11.38 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.6169, allocations: 3.984 kB / 0.7686 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.617, allocations: 4.281 kB / 0.7686 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.617, allocations: 11.98 kB / 0.7686 GB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.6172, allocations: 155.9 kB / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6172, allocations: 3.938 kB / 0.7687 GB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.6177, allocations: 42.56 kB / 0.7688 GB, free: 11.33 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.6191, allocations: 434.5 kB / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.6196, allocations: 168.1 kB / 0.7693 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6196, allocations: 4.062 kB / 0.7694 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6198, allocations: 34.05 kB / 0.7694 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.6203, allocations: 31.19 kB / 0.7694 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.621, allocations: 275.8 kB / 0.7697 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6214, allocations: 0.7095 MB / 0.7704 GB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.655e-05/0.6215, allocations: 16.58 kB / 0.7704 GB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.6216, allocations: 19.3 kB / 0.7704 GB, free: 9.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6216, allocations: 0 / 0.7704 GB, free: 9.816 MB / 362.7 MB Notification: Performance of Templates: time 0.01116/0.6327, allocations: 1.783 MB / 0.7721 GB, free: 8.055 MB / 362.7 MB