Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004417/0.004417, allocations: 359.4 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.22/4.22, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.00354/0.00354, allocations: 224.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.5905/0.5905, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007224/0.0007227, allocations: 12 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1355, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/0.6863, allocations: 82.27 MB / 0.7604 GB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.6866, allocations: 73.03 kB / 0.7605 GB, free: 2.988 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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02805/0.7147, allocations: 6.953 MB / 0.7673 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7147, allocations: 4 kB / 0.7673 GB, free: 13.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.7148, allocations: 4 kB / 0.7673 GB, free: 13.08 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001023/0.7158, allocations: 0.6478 MB / 0.7679 GB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7159, allocations: 8.828 kB / 0.7679 GB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.805e-05/0.716, allocations: 35.66 kB / 0.768 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.7166, allocations: 286 kB / 0.7682 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.7166, allocations: 4 kB / 0.7683 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.7167, allocations: 23.5 kB / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.717, allocations: 93.83 kB / 0.7684 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.717, allocations: 7.062 kB / 0.7684 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.7171, allocations: 0 / 0.7684 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.7171, allocations: 0 / 0.7684 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.7173, allocations: 49.64 kB / 0.7684 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.7181, allocations: 0.4994 MB / 0.7689 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.7186, allocations: 122.3 kB / 0.769 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.7188, allocations: 48.39 kB / 0.7691 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.7188, allocations: 3.938 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.7191, allocations: 126.2 kB / 0.7692 GB, free: 11.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.7191, allocations: 0 / 0.7692 GB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001524/0.7207, allocations: 392.4 kB / 0.7696 GB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.7208, allocations: 81.11 kB / 0.7696 GB, free: 10.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.7215, allocations: 418.4 kB / 0.77 GB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.7215, allocations: 33.52 kB / 0.7701 GB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7217, allocations: 143.5 kB / 0.7702 GB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.7218, allocations: 56.53 kB / 0.7703 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.7218, allocations: 7.438 kB / 0.7703 GB, free: 10.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.722, allocations: 345.3 kB / 0.7706 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.7222, allocations: 75.89 kB / 0.7707 GB, free: 9.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.7225, allocations: 105.8 kB / 0.7708 GB, free: 9.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.7229, allocations: 147.1 kB / 0.7709 GB, free: 9.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7229, allocations: 3.938 kB / 0.7709 GB, free: 9.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008776/0.7238, allocations: 340.7 kB / 0.7712 GB, free: 9.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.7239, allocations: 67.39 kB / 0.7713 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7239, allocations: 3.984 kB / 0.7713 GB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.7239, allocations: 0 / 0.7713 GB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.7242, allocations: 39.48 kB / 0.7714 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7242, allocations: 4 kB / 0.7714 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7244, allocations: 11.94 kB / 0.7714 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.7245, allocations: 8.75 kB / 0.7714 GB, free: 9.145 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002821/0.7248, allocations: 179.7 kB / 0.7715 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.7249, allocations: 27.62 kB / 0.7716 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.7256, allocations: 226.9 kB / 0.7718 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.7256, allocations: 4 kB / 0.7718 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7256, allocations: 0 / 0.7718 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7257, allocations: 3.938 kB / 0.7718 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.727, allocations: 0.6862 MB / 0.7725 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.727, allocations: 4 kB / 0.7725 GB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.7271, allocations: 23.92 kB / 0.7725 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.7272, allocations: 4 kB / 0.7725 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.7272, allocations: 3.062 kB / 0.7725 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7272, allocations: 4 kB / 0.7725 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.7272, allocations: 7.938 kB / 0.7725 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.7279, allocations: 384.2 kB / 0.7729 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.7281, allocations: 135 kB / 0.773 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.7282, allocations: 7.25 kB / 0.773 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.7285, allocations: 7.984 kB / 0.773 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.7285, allocations: 23.38 kB / 0.773 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.7286, allocations: 4 kB / 0.773 GB, free: 7.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005048/0.7291, allocations: 308.2 kB / 0.7733 GB, free: 7.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7291, allocations: 0 / 0.7733 GB, free: 7.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.7297, allocations: 95.05 kB / 0.7734 GB, free: 7.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002174/0.7319, allocations: 0.6651 MB / 0.7741 GB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.7328, allocations: 333.5 kB / 0.7744 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7328, allocations: 0 / 0.7744 GB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.7331, allocations: 70.58 kB / 0.7745 GB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.7338, allocations: 50.23 kB / 0.7745 GB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.7352, allocations: 0.552 MB / 0.7751 GB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.7356, allocations: 0.7804 MB / 0.7758 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.7358, allocations: 33.84 kB / 0.7758 GB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.736, allocations: 26.62 kB / 0.7759 GB, free: 4.988 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.736, allocations: 0 / 0.7759 GB, free: 4.988 MB / 362.7 MB Notification: Performance of Templates: time 0.01302/0.749, allocations: 3.447 MB / 0.7792 GB, free: 1.57 MB / 362.7 MB