Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002752/0.002756, allocations: 349.1 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.443/3.443, allocations: 341.5 MB / 358.2 MB, free: 28.74 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.003844/0.003844, allocations: 220.4 kB / 397.8 MB, free: 6.148 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.5694/0.5694, allocations: 76.09 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004552, allocations: 19.98 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.0894, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.5564, allocations: 94.32 MB / 0.6988 GB, free: 9.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5568, allocations: 81.52 kB / 0.6989 GB, free: 9.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4525/1.009, allocations: 102.1 MB / 0.7986 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.008e-06/1.009, allocations: 4 kB / 0.7986 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005694/1.01, allocations: 104 kB / 0.7987 GB, free: 10.06 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.03553/1.046, allocations: 5.515 MB / 0.8041 GB, free: 4.465 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.046, allocations: 12.03 kB / 0.8041 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3629/1.409, allocations: 5.204 MB / 0.8092 GB, free: 85.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0209/1.43, allocations: 6.168 MB / 0.8152 GB, free: 85.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/1.43, allocations: 371.3 kB / 0.8156 GB, free: 85.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/1.433, allocations: 0.4911 MB / 0.8161 GB, free: 85.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/1.471, allocations: 12.21 MB / 0.828 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003789/1.472, allocations: 75.08 kB / 0.8281 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/1.474, allocations: 236.9 kB / 0.8283 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/1.476, allocations: 1.135 MB / 0.8294 GB, free: 82.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.507, allocations: 10.11 MB / 0.8393 GB, free: 82.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08263/1.59, allocations: 55.48 MB / 0.8935 GB, free: 43.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02368/1.614, allocations: 5.62 MB / 0.8989 GB, free: 41.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005633/1.619, allocations: 2.852 MB / 0.9017 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/1.641, allocations: 8.724 MB / 0.9102 GB, free: 35.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/1.641, allocations: 58.17 kB / 0.9103 GB, free: 35.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 7.224e-06/1.641, allocations: 3.906 kB / 0.9103 GB, free: 35.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.228/1.869, allocations: 35.91 MB / 0.9454 GB, free: 11.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.869, allocations: 215.3 kB / 0.9456 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.879, allocations: 4.738 MB / 0.9502 GB, free: 6.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007819/1.88, allocations: 66.88 kB / 0.9503 GB, free: 6.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003509/1.883, allocations: 3.58 MB / 0.9538 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.885, allocations: 0.9756 MB / 0.9547 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009443/1.886, allocations: 133.5 kB / 0.9548 GB, free: 1.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004733/1.887, allocations: 0.5911 MB / 0.9554 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008381/1.895, allocations: 3 MB / 0.9584 GB, free: 14.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/1.908, allocations: 6.821 MB / 0.965 GB, free: 5.621 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.92, allocations: 4.427 MB / 0.9693 GB, free: 1.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/1.92, allocations: 36 kB / 0.9694 GB, free: 1.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.3697/2.29, allocations: 13.02 MB / 0.9821 GB, free: 90.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.29, allocations: 66.31 kB / 0.9822 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000293/2.29, allocations: 133.6 kB / 0.9823 GB, free: 90.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/2.312, allocations: 4.072 MB / 0.9863 GB, free: 90.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008858/2.321, allocations: 1.41 MB / 0.9876 GB, free: 90.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.057/2.378, allocations: 25.88 MB / 1.013 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008304/2.386, allocations: 393.3 kB / 1.013 GB, free: 83.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/2.388, allocations: 398.2 kB / 1.014 GB, free: 83.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],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 (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007259/2.395, allocations: 2.475 MB / 1.016 GB, free: 82.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.397, allocations: 444.5 kB / 1.017 GB, free: 82.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02901/2.426, allocations: 8.093 MB / 1.024 GB, free: 80.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.515e-05/2.426, allocations: 29.16 kB / 1.024 GB, free: 80.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/2.426, allocations: 12.16 kB / 1.024 GB, free: 80.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/2.426, allocations: 15.02 kB / 1.024 GB, free: 80.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05765/2.484, allocations: 16.66 MB / 1.041 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-05/2.484, allocations: 3.656 kB / 1.041 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/2.487, allocations: 304.3 kB / 1.041 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01908/2.506, allocations: 3.766 MB / 1.045 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007237/2.507, allocations: 53.53 kB / 1.045 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05116/2.558, allocations: 24.61 MB / 1.069 GB, free: 55.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/2.558, allocations: 15.89 kB / 1.069 GB, free: 55.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/2.594, allocations: 11.96 MB / 1.08 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00347/2.597, allocations: 0.9498 MB / 1.081 GB, free: 44.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/2.599, allocations: 45.09 kB / 1.081 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004934/2.604, allocations: 169.1 kB / 1.082 GB, free: 44.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/2.605, allocations: 189.6 kB / 1.082 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004692/2.606, allocations: 72.98 kB / 1.082 GB, free: 44.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008039/2.614, allocations: 2.987 MB / 1.085 GB, free: 41.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/2.614, allocations: 0 / 1.085 GB, free: 41.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009569/2.624, allocations: 1.425 MB / 1.086 GB, free: 40.21 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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/2.625, allocations: 193 kB / 1.086 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.021/2.646, allocations: 8.128 MB / 1.094 GB, free: 32.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/2.646, allocations: 5.922 kB / 1.094 GB, free: 32.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009656/2.656, allocations: 3.475 MB / 1.098 GB, free: 29.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/2.663, allocations: 0.5784 MB / 1.098 GB, free: 29.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/2.696, allocations: 14.38 MB / 1.112 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009581/2.705, allocations: 4.029 MB / 1.116 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00986/2.715, allocations: 2.021 MB / 1.118 GB, free: 9.145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/2.717, allocations: 283.4 kB / 1.118 GB, free: 8.867 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/2.717, allocations: 0 / 1.118 GB, free: 8.867 MB / 442.7 MB Notification: Performance of Templates: time 0.5398/3.257, allocations: 66.12 MB / 1.183 GB, free: 92.26 MB / 458.7 MB