Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002638/0.002638, allocations: 349.4 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.569/3.569, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.00352/0.00352, allocations: 225.4 kB / 397.9 MB, free: 4.891 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.4677/0.4677, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.00048, allocations: 19.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.0902, allocations: 48.69 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5224, allocations: 104.2 MB / 0.7085 GB, free: 8.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.5227, allocations: 79.97 kB / 0.7085 GB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9909/1.514, allocations: 170.6 MB / 0.8751 GB, free: 36.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.125e-06/1.514, allocations: 0 / 0.8751 GB, free: 36.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004665/1.514, allocations: 148 kB / 0.8753 GB, free: 36.3 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.03344/1.548, allocations: 8.087 MB / 0.8832 GB, free: 28.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.548, allocations: 8.031 kB / 0.8832 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04743/1.595, allocations: 6.03 MB / 0.8891 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02594/1.621, allocations: 8.418 MB / 0.8973 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007603/1.622, allocations: 0.5656 MB / 0.8978 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00467/1.627, allocations: 0.7651 MB / 0.8986 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07517/1.702, allocations: 20.74 MB / 0.9188 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000568/1.703, allocations: 95.19 kB / 0.9189 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004481/1.707, allocations: 359.8 kB / 0.9193 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005037/1.712, allocations: 1.958 MB / 0.9212 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7192/2.431, allocations: 18.29 MB / 0.939 GB, free: 60.51 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1493/2.581, allocations: 82.13 MB / 1.019 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02972/2.61, allocations: 7.385 MB / 1.026 GB, free: 9.566 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009065/2.62, allocations: 3.973 MB / 1.03 GB, free: 7.957 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04917/2.669, allocations: 18.08 MB / 1.048 GB, free: 14.8 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.083e-05/2.669, allocations: 63.72 kB / 1.048 GB, free: 14.74 MB / 442.8 MB Notification: Performance of pre-optimization done (n=332): time 7.805e-06/2.669, allocations: 0 / 1.048 GB, free: 14.74 MB / 442.8 MB Notification: Performance of matching and sorting (n=413): time 0.2547/2.924, allocations: 36.14 MB / 1.083 GB, free: 7.289 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/2.924, allocations: 200.7 kB / 1.084 GB, free: 7.059 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02865/2.953, allocations: 6.517 MB / 1.09 GB, free: 1.629 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001352/2.954, allocations: 85.7 kB / 1.09 GB, free: 1.539 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.4058/3.36, allocations: 5.422 MB / 1.095 GB, free: 93.19 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003413/3.363, allocations: 1.524 MB / 1.097 GB, free: 92.34 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002067/3.366, allocations: 205.4 kB / 1.097 GB, free: 92.34 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001344/3.367, allocations: 0.7531 MB / 1.098 GB, free: 92.02 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01333/3.38, allocations: 4.19 MB / 1.102 GB, free: 92 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01724/3.398, allocations: 10.03 MB / 1.112 GB, free: 84.58 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/3.415, allocations: 6.342 MB / 1.118 GB, free: 84.52 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003575/3.415, allocations: 61.62 kB / 1.118 GB, free: 84.52 MB / 458.8 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.06203/3.477, allocations: 15.95 MB / 1.133 GB, free: 83.44 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/3.477, allocations: 92.94 kB / 1.134 GB, free: 83.44 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004244/3.478, allocations: 204.8 kB / 1.134 GB, free: 83.44 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/3.492, allocations: 2.355 MB / 1.136 GB, free: 83.43 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01665/3.509, allocations: 2.445 MB / 1.138 GB, free: 83.22 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0331/3.542, allocations: 11.61 MB / 1.15 GB, free: 79.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01357/3.556, allocations: 0.6877 MB / 1.15 GB, free: 79.02 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002812/3.559, allocations: 0.5857 MB / 1.151 GB, free: 78.93 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1269): * Single equations (assignments): 1262 * Array equations: 6 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01095/3.57, allocations: 3.76 MB / 1.155 GB, free: 77.22 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/3.571, allocations: 0.5942 MB / 1.155 GB, free: 76.89 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/3.602, allocations: 8.164 MB / 1.163 GB, free: 73.96 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/3.602, allocations: 63.61 kB / 1.163 GB, free: 73.96 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/3.602, allocations: 13.3 kB / 1.163 GB, free: 73.96 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-05/3.602, allocations: 22.42 kB / 1.163 GB, free: 73.96 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0615/3.664, allocations: 18.81 MB / 1.182 GB, free: 66.62 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/3.664, allocations: 9.156 kB / 1.182 GB, free: 66.62 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005763/3.67, allocations: 0.6428 MB / 1.182 GB, free: 66.56 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/3.682, allocations: 1.9 MB / 1.184 GB, free: 66.22 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009162/3.683, allocations: 79.53 kB / 1.184 GB, free: 66.18 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/3.711, allocations: 9.95 MB / 1.194 GB, free: 58.59 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/3.711, allocations: 15.94 kB / 1.194 GB, free: 58.57 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03731/3.748, allocations: 12.36 MB / 1.206 GB, free: 47.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004518/3.753, allocations: 1.156 MB / 1.207 GB, free: 46.62 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/3.755, allocations: 83.75 kB / 1.207 GB, free: 46.54 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006491/3.762, allocations: 263.6 kB / 1.207 GB, free: 46.37 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/3.763, allocations: 257.3 kB / 1.208 GB, free: 46.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004228/3.763, allocations: 111.9 kB / 1.208 GB, free: 46.09 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01078/3.774, allocations: 4.068 MB / 1.212 GB, free: 42.78 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.82e-07/3.774, allocations: 0 / 1.212 GB, free: 42.78 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01254/3.787, allocations: 1.936 MB / 1.214 GB, free: 40.86 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (324): * Single equations (assignments): 317 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/3.788, allocations: 283.5 kB / 1.214 GB, free: 40.6 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02434/3.813, allocations: 9.835 MB / 1.224 GB, free: 31.88 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/3.813, allocations: 0 / 1.224 GB, free: 31.88 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008252/3.821, allocations: 3.334 MB / 1.227 GB, free: 28.89 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008611/3.83, allocations: 0.781 MB / 1.228 GB, free: 28.22 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04958/3.879, allocations: 20.73 MB / 1.248 GB, free: 9.031 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01463/3.894, allocations: 5.754 MB / 1.253 GB, free: 4.801 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.02165/3.916, allocations: 3.388 MB / 1.257 GB, free: 2.812 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3402/4.256, allocations: 0.5169 MB / 1.257 GB, free: 73.16 MB / 458.8 MB Notification: Performance of SimCode: time 1.283e-06/4.256, allocations: 2.531 kB / 1.257 GB, free: 73.16 MB / 458.8 MB Notification: Performance of Templates: time 0.2021/4.458, allocations: 68.5 MB / 1.324 GB, free: 66.92 MB / 458.8 MB