Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints") translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009099/0.00091, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.257/1.257, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001522/0.001522, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1733/0.1733, allocations: 37.99 MB / 300.4 MB, free: 5.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.977e-05, allocations: 0 / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.4958, allocations: 100.3 MB / 0.4941 GB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4961, allocations: 75.48 kB / 0.4942 GB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9037/1.4, allocations: 258.4 MB / 0.7465 GB, free: 26.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.4, allocations: 4 kB / 0.7465 GB, free: 26.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001511/1.401, allocations: 264 kB / 0.7468 GB, free: 26.18 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: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.05305/1.454, allocations: 13.54 MB / 0.76 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/1.454, allocations: 8.031 kB / 0.76 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/1.555, allocations: 26.81 MB / 0.7862 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4261/1.981, allocations: 27.09 MB / 0.8127 GB, free: 46.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/1.982, allocations: 0.8905 MB / 0.8135 GB, free: 46.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009993/1.992, allocations: 1.236 MB / 0.8147 GB, free: 46.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07127/2.063, allocations: 27.12 MB / 0.8412 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/2.065, allocations: 183.2 kB / 0.8414 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005604/2.07, allocations: 0.5482 MB / 0.8419 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/2.074, allocations: 2.418 MB / 0.8443 GB, free: 41.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05162/2.126, allocations: 22.06 MB / 0.8658 GB, free: 37.61 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5359/2.662, allocations: 119.6 MB / 0.9827 GB, free: 33.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03617/2.698, allocations: 13.24 MB / 0.9956 GB, free: 32.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009578/2.708, allocations: 8.589 MB / 1.004 GB, free: 32.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/2.709, allocations: 413.9 kB / 1.004 GB, free: 32.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/2.709, allocations: 100.6 kB / 1.004 GB, free: 32.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=550): time 8.747e-06/2.709, allocations: 0 / 1.004 GB, free: 32.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=734): time 0.3545/3.063, allocations: 113.4 MB / 1.115 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002215/3.065, allocations: 2.357 MB / 1.118 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02736/3.093, allocations: 9.593 MB / 1.127 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002851/3.096, allocations: 141.7 kB / 1.127 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01003/3.106, allocations: 8.255 MB / 1.135 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006684/3.113, allocations: 2.671 MB / 1.138 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003746/3.116, allocations: 284 kB / 1.138 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001955/3.118, allocations: 0.9093 MB / 1.139 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01765/3.136, allocations: 9.075 MB / 1.148 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02368/3.16, allocations: 15.96 MB / 1.163 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3764/3.536, allocations: 11.93 MB / 1.175 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002876/3.537, allocations: 66.62 kB / 1.175 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1244/3.661, allocations: 44.75 MB / 1.219 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/3.661, allocations: 105.2 kB / 1.219 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09512/3.756, allocations: 32.76 MB / 1.251 GB, free: 132.5 MB / 0.5417 GB Notification: Tearing is skipped for strong component 3 because system size of 214 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.04766/3.804, allocations: 11.18 MB / 1.262 GB, free: 132 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/3.815, allocations: 3.169 MB / 1.265 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/3.837, allocations: 15.19 MB / 1.28 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01767/3.855, allocations: 1.315 MB / 1.281 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004079/3.859, allocations: 0.7789 MB / 1.282 GB, free: 123.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1573): * Single equations (assignments): 1561 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(214,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005092/3.864, allocations: 1.128 MB / 1.283 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002775/3.867, allocations: 1.095 MB / 1.284 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05468/3.922, allocations: 27.08 MB / 1.31 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05447/3.976, allocations: 24.38 MB / 1.334 GB, free: 73.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001474/3.977, allocations: 40 kB / 1.334 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001788/3.977, allocations: 43.39 kB / 1.334 GB, free: 73.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4624/4.439, allocations: 55.99 MB / 1.389 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001202/4.439, allocations: 0 / 1.389 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007193/4.447, allocations: 1.152 MB / 1.39 GB, free: 130.4 MB / 0.5417 GB Notification: Tearing is skipped for strong component 12 because system size of 211 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/4.453, allocations: 2.122 MB / 1.392 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002425/4.456, allocations: 158.9 kB / 1.392 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/4.461, allocations: 4.6 MB / 1.397 GB, free: 129 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001109/4.462, allocations: 1.702 MB / 1.398 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0705/4.533, allocations: 38.78 MB / 1.436 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0102/4.543, allocations: 2.744 MB / 1.439 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004538/4.547, allocations: 134.8 kB / 1.439 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/4.558, allocations: 0.748 MB / 1.44 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00326/4.561, allocations: 0.6452 MB / 1.44 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001437/4.563, allocations: 192.5 kB / 1.441 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01643/4.579, allocations: 6.945 MB / 1.447 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.01e-07/4.579, allocations: 0 / 1.447 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01971/4.599, allocations: 3.703 MB / 1.451 GB, free: 119.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (496): * Single equations (assignments): 487 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(211,1.7%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003329/4.602, allocations: 312.7 kB / 1.451 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05443/4.657, allocations: 26.61 MB / 1.477 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/4.657, allocations: 4 kB / 1.477 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03531/4.692, allocations: 14.47 MB / 1.491 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/4.706, allocations: 1.64 MB / 1.493 GB, free: 95.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07145/4.778, allocations: 31.55 MB / 1.524 GB, free: 68.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02133/4.799, allocations: 9.174 MB / 1.533 GB, free: 61.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01719/4.816, allocations: 4.739 MB / 1.537 GB, free: 58.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004785/4.821, allocations: 0.72 MB / 1.538 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/4.821, allocations: 0 / 1.538 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.715/5.536, allocations: 164.4 MB / 1.699 GB, free: 70.52 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)