Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints") translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007818/0.007818, allocations: 173.5 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.505/1.505, allocations: 194.5 MB / 210.3 MB, free: 8.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001667/0.001667, allocations: 112.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1816/0.1816, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.000499, allocations: 14.16 kB / 406.2 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1101, allocations: 54.88 MB / 461 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.5165, allocations: 107.2 MB / 0.5549 GB, free: 25.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5168, allocations: 74.41 kB / 0.555 GB, free: 25.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8979/1.415, allocations: 258.7 MB / 0.8076 GB, free: 52.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.415, allocations: 0 / 0.8076 GB, free: 52.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001512/1.416, allocations: 269.2 kB / 0.8079 GB, free: 52.88 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: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.06027/1.477, allocations: 15.26 MB / 0.8228 GB, free: 47.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.477, allocations: 11.19 kB / 0.8228 GB, free: 47.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09487/1.572, allocations: 26.79 MB / 0.849 GB, free: 24.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06741/1.639, allocations: 27.24 MB / 0.8756 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/1.64, allocations: 0.8924 MB / 0.8764 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007578/1.648, allocations: 1.234 MB / 0.8776 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4981/2.146, allocations: 27.35 MB / 0.9043 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001666/2.148, allocations: 183.4 kB / 0.9045 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00671/2.154, allocations: 0.5474 MB / 0.9051 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/2.16, allocations: 2.419 MB / 0.9074 GB, free: 56.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05783/2.218, allocations: 22.41 MB / 0.9293 GB, free: 56.19 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1933/2.412, allocations: 119.7 MB / 1.046 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03634/2.448, allocations: 13.33 MB / 1.059 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/2.449, allocations: 408.7 kB / 1.06 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/2.449, allocations: 93.88 kB / 1.06 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=550): time 1.244e-05/2.449, allocations: 2.719 kB / 1.06 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=734): time 0.8629/3.312, allocations: 129.5 MB / 1.186 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002282/3.315, allocations: 2.383 MB / 1.189 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02724/3.342, allocations: 9.694 MB / 1.198 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003318/3.345, allocations: 141.9 kB / 1.198 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009747/3.355, allocations: 8.262 MB / 1.206 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005402/3.361, allocations: 2.677 MB / 1.209 GB, free: 78.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003723/3.364, allocations: 284 kB / 1.209 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00174/3.366, allocations: 0.9069 MB / 1.21 GB, free: 77.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01774/3.384, allocations: 9.246 MB / 1.219 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02174/3.406, allocations: 16.13 MB / 1.235 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02053/3.426, allocations: 12.02 MB / 1.246 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000414/3.427, allocations: 68 kB / 1.247 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.4992/3.926, allocations: 45.74 MB / 1.291 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002483/3.926, allocations: 107.9 kB / 1.291 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09457/4.021, allocations: 33.66 MB / 1.324 GB, free: 85.31 MB / 0.5261 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.05177/4.073, allocations: 11.99 MB / 1.336 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/4.086, allocations: 3.166 MB / 1.339 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02872/4.114, allocations: 17.53 MB / 1.356 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/4.135, allocations: 1.313 MB / 1.357 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0073/4.143, allocations: 0.779 MB / 1.358 GB, free: 82.7 MB / 0.5261 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 () * Number of clocked 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): 6 * Torn equation systems: 1 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.02341/4.166, allocations: 5.728 MB / 1.364 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006994/4.173, allocations: 1.094 MB / 1.365 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07869/4.252, allocations: 27.27 MB / 1.391 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06874/4.321, allocations: 24.56 MB / 1.415 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002962/4.321, allocations: 40 kB / 1.415 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003523/4.322, allocations: 35.86 kB / 1.416 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1411/4.463, allocations: 56.2 MB / 1.47 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001154/4.463, allocations: 4.562 kB / 1.47 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007186/4.47, allocations: 1.153 MB / 1.472 GB, free: 14.64 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.007024/4.477, allocations: 2.118 MB / 1.474 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003245/4.48, allocations: 161.6 kB / 1.474 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/4.487, allocations: 4.793 MB / 1.478 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001593/4.489, allocations: 1.729 MB / 1.48 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4587/4.947, allocations: 39.07 MB / 1.518 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01297/4.961, allocations: 2.742 MB / 1.521 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0057/4.966, allocations: 145.4 kB / 1.521 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01364/4.98, allocations: 0.7429 MB / 1.522 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005128/4.985, allocations: 0.6468 MB / 1.522 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003395/4.989, allocations: 190.3 kB / 1.523 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02254/5.011, allocations: 7.045 MB / 1.529 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.51e-07/5.011, allocations: 3.719 kB / 1.53 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02842/5.04, allocations: 3.721 MB / 1.533 GB, free: 105.8 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 () * Number of clocked 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.003708/5.043, allocations: 316.4 kB / 1.533 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06474/5.108, allocations: 26.93 MB / 1.56 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/5.108, allocations: 4.812 kB / 1.56 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03776/5.146, allocations: 14.61 MB / 1.574 GB, free: 92.33 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01637/5.162, allocations: 1.647 MB / 1.576 GB, free: 91.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/5.268, allocations: 41.48 MB / 1.616 GB, free: 58.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02957/5.298, allocations: 9.183 MB / 1.625 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01899/5.317, allocations: 4.736 MB / 1.63 GB, free: 49.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006099/5.323, allocations: 0.7248 MB / 1.63 GB, free: 48.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/5.323, allocations: 0 / 1.63 GB, free: 48.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.8361/6.159, allocations: 166.2 MB / 1.793 GB, free: 66.78 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)