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.01305/0.01305, allocations: 165.1 kB / 15.11 MB, free: 5.973 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.34/1.34, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001534/0.001534, allocations: 122.5 kB / 226.2 MB, free: 10.11 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.3088/0.3088, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004334, allocations: 8 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.5324, allocations: 100.4 MB / 0.4999 GB, free: 3.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5328, allocations: 84.55 kB / 0.5 GB, free: 3.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509/2.042, allocations: 258.2 MB / 0.7521 GB, free: 21.1 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.717e-06/2.042, allocations: 1.375 kB / 0.7521 GB, free: 21.1 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.003061/2.045, allocations: 266.9 kB / 0.7524 GB, free: 21.1 MB / 426.8 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.08368/2.129, allocations: 15.25 MB / 0.7673 GB, free: 16.87 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.374e-05/2.129, allocations: 10.34 kB / 0.7673 GB, free: 16.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1079/2.237, allocations: 26.77 MB / 0.7934 GB, free: 15.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06873/2.305, allocations: 27.22 MB / 0.82 GB, free: 14.11 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/2.306, allocations: 0.8844 MB / 0.8209 GB, free: 14.08 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006001/2.312, allocations: 1.234 MB / 0.8221 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07482/2.387, allocations: 27.34 MB / 0.8488 GB, free: 8.559 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001607/2.389, allocations: 178 kB / 0.849 GB, free: 8.531 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00774/2.397, allocations: 0.5434 MB / 0.8495 GB, free: 8.531 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004855/2.402, allocations: 2.412 MB / 0.8519 GB, free: 8.496 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.063/2.465, allocations: 23.17 MB / 0.8745 GB, free: 11.84 MB / 442.8 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.5015/2.966, allocations: 119.7 MB / 0.9913 GB, free: 23.55 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0459/3.012, allocations: 13.34 MB / 1.004 GB, free: 22.84 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/3.013, allocations: 406.3 kB / 1.005 GB, free: 22.55 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/3.013, allocations: 102.6 kB / 1.005 GB, free: 22.51 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 1.622e-05/3.014, allocations: 0 / 1.005 GB, free: 22.51 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 0.7263/3.74, allocations: 129.4 MB / 1.131 GB, free: 89.88 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001682/3.742, allocations: 2.383 MB / 1.134 GB, free: 87.76 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02264/3.764, allocations: 9.705 MB / 1.143 GB, free: 87.04 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002685/3.767, allocations: 138.3 kB / 1.143 GB, free: 87.01 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.008086/3.775, allocations: 8.256 MB / 1.151 GB, free: 83.63 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004774/3.78, allocations: 2.672 MB / 1.154 GB, free: 82.01 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/3.782, allocations: 288.4 kB / 1.154 GB, free: 82.01 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000884/3.783, allocations: 0.9023 MB / 1.155 GB, free: 81.68 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01749/3.801, allocations: 9.235 MB / 1.164 GB, free: 81.64 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02118/3.822, allocations: 16.12 MB / 1.18 GB, free: 73.02 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/3.841, allocations: 12 MB / 1.192 GB, free: 70.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003512/3.841, allocations: 66.19 kB / 1.192 GB, free: 70.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1245/3.966, allocations: 45.06 MB / 1.236 GB, free: 58.72 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006118/3.966, allocations: 105.8 kB / 1.236 GB, free: 58.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0913/4.058, allocations: 32.98 MB / 1.268 GB, free: 39.3 MB / 0.4949 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.04597/4.104, allocations: 11.18 MB / 1.279 GB, free: 32.33 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/4.116, allocations: 3.17 MB / 1.282 GB, free: 29.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3415/4.458, allocations: 16.55 MB / 1.298 GB, free: 75.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01943/4.477, allocations: 1.306 MB / 1.299 GB, free: 75.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00493/4.482, allocations: 0.7803 MB / 1.3 GB, free: 75.46 MB / 0.4949 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): 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.02156/4.504, allocations: 5.726 MB / 1.306 GB, free: 75.34 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005962/4.51, allocations: 1.094 MB / 1.307 GB, free: 75.34 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07716/4.587, allocations: 27.26 MB / 1.333 GB, free: 74.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06229/4.65, allocations: 24.56 MB / 1.357 GB, free: 72.16 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002278/4.65, allocations: 43.8 kB / 1.357 GB, free: 72.16 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003123/4.65, allocations: 38.89 kB / 1.357 GB, free: 72.16 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1331/4.783, allocations: 56.18 MB / 1.412 GB, free: 51.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.256e-05/4.783, allocations: 3.969 kB / 1.412 GB, free: 51.23 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006366/4.79, allocations: 1.157 MB / 1.413 GB, free: 51.2 MB / 0.4949 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.006528/4.796, allocations: 2.119 MB / 1.416 GB, free: 50.83 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002919/4.799, allocations: 157.4 kB / 1.416 GB, free: 50.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/4.805, allocations: 4.787 MB / 1.42 GB, free: 46.78 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001347/4.807, allocations: 1.733 MB / 1.422 GB, free: 45.04 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0803/4.887, allocations: 39.07 MB / 1.46 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01033/4.897, allocations: 2.734 MB / 1.463 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005564/4.903, allocations: 146.3 kB / 1.463 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/4.914, allocations: 0.7481 MB / 1.464 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003218/4.917, allocations: 0.6428 MB / 1.464 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001999/4.919, allocations: 191.9 kB / 1.465 GB, free: 10.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.3655/5.285, allocations: 7.045 MB / 1.471 GB, free: 75.64 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.91e-07/5.285, allocations: 3.188 kB / 1.471 GB, free: 75.64 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02508/5.31, allocations: 3.705 MB / 1.475 GB, free: 75.64 MB / 0.4949 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.003339/5.313, allocations: 319.3 kB / 1.475 GB, free: 75.55 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.09109/5.404, allocations: 26.91 MB / 1.502 GB, free: 74.61 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/5.404, allocations: 2.031 kB / 1.502 GB, free: 74.61 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.04832/5.453, allocations: 14.61 MB / 1.516 GB, free: 73.88 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/5.468, allocations: 1.646 MB / 1.517 GB, free: 73.82 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1004/5.568, allocations: 41.44 MB / 1.558 GB, free: 59.85 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02397/5.592, allocations: 9.175 MB / 1.567 GB, free: 57.79 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01788/5.61, allocations: 4.748 MB / 1.572 GB, free: 57.44 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005368/5.615, allocations: 0.7129 MB / 1.572 GB, free: 57.42 MB / 0.4949 GB Notification: Performance of SimCode: time 1.283e-06/5.615, allocations: 0 / 1.572 GB, free: 57.42 MB / 0.4949 GB Notification: Performance of Templates: time 0.6411/6.257, allocations: 164.6 MB / 1.733 GB, free: 72.9 MB / 0.4949 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)