Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003875/0.003881, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.85/3.85, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003585/0.003585, allocations: 218.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.4826/0.4826, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09008, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.5669, allocations: 73.38 MB / 0.6784 GB, free: 39.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5672, allocations: 70.83 kB / 0.6785 GB, free: 39.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.5782, allocations: 1.956 MB / 0.6804 GB, free: 37.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5782, allocations: 0 / 0.6804 GB, free: 37.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5783, allocations: 0 / 0.6804 GB, free: 37.37 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007308/0.579, allocations: 390.7 kB / 0.6807 GB, free: 36.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.5791, allocations: 11.03 kB / 0.6808 GB, free: 36.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.5792, allocations: 13.62 kB / 0.6808 GB, free: 36.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5793, allocations: 171 kB / 0.6809 GB, free: 36.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.5794, allocations: 15.03 kB / 0.6809 GB, free: 36.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.5795, allocations: 15.91 kB / 0.681 GB, free: 36.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.5798, allocations: 127.6 kB / 0.6811 GB, free: 36.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.5799, allocations: 3.984 kB / 0.6811 GB, free: 36.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.5799, allocations: 4 kB / 0.6811 GB, free: 36.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5799, allocations: 4 kB / 0.6811 GB, free: 36.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.5802, allocations: 60.62 kB / 0.6812 GB, free: 36.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.5817, allocations: 0.5415 MB / 0.6817 GB, free: 35.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.582, allocations: 89.77 kB / 0.6818 GB, free: 35.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.5821, allocations: 33.36 kB / 0.6818 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.5821, allocations: 4 kB / 0.6818 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.5822, allocations: 30.56 kB / 0.6818 GB, free: 35.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 4.399e-06/0.5822, allocations: 2.484 kB / 0.6818 GB, free: 35.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00107/0.5833, allocations: 305.9 kB / 0.6821 GB, free: 35.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5833, allocations: 79.77 kB / 0.6822 GB, free: 35.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5835, allocations: 125.8 kB / 0.6823 GB, free: 35.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5835, allocations: 25.7 kB / 0.6823 GB, free: 35.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.5836, allocations: 115.7 kB / 0.6825 GB, free: 34.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5837, allocations: 31.55 kB / 0.6825 GB, free: 34.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.5837, allocations: 2.438 kB / 0.6825 GB, free: 34.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.5838, allocations: 326.8 kB / 0.6828 GB, free: 34.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.5838, allocations: 20 kB / 0.6828 GB, free: 34.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.5839, allocations: 87.72 kB / 0.6829 GB, free: 34.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.584, allocations: 40.39 kB / 0.6829 GB, free: 34.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.584, allocations: 0 / 0.6829 GB, free: 34.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000378/0.5844, allocations: 166.1 kB / 0.6831 GB, free: 34.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5845, allocations: 11.98 kB / 0.6831 GB, free: 34.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5845, allocations: 0 / 0.6831 GB, free: 34.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.5847, allocations: 44.34 kB / 0.6832 GB, free: 34.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5849, allocations: 23.38 kB / 0.6832 GB, free: 34.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.5866, allocations: 2.529 MB / 0.6856 GB, free: 31.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5868, allocations: 11.94 kB / 0.6857 GB, free: 31.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5868, allocations: 8.688 kB / 0.6857 GB, free: 31.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.587, allocations: 134.7 kB / 0.6858 GB, free: 31.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.587, allocations: 11.86 kB / 0.6858 GB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.5871, allocations: 11.91 kB / 0.6858 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5871, allocations: 0 / 0.6858 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5871, allocations: 0 / 0.6858 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5871, allocations: 5.062 kB / 0.6858 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.5874, allocations: 193.6 kB / 0.686 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5874, allocations: 0 / 0.686 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.5876, allocations: 15.53 kB / 0.686 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.5878, allocations: 41.64 kB / 0.6861 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5878, allocations: 7.766 kB / 0.6861 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.5895, allocations: 2.526 MB / 0.6885 GB, free: 28.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5896, allocations: 0 / 0.6885 GB, free: 28.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.5899, allocations: 314.5 kB / 0.6888 GB, free: 27.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.59, allocations: 86.45 kB / 0.6889 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.59, allocations: 8 kB / 0.6889 GB, free: 27.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5902, allocations: 3.406 kB / 0.6889 GB, free: 27.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.5902, allocations: 11.92 kB / 0.6889 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5902, allocations: 3.938 kB / 0.6889 GB, free: 27.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.5903, allocations: 102.2 kB / 0.689 GB, free: 27.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5903, allocations: 0 / 0.689 GB, free: 27.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.5908, allocations: 35.91 kB / 0.6891 GB, free: 27.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.591, allocations: 98.69 kB / 0.6892 GB, free: 27.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.5914, allocations: 288 kB / 0.6894 GB, free: 27.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5915, allocations: 6.844 kB / 0.6894 GB, free: 27.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.5918, allocations: 253.6 kB / 0.6897 GB, free: 26.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.5924, allocations: 32.88 kB / 0.6897 GB, free: 26.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5934, allocations: 0.563 MB / 0.6903 GB, free: 26.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5936, allocations: 0.7189 MB / 0.691 GB, free: 25.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.637e-05/0.5937, allocations: 4.891 kB / 0.691 GB, free: 25.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.5937, allocations: 15.42 kB / 0.691 GB, free: 25.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5937, allocations: 0 / 0.691 GB, free: 25.56 MB / 362.7 MB Notification: Performance of Templates: time 0.005152/0.5989, allocations: 1.4 MB / 0.6924 GB, free: 24.22 MB / 362.7 MB