Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002734/0.002733, allocations: 359.6 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 4.095/4.095, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003516/0.003516, allocations: 227.8 kB / 451 MB, free: 145.1 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.5034/0.5034, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004827, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.5967, allocations: 109.5 MB / 0.7871 GB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5971, allocations: 87.58 kB / 0.7871 GB, free: 8.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/1.599, allocations: 153.2 MB / 0.9368 GB, free: 94.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.599, allocations: 0 / 0.9368 GB, free: 94.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004312/1.599, allocations: 129.8 kB / 0.9369 GB, free: 94.42 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02876/1.628, allocations: 6.934 MB / 0.9437 GB, free: 91.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.628, allocations: 12.53 kB / 0.9437 GB, free: 91.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04652/1.675, allocations: 5.79 MB / 0.9493 GB, free: 91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02332/1.698, allocations: 7.075 MB / 0.9562 GB, free: 90.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000747/1.699, allocations: 0.5285 MB / 0.9568 GB, free: 90.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004567/1.704, allocations: 0.7018 MB / 0.9574 GB, free: 90.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06153/1.765, allocations: 18.88 MB / 0.9759 GB, free: 83.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006009/1.766, allocations: 85.91 kB / 0.976 GB, free: 83.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004525/1.77, allocations: 337.2 kB / 0.9763 GB, free: 83.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/1.775, allocations: 1.723 MB / 0.978 GB, free: 82.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05452/1.829, allocations: 16.55 MB / 0.9941 GB, free: 71.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1317/1.961, allocations: 74.08 MB / 1.066 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04451/2.005, allocations: 6.199 MB / 1.073 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01165/2.017, allocations: 2.732 MB / 1.075 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4157/2.433, allocations: 13.8 MB / 1.089 GB, free: 99.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/2.433, allocations: 67.72 kB / 1.089 GB, free: 99.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 6.993e-06/2.433, allocations: 0 / 1.089 GB, free: 99.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=344): time 0.1542/2.587, allocations: 23.56 MB / 1.112 GB, free: 95.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/2.587, allocations: 196.2 kB / 1.112 GB, free: 95.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01411/2.602, allocations: 5.879 MB / 1.118 GB, free: 95.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007476/2.602, allocations: 75.06 kB / 1.118 GB, free: 95.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004425/2.607, allocations: 4.993 MB / 1.123 GB, free: 92.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001913/2.609, allocations: 1.287 MB / 1.124 GB, free: 91.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/2.61, allocations: 190.5 kB / 1.124 GB, free: 91.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008479/2.611, allocations: 0.7061 MB / 1.125 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009153/2.62, allocations: 3.26 MB / 1.128 GB, free: 91.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/2.634, allocations: 8.731 MB / 1.136 GB, free: 83.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.646, allocations: 5.252 MB / 1.142 GB, free: 81.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002095/2.646, allocations: 54.44 kB / 1.142 GB, free: 81.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03941/2.686, allocations: 12.74 MB / 1.154 GB, free: 77.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/2.686, allocations: 88.66 kB / 1.154 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003526/2.686, allocations: 194.7 kB / 1.154 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007839/2.694, allocations: 1.324 MB / 1.156 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/2.708, allocations: 2.182 MB / 1.158 GB, free: 76.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/2.727, allocations: 7.172 MB / 1.165 GB, free: 72.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/2.738, allocations: 0.5653 MB / 1.165 GB, free: 72.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002503/2.74, allocations: 0.5426 MB / 1.166 GB, free: 72.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1152): * Single equations (assignments): 1145 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01046/2.751, allocations: 3.442 MB / 1.169 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/2.752, allocations: 0.5326 MB / 1.17 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/2.773, allocations: 5.321 MB / 1.175 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.385e-05/2.773, allocations: 37.06 kB / 1.175 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/2.773, allocations: 14.53 kB / 1.175 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/2.774, allocations: 18.81 kB / 1.175 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04652/2.82, allocations: 14.1 MB / 1.189 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.545e-05/2.82, allocations: 12 kB / 1.189 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004673/2.825, allocations: 0.5354 MB / 1.189 GB, free: 56.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006589/2.832, allocations: 0.9187 MB / 1.19 GB, free: 55.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007458/2.832, allocations: 76.28 kB / 1.19 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/2.847, allocations: 5.464 MB / 1.196 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/2.847, allocations: 19.83 kB / 1.196 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/2.871, allocations: 8.476 MB / 1.204 GB, free: 43.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/2.874, allocations: 0.9489 MB / 1.205 GB, free: 42.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/2.875, allocations: 65.3 kB / 1.205 GB, free: 42.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004603/2.88, allocations: 188.9 kB / 1.205 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/2.881, allocations: 224.9 kB / 1.205 GB, free: 41.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/2.881, allocations: 102.2 kB / 1.205 GB, free: 41.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008217/2.889, allocations: 3.652 MB / 1.209 GB, free: 38.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/2.889, allocations: 0 / 1.209 GB, free: 38.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01076/2.9, allocations: 1.653 MB / 1.211 GB, free: 37.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (267): * Single equations (assignments): 260 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/2.901, allocations: 272.2 kB / 1.211 GB, free: 37.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01871/2.92, allocations: 7.762 MB / 1.218 GB, free: 30.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.61e-05/2.92, allocations: 4.812 kB / 1.218 GB, free: 30.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.931, allocations: 2.401 MB / 1.221 GB, free: 27.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008479/2.939, allocations: 0.6905 MB / 1.221 GB, free: 27.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/2.982, allocations: 18.21 MB / 1.239 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/2.995, allocations: 5.316 MB / 1.244 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.015/3.01, allocations: 3.043 MB / 1.247 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/3.012, allocations: 378 kB / 1.248 GB, free: 4.246 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/3.012, allocations: 0 / 1.248 GB, free: 4.246 MB / 490.7 MB Notification: Performance of Templates: time 0.5934/3.606, allocations: 55.35 MB / 1.302 GB, free: 99.57 MB / 0.4949 GB