Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002678/0.002682, allocations: 349 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.554/3.554, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003602/0.003601, allocations: 214.1 kB / 397.9 MB, free: 4.98 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.5111/0.5111, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007189/0.0007192, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1265, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5515, allocations: 96.17 MB / 0.7006 GB, free: 16.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5518, allocations: 82.94 kB / 0.7007 GB, free: 16.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.794/1.346, allocations: 125.3 MB / 0.8231 GB, free: 82.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.346, allocations: 0 / 0.8231 GB, free: 82.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000438/1.346, allocations: 117.2 kB / 0.8232 GB, free: 82.27 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02819/1.375, allocations: 6.638 MB / 0.8297 GB, free: 78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.375, allocations: 14.83 kB / 0.8297 GB, free: 78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05044/1.425, allocations: 6.667 MB / 0.8362 GB, free: 74.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/1.446, allocations: 6.157 MB / 0.8422 GB, free: 68.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/1.446, allocations: 450 kB / 0.8427 GB, free: 67.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00376/1.45, allocations: 0.5905 MB / 0.8432 GB, free: 67.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04528/1.495, allocations: 15.6 MB / 0.8585 GB, free: 50.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004354/1.496, allocations: 67.39 kB / 0.8585 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003605/1.499, allocations: 287.8 kB / 0.8588 GB, free: 50.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/1.503, allocations: 1.615 MB / 0.8604 GB, free: 48.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/1.543, allocations: 13.83 MB / 0.8739 GB, free: 34.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4402/1.983, allocations: 63.88 MB / 0.9363 GB, free: 50.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/2.007, allocations: 6.379 MB / 0.9425 GB, free: 49.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007811/2.014, allocations: 3.567 MB / 0.946 GB, free: 48.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03826/2.053, allocations: 14.33 MB / 0.96 GB, free: 45.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/2.053, allocations: 70.89 kB / 0.9601 GB, free: 45.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 6.803e-06/2.053, allocations: 0 / 0.9601 GB, free: 45.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.3027/2.356, allocations: 41.79 MB / 1.001 GB, free: 37.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/2.356, allocations: 210.8 kB / 1.001 GB, free: 37.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/2.367, allocations: 5.413 MB / 1.006 GB, free: 35.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009115/2.368, allocations: 71.95 kB / 1.006 GB, free: 35.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003916/2.372, allocations: 4.415 MB / 1.011 GB, free: 32.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002146/2.375, allocations: 1.257 MB / 1.012 GB, free: 31.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/2.376, allocations: 173 kB / 1.012 GB, free: 31.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005964/2.376, allocations: 0.6824 MB / 1.013 GB, free: 30.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/2.388, allocations: 4.559 MB / 1.017 GB, free: 27.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01381/2.401, allocations: 9.535 MB / 1.027 GB, free: 16.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.415, allocations: 6.441 MB / 1.033 GB, free: 10.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/2.416, allocations: 48 kB / 1.033 GB, free: 10.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07311/2.489, allocations: 18.7 MB / 1.051 GB, free: 9.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.489, allocations: 80 kB / 1.051 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003137/2.489, allocations: 172 kB / 1.051 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04157/2.531, allocations: 5.64 MB / 1.057 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/2.545, allocations: 2.051 MB / 1.059 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0576/2.603, allocations: 23.67 MB / 1.082 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.615, allocations: 0.5393 MB / 1.083 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/2.618, allocations: 0.5056 MB / 1.083 GB, free: 9.012 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01037/2.628, allocations: 3.089 MB / 1.086 GB, free: 5.918 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/2.63, allocations: 0.4935 MB / 1.087 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0602/2.69, allocations: 12.43 MB / 1.099 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001451/2.69, allocations: 55.98 kB / 1.099 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/2.69, allocations: 8 kB / 1.099 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-05/2.69, allocations: 15.95 kB / 1.099 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4534/3.144, allocations: 24.03 MB / 1.122 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.956e-05/3.144, allocations: 7.219 kB / 1.122 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005887/3.15, allocations: 0.5718 MB / 1.123 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03541/3.185, allocations: 4.65 MB / 1.127 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009853/3.186, allocations: 59.62 kB / 1.127 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04107/3.227, allocations: 18.95 MB / 1.146 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/3.227, allocations: 5.312 kB / 1.146 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06006/3.288, allocations: 16.78 MB / 1.162 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/3.292, allocations: 1.222 MB / 1.163 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/3.294, allocations: 57.08 kB / 1.164 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005946/3.3, allocations: 246.4 kB / 1.164 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/3.301, allocations: 194.6 kB / 1.164 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/3.301, allocations: 88.62 kB / 1.164 GB, free: 127.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008553/3.31, allocations: 3.364 MB / 1.167 GB, free: 126.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.31, allocations: 0.875 kB / 1.167 GB, free: 126.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01096/3.321, allocations: 1.707 MB / 1.169 GB, free: 126.6 MB / 490.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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/3.322, allocations: 221.3 kB / 1.169 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02373/3.346, allocations: 10.5 MB / 1.179 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/3.346, allocations: 2.094 kB / 1.179 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009468/3.356, allocations: 3.986 MB / 1.183 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008164/3.364, allocations: 0.6218 MB / 1.184 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/3.404, allocations: 18.41 MB / 1.202 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/3.414, allocations: 4.748 MB / 1.207 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01291/3.427, allocations: 2.991 MB / 1.209 GB, free: 99.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/3.43, allocations: 355.1 kB / 1.21 GB, free: 99.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.422e-06/3.43, allocations: 0 / 1.21 GB, free: 99.04 MB / 490.7 MB Notification: Performance of Templates: time 0.5353/3.965, allocations: 73.61 MB / 1.282 GB, free: 138 MB / 490.7 MB