Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.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.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002707/0.002706, allocations: 346.7 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.678/3.678, 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.00503/0.00503, 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.473/0.473, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004814, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09042, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5038, allocations: 75.59 MB / 0.6806 GB, free: 37.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5041, allocations: 71.97 kB / 0.6806 GB, free: 37.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02236/0.5265, allocations: 5.829 MB / 0.6863 GB, free: 31.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5265, allocations: 0 / 0.6863 GB, free: 31.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.5266, allocations: 11.98 kB / 0.6863 GB, free: 31.38 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.00113/0.5277, allocations: 0.6087 MB / 0.6869 GB, free: 30.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5278, allocations: 12.03 kB / 0.6869 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5279, allocations: 47.39 kB / 0.687 GB, free: 30.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.5282, allocations: 272.5 kB / 0.6872 GB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.5283, allocations: 32.94 kB / 0.6873 GB, free: 30.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.5284, allocations: 40 kB / 0.6873 GB, free: 30.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.5293, allocations: 384.5 kB / 0.6877 GB, free: 29.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.5293, allocations: 5.688 kB / 0.6877 GB, free: 29.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.5294, allocations: 19.28 kB / 0.6877 GB, free: 29.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5294, allocations: 8 kB / 0.6877 GB, free: 29.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.5302, allocations: 270.4 kB / 0.688 GB, free: 29.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.5322, allocations: 1.099 MB / 0.689 GB, free: 28.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.533, allocations: 361 kB / 0.6894 GB, free: 28.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.5334, allocations: 179.2 kB / 0.6896 GB, free: 27.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.5335, allocations: 8 kB / 0.6896 GB, free: 27.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5335, allocations: 39.16 kB / 0.6896 GB, free: 27.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 4.077e-06/0.5335, allocations: 1.656 kB / 0.6896 GB, free: 27.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.005301/0.5388, allocations: 2.487 MB / 0.692 GB, free: 25.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.5389, allocations: 110.8 kB / 0.6921 GB, free: 25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5392, allocations: 244.2 kB / 0.6924 GB, free: 24.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.5393, allocations: 33.69 kB / 0.6924 GB, free: 24.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5394, allocations: 184.6 kB / 0.6926 GB, free: 24.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5396, allocations: 200.4 kB / 0.6928 GB, free: 24.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5396, allocations: 8.688 kB / 0.6928 GB, free: 24.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.5397, allocations: 354.8 kB / 0.6931 GB, free: 23.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.5401, allocations: 137.1 kB / 0.6932 GB, free: 23.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.5406, allocations: 243.8 kB / 0.6935 GB, free: 23.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.5411, allocations: 163.9 kB / 0.6936 GB, free: 23.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5411, allocations: 4 kB / 0.6936 GB, free: 23.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001511/0.5426, allocations: 0.5637 MB / 0.6942 GB, free: 22.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.5427, allocations: 11.95 kB / 0.6942 GB, free: 22.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5427, allocations: 0 / 0.6942 GB, free: 22.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.5433, allocations: 126.5 kB / 0.6943 GB, free: 22.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.544, allocations: 99.97 kB / 0.6944 GB, free: 22.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/0.5482, allocations: 4.664 MB / 0.699 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.5487, allocations: 27.92 kB / 0.699 GB, free: 17.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.5488, allocations: 16 kB / 0.699 GB, free: 17.49 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.0002629/0.549, allocations: 169.6 kB / 0.6992 GB, free: 17.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5492, allocations: 43.52 kB / 0.6992 GB, free: 17.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.5493, allocations: 54.2 kB / 0.6993 GB, free: 17.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5493, allocations: 7.984 kB / 0.6993 GB, free: 17.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.5493, allocations: 7.312 kB / 0.6993 GB, free: 17.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5493, allocations: 0 / 0.6993 GB, free: 17.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.5521, allocations: 1.34 MB / 0.7006 GB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5521, allocations: 0 / 0.7006 GB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.5529, allocations: 104 kB / 0.7007 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.5533, allocations: 101.1 kB / 0.7008 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.5534, allocations: 15.94 kB / 0.7008 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.5568, allocations: 4.097 MB / 0.7048 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5569, allocations: 4.125 kB / 0.7048 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.5588, allocations: 0.9465 MB / 0.7057 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.5591, allocations: 140.8 kB / 0.7059 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.5591, allocations: 12 kB / 0.7059 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5596, allocations: 19.98 kB / 0.7059 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.5597, allocations: 39.89 kB / 0.7059 GB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.5598, allocations: 19.98 kB / 0.7059 GB, free: 9.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.56, allocations: 174 kB / 0.7061 GB, free: 9.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.56, allocations: 6.625 kB / 0.7061 GB, free: 9.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009174/0.5609, allocations: 124 kB / 0.7062 GB, free: 9.562 MB / 362.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.0001695/0.5611, allocations: 120.5 kB / 0.7064 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.5628, allocations: 0.7708 MB / 0.7071 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5629, allocations: 0 / 0.7071 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.564, allocations: 0.5892 MB / 0.7077 GB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.565, allocations: 61.67 kB / 0.7077 GB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.5675, allocations: 1.316 MB / 0.709 GB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.5678, allocations: 0.8319 MB / 0.7098 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.5681, allocations: 35.06 kB / 0.7099 GB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5682, allocations: 31.44 kB / 0.7099 GB, free: 5.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5682, allocations: 0 / 0.7099 GB, free: 5.723 MB / 362.7 MB Notification: Performance of Templates: time 0.01206/0.5802, allocations: 4.027 MB / 0.7138 GB, free: 1.793 MB / 362.7 MB