Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002794/0.002798, allocations: 362.2 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.05/4.05, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.00358/0.00358, allocations: 240.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.6486/0.6486, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005135, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1186, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/0.6367, allocations: 83.78 MB / 0.7619 GB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.6371, allocations: 63.72 kB / 0.762 GB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1036/0.7407, allocations: 21.12 MB / 0.7826 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.7408, allocations: 0 / 0.7826 GB, free: 15.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.7408, allocations: 0 / 0.7826 GB, free: 15.72 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001143/0.742, allocations: 439.9 kB / 0.783 GB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.064e-05/0.7421, allocations: 15.97 kB / 0.783 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.7421, allocations: 4 kB / 0.783 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.7423, allocations: 163.1 kB / 0.7832 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.7423, allocations: 0 / 0.7832 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.7424, allocations: 0 / 0.7832 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7425, allocations: 29.7 kB / 0.7832 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7425, allocations: 0 / 0.7832 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7426, allocations: 7.938 kB / 0.7832 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.7426, allocations: 0 / 0.7832 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.7426, allocations: 0 / 0.7832 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.7429, allocations: 152.7 kB / 0.7834 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.743, allocations: 18.52 kB / 0.7834 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.743, allocations: 8.953 kB / 0.7834 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.743, allocations: 0 / 0.7834 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.7431, allocations: 59.7 kB / 0.7834 GB, free: 14.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.7431, allocations: 0 / 0.7834 GB, free: 14.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000256/0.7434, allocations: 63.39 kB / 0.7835 GB, free: 14.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.7435, allocations: 89.12 kB / 0.7836 GB, free: 14.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.7436, allocations: 89.86 kB / 0.7837 GB, free: 14.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.7436, allocations: 25.7 kB / 0.7837 GB, free: 14.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.7437, allocations: 83.08 kB / 0.7838 GB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.7438, allocations: 7.984 kB / 0.7838 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7438, allocations: 3.938 kB / 0.7838 GB, free: 14.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.744, allocations: 314.8 kB / 0.7841 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.744, allocations: 0 / 0.7841 GB, free: 13.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.744, allocations: 4 kB / 0.7841 GB, free: 13.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.7441, allocations: 29.7 kB / 0.7841 GB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.7441, allocations: 0 / 0.7841 GB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001391/0.7443, allocations: 62.34 kB / 0.7842 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.7444, allocations: 33.7 kB / 0.7842 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7444, allocations: 4.531 kB / 0.7842 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7445, allocations: 0 / 0.7842 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.7445, allocations: 0 / 0.7842 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7445, allocations: 0 / 0.7842 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.7445, allocations: 4.047 kB / 0.7842 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.7446, allocations: 11.94 kB / 0.7842 GB, free: 13.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001418/0.7447, allocations: 132.3 kB / 0.7844 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.7448, allocations: 0 / 0.7844 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.7448, allocations: 3.125 kB / 0.7844 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7448, allocations: 4 kB / 0.7844 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7449, allocations: 0 / 0.7844 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7449, allocations: 0 / 0.7844 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.7451, allocations: 152.7 kB / 0.7845 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7451, allocations: 0 / 0.7845 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-06/0.7451, allocations: 4 kB / 0.7845 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.7451, allocations: 4 kB / 0.7845 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7452, allocations: 4 kB / 0.7845 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7452, allocations: 0 / 0.7845 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7452, allocations: 0 / 0.7845 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.7454, allocations: 93.91 kB / 0.7846 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.7455, allocations: 77.11 kB / 0.7847 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7455, allocations: 0 / 0.7847 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.7456, allocations: 4.031 kB / 0.7847 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.7456, allocations: 3.938 kB / 0.7847 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7456, allocations: 7.984 kB / 0.7847 GB, free: 13.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.7457, allocations: 78.41 kB / 0.7848 GB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7457, allocations: 0 / 0.7848 GB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001274/0.747, allocations: 159.2 kB / 0.7849 GB, free: 12.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.002133/0.7492, allocations: 350.9 kB / 0.7853 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.7494, allocations: 62.66 kB / 0.7853 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7494, allocations: 0 / 0.7853 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.7495, allocations: 59.39 kB / 0.7854 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.7498, allocations: 7.953 kB / 0.7854 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.7501, allocations: 78.3 kB / 0.7855 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.7504, allocations: 0.6809 MB / 0.7861 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.416e-06/0.7505, allocations: 0 / 0.7861 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.7505, allocations: 7.562 kB / 0.7861 GB, free: 11.68 MB / 378.7 MB Notification: Performance of SimCode: time 4.147e-06/0.7505, allocations: 4 kB / 0.7861 GB, free: 11.68 MB / 378.7 MB Notification: Performance of Templates: time 0.018/0.7686, allocations: 4.514 MB / 0.7905 GB, free: 7.164 MB / 378.7 MB