Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003049/0.003054, allocations: 360.1 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 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003527/0.003527, allocations: 227.4 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.5359/0.5359, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004689, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.5987, allocations: 100.3 MB / 0.778 GB, free: 1.301 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.599, allocations: 81.77 kB / 0.7781 GB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4433/1.042, allocations: 94.06 MB / 0.8699 GB, free: 10.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.042, allocations: 0 / 0.8699 GB, free: 10.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003803/1.043, allocations: 80 kB / 0.87 GB, free: 10.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.02166/1.064, allocations: 4.984 MB / 0.8749 GB, free: 5.582 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.065, allocations: 8.031 kB / 0.8749 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04114/1.106, allocations: 5.091 MB / 0.8798 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/1.124, allocations: 5.088 MB / 0.8848 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005418/1.124, allocations: 324.6 kB / 0.8851 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002863/1.127, allocations: 443.7 kB / 0.8855 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3729/1.5, allocations: 10.97 MB / 0.8963 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/1.5, allocations: 64.59 kB / 0.8963 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/1.502, allocations: 209.4 kB / 0.8965 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002667/1.505, allocations: 1.017 MB / 0.8975 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03203/1.537, allocations: 9.182 MB / 0.9065 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07139/1.608, allocations: 47.48 MB / 0.9528 GB, free: 71.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/1.627, allocations: 4.14 MB / 0.9569 GB, free: 70.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/1.631, allocations: 1.816 MB / 0.9587 GB, free: 69.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/1.647, allocations: 7.434 MB / 0.9659 GB, free: 65.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.647, allocations: 60.91 kB / 0.966 GB, free: 65.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 5.861e-06/1.647, allocations: 0 / 0.966 GB, free: 65.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.3103/1.958, allocations: 41.08 MB / 1.006 GB, free: 54.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/1.958, allocations: 213.2 kB / 1.006 GB, free: 54.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008988/1.967, allocations: 4.264 MB / 1.01 GB, free: 50.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000772/1.968, allocations: 57.7 kB / 1.011 GB, free: 50.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.971, allocations: 3.219 MB / 1.014 GB, free: 47.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.972, allocations: 0.8747 MB / 1.015 GB, free: 46.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000861/1.973, allocations: 124.7 kB / 1.015 GB, free: 46.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004161/1.973, allocations: 0.5705 MB / 1.015 GB, free: 45.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00769/1.981, allocations: 3.421 MB / 1.019 GB, free: 42.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.992, allocations: 7.05 MB / 1.025 GB, free: 33.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.002, allocations: 4.756 MB / 1.03 GB, free: 28.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/2.002, allocations: 40 kB / 1.03 GB, free: 28.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06329/2.066, allocations: 15.45 MB / 1.045 GB, free: 13.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/2.066, allocations: 60 kB / 1.045 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/2.066, allocations: 127.8 kB / 1.045 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04157/2.108, allocations: 5.936 MB / 1.051 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009428/2.117, allocations: 1.427 MB / 1.053 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4103/2.528, allocations: 25 MB / 1.077 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008876/2.536, allocations: 387 kB / 1.077 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/2.539, allocations: 378.6 kB / 1.078 GB, free: 105.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007307/2.546, allocations: 2.221 MB / 1.08 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/2.547, allocations: 401.6 kB / 1.08 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05508/2.602, allocations: 10.81 MB / 1.091 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.839e-05/2.603, allocations: 29.11 kB / 1.091 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.591e-05/2.603, allocations: 10.44 kB / 1.091 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-05/2.603, allocations: 12.66 kB / 1.091 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07436/2.677, allocations: 20.19 MB / 1.111 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/2.677, allocations: 13.7 kB / 1.111 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/2.681, allocations: 377.9 kB / 1.111 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03646/2.717, allocations: 4.996 MB / 1.116 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007046/2.718, allocations: 53.88 kB / 1.116 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04385/2.762, allocations: 20.17 MB / 1.136 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/2.762, allocations: 4.062 kB / 1.136 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05375/2.816, allocations: 13.97 MB / 1.149 GB, free: 86.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00362/2.82, allocations: 0.9654 MB / 1.15 GB, free: 86.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/2.821, allocations: 40.11 kB / 1.15 GB, free: 86.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004902/2.826, allocations: 175.2 kB / 1.15 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/2.827, allocations: 149.7 kB / 1.151 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004015/2.828, allocations: 68.66 kB / 1.151 GB, free: 86.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006835/2.835, allocations: 2.673 MB / 1.153 GB, free: 85.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.284e-06/2.835, allocations: 1.969 kB / 1.153 GB, free: 85.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00899/2.844, allocations: 1.331 MB / 1.154 GB, free: 85.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/2.845, allocations: 185 kB / 1.155 GB, free: 85.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01809/2.863, allocations: 7.953 MB / 1.162 GB, free: 82.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/2.863, allocations: 3.812 kB / 1.162 GB, free: 82.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007473/2.87, allocations: 3.116 MB / 1.165 GB, free: 81.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/2.876, allocations: 0.5103 MB / 1.166 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/2.906, allocations: 13.44 MB / 1.179 GB, free: 68.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007815/2.914, allocations: 3.604 MB / 1.183 GB, free: 66.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009236/2.923, allocations: 1.963 MB / 1.185 GB, free: 65.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.925, allocations: 266.7 kB / 1.185 GB, free: 64.85 MB / 490.7 MB Notification: Performance of SimCode: time 2.254e-06/2.925, allocations: 3.594 kB / 1.185 GB, free: 64.85 MB / 490.7 MB Notification: Performance of Templates: time 0.1531/3.078, allocations: 63.72 MB / 1.247 GB, free: 2.312 MB / 490.7 MB