Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002603/0.002602, allocations: 347.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.774/3.774, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005125/0.005125, allocations: 226.1 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5858/0.5858, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006289, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09132, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/0.5519, allocations: 76.25 MB / 0.6812 GB, free: 36.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5523, allocations: 67.97 kB / 0.6812 GB, free: 36.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03031/0.5826, allocations: 4.689 MB / 0.6858 GB, free: 31.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5826, allocations: 4 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.5827, allocations: 5 kB / 0.6858 GB, free: 31.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001087/0.5838, allocations: 0.5622 MB / 0.6864 GB, free: 31.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5838, allocations: 8.031 kB / 0.6864 GB, free: 31.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.5839, allocations: 31.62 kB / 0.6864 GB, free: 31.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.5843, allocations: 253.8 kB / 0.6867 GB, free: 30.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.5843, allocations: 20.56 kB / 0.6867 GB, free: 30.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.5844, allocations: 27.91 kB / 0.6867 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.5851, allocations: 289 kB / 0.687 GB, free: 30.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.5851, allocations: 8 kB / 0.687 GB, free: 30.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.5852, allocations: 10.25 kB / 0.687 GB, free: 30.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5852, allocations: 8 kB / 0.687 GB, free: 30.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.5859, allocations: 202.3 kB / 0.6872 GB, free: 30.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.588, allocations: 1.308 MB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.5886, allocations: 255.8 kB / 0.6887 GB, free: 28.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.589, allocations: 107.4 kB / 0.6888 GB, free: 28.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.589, allocations: 8.578 kB / 0.6888 GB, free: 28.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.589, allocations: 47.08 kB / 0.6889 GB, free: 28.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.497e-06/0.5891, allocations: 0 / 0.6889 GB, free: 28.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003766/0.5928, allocations: 1.621 MB / 0.6905 GB, free: 26.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5929, allocations: 141.7 kB / 0.6906 GB, free: 26.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.5932, allocations: 223.5 kB / 0.6908 GB, free: 26.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.5933, allocations: 29.7 kB / 0.6908 GB, free: 26.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.5934, allocations: 184.2 kB / 0.691 GB, free: 26.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.5935, allocations: 110.4 kB / 0.6911 GB, free: 25.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.5935, allocations: 8 kB / 0.6911 GB, free: 25.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.5936, allocations: 341.1 kB / 0.6915 GB, free: 25.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.594, allocations: 109.4 kB / 0.6916 GB, free: 25.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.5945, allocations: 255.6 kB / 0.6918 GB, free: 25.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.5951, allocations: 146.7 kB / 0.6919 GB, free: 25.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5951, allocations: 0 / 0.6919 GB, free: 25.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001227/0.5963, allocations: 412.3 kB / 0.6923 GB, free: 24.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.5964, allocations: 4 kB / 0.6923 GB, free: 24.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5964, allocations: 9.094 kB / 0.6923 GB, free: 24.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.5964, allocations: 4 kB / 0.6924 GB, free: 24.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.5971, allocations: 116.1 kB / 0.6925 GB, free: 24.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.5972, allocations: 4 kB / 0.6925 GB, free: 24.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.5976, allocations: 39.83 kB / 0.6925 GB, free: 24.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.5976, allocations: 20 kB / 0.6925 GB, free: 24.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0002092/0.5978, allocations: 155.7 kB / 0.6927 GB, free: 24.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.598, allocations: 31.7 kB / 0.6927 GB, free: 24.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.5981, allocations: 33.72 kB / 0.6927 GB, free: 24.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.5981, allocations: 4 kB / 0.6927 GB, free: 24.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5981, allocations: 3.938 kB / 0.6927 GB, free: 24.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5981, allocations: 3.984 kB / 0.6927 GB, free: 24.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.6002, allocations: 1.015 MB / 0.6937 GB, free: 23.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6003, allocations: 4.062 kB / 0.6937 GB, free: 23.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.601, allocations: 87.88 kB / 0.6938 GB, free: 23.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.601, allocations: 4 kB / 0.6938 GB, free: 23.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.601, allocations: 8 kB / 0.6938 GB, free: 23.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.6011, allocations: 7.953 kB / 0.6938 GB, free: 23.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6011, allocations: 0 / 0.6938 GB, free: 23.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.6026, allocations: 0.7624 MB / 0.6946 GB, free: 22.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.6028, allocations: 120.8 kB / 0.6947 GB, free: 22.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.6029, allocations: 8 kB / 0.6947 GB, free: 22.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.6034, allocations: 31.92 kB / 0.6947 GB, free: 22.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.6035, allocations: 27.97 kB / 0.6948 GB, free: 22.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6035, allocations: 11 kB / 0.6948 GB, free: 22.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.6037, allocations: 160.5 kB / 0.6949 GB, free: 21.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6038, allocations: 0 / 0.6949 GB, free: 21.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000674/0.6044, allocations: 68 kB / 0.695 GB, free: 21.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0001477/0.6046, allocations: 107.1 kB / 0.6951 GB, free: 21.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.6057, allocations: 306.3 kB / 0.6954 GB, free: 21.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6057, allocations: 0 / 0.6954 GB, free: 21.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.6062, allocations: 146.8 kB / 0.6955 GB, free: 21.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.6087, allocations: 36.53 kB / 0.6956 GB, free: 21.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.6112, allocations: 1.082 MB / 0.6966 GB, free: 20.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.6115, allocations: 0.7761 MB / 0.6974 GB, free: 19.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.6118, allocations: 36.45 kB / 0.6974 GB, free: 19.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6119, allocations: 27.42 kB / 0.6974 GB, free: 19.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6119, allocations: 0 / 0.6974 GB, free: 19.27 MB / 362.7 MB Notification: Performance of Templates: time 0.007872/0.6198, allocations: 2.118 MB / 0.6995 GB, free: 17.22 MB / 362.7 MB