Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003763/0.003769, allocations: 348 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.637/3.637, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.0036/0.0036, allocations: 230.1 kB / 397.9 MB, free: 4.965 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.5461/0.5461, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004671, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08441, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5408, allocations: 102 MB / 0.7064 GB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5411, allocations: 87.5 kB / 0.7064 GB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.843/1.384, allocations: 141.1 MB / 0.8443 GB, free: 68.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.384, allocations: 0 / 0.8443 GB, free: 68.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000478/1.385, allocations: 139.7 kB / 0.8444 GB, free: 68.05 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: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02932/1.414, allocations: 7.128 MB / 0.8514 GB, free: 60.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.414, allocations: 12.03 kB / 0.8514 GB, free: 60.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05251/1.467, allocations: 6.864 MB / 0.8581 GB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02487/1.492, allocations: 7.799 MB / 0.8657 GB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005727/1.492, allocations: 492.8 kB / 0.8662 GB, free: 45.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/1.496, allocations: 0.6208 MB / 0.8668 GB, free: 45.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04711/1.543, allocations: 15.47 MB / 0.8819 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004844/1.543, allocations: 79.23 kB / 0.882 GB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00299/1.546, allocations: 307.8 kB / 0.8823 GB, free: 28.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003074/1.549, allocations: 1.373 MB / 0.8836 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04061/1.59, allocations: 12.68 MB / 0.896 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4841/2.074, allocations: 64.2 MB / 0.9587 GB, free: 40.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03041/2.105, allocations: 6.184 MB / 0.9647 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007293/2.112, allocations: 3.168 MB / 0.9678 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02702/2.139, allocations: 11.07 MB / 0.9786 GB, free: 37.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/2.139, allocations: 63.34 kB / 0.9787 GB, free: 37.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 7.785e-06/2.139, allocations: 0 / 0.9787 GB, free: 37.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=337): time 0.2451/2.384, allocations: 36.8 MB / 1.015 GB, free: 31.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/2.384, allocations: 248.1 kB / 1.015 GB, free: 31.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/2.4, allocations: 5.614 MB / 1.02 GB, free: 29.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008862/2.401, allocations: 76.86 kB / 1.02 GB, free: 29.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004232/2.405, allocations: 4.453 MB / 1.025 GB, free: 25.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/2.407, allocations: 1.241 MB / 1.026 GB, free: 24.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/2.409, allocations: 162.5 kB / 1.026 GB, free: 24.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006286/2.409, allocations: 0.6501 MB / 1.027 GB, free: 24.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009237/2.418, allocations: 3.602 MB / 1.03 GB, free: 23.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/2.431, allocations: 8.163 MB / 1.038 GB, free: 14.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/2.443, allocations: 5.305 MB / 1.043 GB, free: 10.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/2.443, allocations: 48 kB / 1.043 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.05091/2.494, allocations: 14.67 MB / 1.058 GB, free: 14.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.494, allocations: 75.75 kB / 1.058 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003449/2.494, allocations: 160.8 kB / 1.058 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02604/2.52, allocations: 3.527 MB / 1.061 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/2.535, allocations: 1.794 MB / 1.063 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05291/2.588, allocations: 17.99 MB / 1.081 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.598, allocations: 483.3 kB / 1.081 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/2.6, allocations: 469.5 kB / 1.082 GB, free: 9.379 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (969): * Single equations (assignments): 965 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009927/2.61, allocations: 3.119 MB / 1.085 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/2.612, allocations: 0.5322 MB / 1.085 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03931/2.651, allocations: 8.822 MB / 1.094 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.159e-05/2.652, allocations: 36 kB / 1.094 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-05/2.652, allocations: 16 kB / 1.094 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-05/2.652, allocations: 19.89 kB / 1.094 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4647/3.116, allocations: 18.56 MB / 1.112 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.78e-05/3.117, allocations: 7.266 kB / 1.112 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007134/3.124, allocations: 493.8 kB / 1.113 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03101/3.155, allocations: 3.054 MB / 1.116 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009724/3.156, allocations: 61.67 kB / 1.116 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04792/3.204, allocations: 15.62 MB / 1.131 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/3.204, allocations: 14.19 kB / 1.131 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04503/3.249, allocations: 13.16 MB / 1.144 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004136/3.253, allocations: 1.089 MB / 1.145 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/3.255, allocations: 61.45 kB / 1.145 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005942/3.261, allocations: 196.3 kB / 1.145 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/3.263, allocations: 227.4 kB / 1.145 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004955/3.263, allocations: 89.36 kB / 1.145 GB, free: 113.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00952/3.273, allocations: 3.535 MB / 1.149 GB, free: 111.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.102e-06/3.273, allocations: 2.656 kB / 1.149 GB, free: 111.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01134/3.284, allocations: 1.674 MB / 1.15 GB, free: 111.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.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 (253): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/3.286, allocations: 245.6 kB / 1.151 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02644/3.312, allocations: 8.916 MB / 1.159 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/3.312, allocations: 1.5 kB / 1.159 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01405/3.326, allocations: 3.475 MB / 1.163 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01301/3.339, allocations: 0.7426 MB / 1.163 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06624/3.406, allocations: 17.95 MB / 1.181 GB, free: 97.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01718/3.423, allocations: 4.958 MB / 1.186 GB, free: 96.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01869/3.442, allocations: 2.59 MB / 1.188 GB, free: 96.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002711/3.444, allocations: 356.8 kB / 1.189 GB, free: 96.02 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/3.444, allocations: 1.312 kB / 1.189 GB, free: 96.02 MB / 474.7 MB Notification: Performance of Templates: time 0.2083/3.653, allocations: 68.72 MB / 1.256 GB, free: 37.29 MB / 474.7 MB