Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002666/0.002666, allocations: 361.2 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.085/4.085, 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.00485/0.00485, allocations: 224 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.5929/0.5929, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007083/0.0007086, allocations: 12 kB / 0.6265 GB, free: 96.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1106, allocations: 54.87 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.5693, allocations: 81.96 MB / 0.7601 GB, free: 3.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5696, allocations: 76.22 kB / 0.7602 GB, free: 3.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.5926, allocations: 5.809 MB / 0.7659 GB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5927, allocations: 0 / 0.7659 GB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.5927, allocations: 8 kB / 0.7659 GB, free: 14.49 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001313/0.594, allocations: 0.6027 MB / 0.7665 GB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5941, allocations: 12.83 kB / 0.7665 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.5942, allocations: 47.38 kB / 0.7665 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.5947, allocations: 275.6 kB / 0.7668 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.5948, allocations: 26.62 kB / 0.7668 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.5949, allocations: 43.97 kB / 0.7669 GB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.5959, allocations: 394.1 kB / 0.7672 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.5959, allocations: 7.938 kB / 0.7672 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.596, allocations: 18.12 kB / 0.7673 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.596, allocations: 8 kB / 0.7673 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.5969, allocations: 247.9 kB / 0.7675 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.5991, allocations: 1.097 MB / 0.7686 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.6, allocations: 374 kB / 0.7689 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.6005, allocations: 179.6 kB / 0.7691 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.6006, allocations: 11.94 kB / 0.7691 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6007, allocations: 35.62 kB / 0.7691 GB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.876e-06/0.6007, allocations: 0 / 0.7691 GB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.006207/0.6069, allocations: 2.471 MB / 0.7716 GB, free: 9.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.607, allocations: 122.7 kB / 0.7717 GB, free: 9.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.6074, allocations: 240.4 kB / 0.7719 GB, free: 8.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.6074, allocations: 32.14 kB / 0.7719 GB, free: 8.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.6076, allocations: 187.1 kB / 0.7721 GB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6078, allocations: 193.7 kB / 0.7723 GB, free: 8.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.6079, allocations: 14.12 kB / 0.7723 GB, free: 8.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6081, allocations: 345 kB / 0.7726 GB, free: 8.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.6085, allocations: 144.4 kB / 0.7728 GB, free: 8.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.6091, allocations: 235 kB / 0.773 GB, free: 7.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.6096, allocations: 173.5 kB / 0.7732 GB, free: 7.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6097, allocations: 0 / 0.7732 GB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001709/0.6114, allocations: 0.5641 MB / 0.7737 GB, free: 7.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.6114, allocations: 8 kB / 0.7737 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6114, allocations: 7.938 kB / 0.7737 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.612, allocations: 114.8 kB / 0.7738 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.6128, allocations: 106.6 kB / 0.7739 GB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.6186, allocations: 4.674 MB / 0.7785 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.6191, allocations: 21.47 kB / 0.7785 GB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.6192, allocations: 23.69 kB / 0.7785 GB, free: 2.414 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.6195, allocations: 171.7 kB / 0.7787 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.6196, allocations: 38.84 kB / 0.7787 GB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.6198, allocations: 49.86 kB / 0.7788 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.6198, allocations: 4 kB / 0.7788 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.6198, allocations: 4 kB / 0.7788 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.6199, allocations: 0 / 0.7788 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.6232, allocations: 1.353 MB / 0.7801 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6232, allocations: 0 / 0.7801 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.6241, allocations: 103.1 kB / 0.7802 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.6246, allocations: 91.8 kB / 0.7803 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.6247, allocations: 15.5 kB / 0.7803 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.6293, allocations: 4.105 MB / 0.7843 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.6293, allocations: 7.891 kB / 0.7843 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.6316, allocations: 0.9456 MB / 0.7853 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.6317, allocations: 104.6 kB / 0.7854 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.6318, allocations: 11.62 kB / 0.7854 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.6323, allocations: 27.36 kB / 0.7854 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.6324, allocations: 47.39 kB / 0.7854 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.6325, allocations: 15.56 kB / 0.7855 GB, free: 11.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.6327, allocations: 164.8 kB / 0.7856 GB, free: 11.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6328, allocations: 0 / 0.7856 GB, free: 11.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00101/0.6338, allocations: 123.3 kB / 0.7857 GB, free: 11.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.634, allocations: 118.7 kB / 0.7859 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.636, allocations: 0.7758 MB / 0.7866 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.636, allocations: 0 / 0.7866 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6373, allocations: 0.5778 MB / 0.7872 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.6383, allocations: 59.28 kB / 0.7872 GB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.6414, allocations: 1.311 MB / 0.7885 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.642, allocations: 0.8241 MB / 0.7893 GB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.6423, allocations: 43.25 kB / 0.7894 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.6424, allocations: 27.44 kB / 0.7894 GB, free: 7.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6424, allocations: 0 / 0.7894 GB, free: 7.812 MB / 378.7 MB Notification: Performance of Templates: time 0.01388/0.6563, allocations: 4.026 MB / 0.7933 GB, free: 3.812 MB / 378.7 MB