Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004737/0.004737, allocations: 349.9 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.537/3.537, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003642/0.003642, allocations: 216.7 kB / 397.8 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.511/0.511, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.000461, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09243, allocations: 48.69 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.546, allocations: 93.45 MB / 0.698 GB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5463, allocations: 79.78 kB / 0.6981 GB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4154/0.9617, allocations: 94.01 MB / 0.7899 GB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.9618, allocations: 0 / 0.7899 GB, free: 3.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003576/0.9622, allocations: 91.98 kB / 0.79 GB, free: 3.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.02209/0.9843, allocations: 4.972 MB / 0.7948 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9843, allocations: 8.031 kB / 0.7948 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0412/1.026, allocations: 5.087 MB / 0.7998 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/1.044, allocations: 5.103 MB / 0.8048 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/1.044, allocations: 324.6 kB / 0.8051 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00269/1.047, allocations: 435.8 kB / 0.8055 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3439/1.391, allocations: 10.96 MB / 0.8162 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004725/1.392, allocations: 64.88 kB / 0.8163 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/1.394, allocations: 211.3 kB / 0.8165 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003045/1.397, allocations: 1.017 MB / 0.8175 GB, free: 87.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/1.429, allocations: 9.186 MB / 0.8264 GB, free: 87.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06971/1.498, allocations: 47.47 MB / 0.8728 GB, free: 57.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/1.517, allocations: 4.129 MB / 0.8768 GB, free: 55.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/1.521, allocations: 1.809 MB / 0.8786 GB, free: 55.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0175/1.538, allocations: 7.446 MB / 0.8859 GB, free: 50.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.538, allocations: 57.7 kB / 0.8859 GB, free: 50.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.062e-06/1.538, allocations: 4.25 kB / 0.8859 GB, free: 50.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.3116/1.85, allocations: 41.07 MB / 0.926 GB, free: 31.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.85, allocations: 209.3 kB / 0.9262 GB, free: 31.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.86, allocations: 4.278 MB / 0.9304 GB, free: 27.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007502/1.861, allocations: 62.8 kB / 0.9305 GB, free: 27.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003281/1.864, allocations: 3.22 MB / 0.9336 GB, free: 24.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.866, allocations: 0.8711 MB / 0.9345 GB, free: 23.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.867, allocations: 132 kB / 0.9346 GB, free: 23.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004872/1.868, allocations: 0.5705 MB / 0.9351 GB, free: 22.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008169/1.876, allocations: 3.417 MB / 0.9385 GB, free: 19.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.886, allocations: 7.053 MB / 0.9454 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.897, allocations: 4.763 MB / 0.95 GB, free: 5.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.897, allocations: 36 kB / 0.95 GB, free: 5.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06785/1.965, allocations: 15.44 MB / 0.9651 GB, free: 6.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.965, allocations: 60 kB / 0.9652 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/1.965, allocations: 132 kB / 0.9653 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04518/2.011, allocations: 5.937 MB / 0.9711 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3206/2.331, allocations: 1.423 MB / 0.9725 GB, free: 94.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05862/2.39, allocations: 25 MB / 0.9969 GB, free: 92.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00865/2.399, allocations: 387 kB / 0.9973 GB, free: 92.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/2.4, allocations: 380.6 kB / 0.9976 GB, free: 92.07 MB / 442.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.006374/2.407, allocations: 2.215 MB / 0.9998 GB, free: 91.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/2.408, allocations: 403.2 kB / 1 GB, free: 91.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05164/2.46, allocations: 10.82 MB / 1.011 GB, free: 88.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/2.46, allocations: 23.47 kB / 1.011 GB, free: 88.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/2.46, allocations: 13.94 kB / 1.011 GB, free: 88.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/2.46, allocations: 8.484 kB / 1.011 GB, free: 88.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07619/2.536, allocations: 20.21 MB / 1.031 GB, free: 80.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/2.536, allocations: 9.5 kB / 1.031 GB, free: 80.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/2.54, allocations: 381 kB / 1.031 GB, free: 80.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0369/2.577, allocations: 4.997 MB / 1.036 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006831/2.578, allocations: 43.8 kB / 1.036 GB, free: 79.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04503/2.623, allocations: 20.19 MB / 1.056 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/2.623, allocations: 3.75 kB / 1.056 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05461/2.678, allocations: 13.98 MB / 1.069 GB, free: 60.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/2.681, allocations: 0.9599 MB / 1.07 GB, free: 59.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/2.682, allocations: 43.89 kB / 1.07 GB, free: 59.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/2.686, allocations: 170.1 kB / 1.07 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00081/2.687, allocations: 152.8 kB / 1.07 GB, free: 59.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003395/2.687, allocations: 67.28 kB / 1.071 GB, free: 59.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005948/2.693, allocations: 2.685 MB / 1.073 GB, free: 56.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.693, allocations: 2.531 kB / 1.073 GB, free: 56.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008634/2.702, allocations: 1.323 MB / 1.074 GB, free: 55.59 MB / 442.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.0009619/2.703, allocations: 177.9 kB / 1.075 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01755/2.721, allocations: 7.959 MB / 1.082 GB, free: 47.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/2.721, allocations: 0 / 1.082 GB, free: 47.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006877/2.727, allocations: 3.111 MB / 1.085 GB, free: 44.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/2.733, allocations: 0.5124 MB / 1.086 GB, free: 44.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/2.761, allocations: 13.44 MB / 1.099 GB, free: 30.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/2.768, allocations: 3.597 MB / 1.103 GB, free: 27.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009382/2.777, allocations: 1.964 MB / 1.104 GB, free: 25.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/2.779, allocations: 275.2 kB / 1.105 GB, free: 25.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/2.779, allocations: 0 / 1.105 GB, free: 25.18 MB / 442.7 MB Notification: Performance of Templates: time 0.509/3.288, allocations: 63.74 MB / 1.167 GB, free: 103.3 MB / 458.7 MB