Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009187/0.0009189, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4799/0.4799, allocations: 40 MB / 310.4 MB, free: 9.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007165/0.0007168, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2527/0.3704, allocations: 45.07 MB / 481.8 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02243/0.3929, allocations: 10.38 MB / 492.2 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009917/0.4029, allocations: 213.2 kB / 492.4 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.4104, allocations: 2.187 MB / 494.6 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02123/0.4316, allocations: 6.048 MB / 0.4889 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.435, allocations: 0.6447 MB / 0.4896 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002806/0.4378, allocations: 1.466 MB / 0.491 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008813/0.4466, allocations: 6.418 MB / 0.4973 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4482, allocations: 0.8183 MB / 0.4981 GB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.4499, allocations: 1.095 MB / 0.4991 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.4504, allocations: 151.1 kB / 0.4993 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.452, allocations: 0.6835 MB / 0.4999 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.4536, allocations: 1.409 MB / 0.5013 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009302/0.4545, allocations: 0.7863 MB / 0.5021 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008056/0.4626, allocations: 6.184 MB / 0.5081 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4626, allocations: 0 / 0.5081 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4626, allocations: 0 / 0.5081 GB, free: 7.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002788/0.4629, allocations: 3.938 kB / 0.5081 GB, free: 7.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01156/0.4745, allocations: 4.133 MB / 0.5122 GB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4745, allocations: 8.562 kB / 0.5122 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.4787, allocations: 0.6672 MB / 0.5128 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/0.4846, allocations: 2.252 MB / 0.515 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.4849, allocations: 260 kB / 0.5153 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.4859, allocations: 360.5 kB / 0.5156 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.5105, allocations: 10.73 MB / 0.5261 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.823e-05/0.5106, allocations: 15.81 kB / 0.5261 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004848/0.5111, allocations: 159.9 kB / 0.5262 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.514, allocations: 1.636 MB / 0.5278 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.5361, allocations: 9.416 MB / 0.537 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04498/0.5811, allocations: 30.84 MB / 0.5672 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009435/0.5906, allocations: 3.137 MB / 0.5702 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.6047, allocations: 9.379 MB / 0.5794 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.6048, allocations: 47.55 kB / 0.5794 GB, free: 4.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.517e-06/0.6048, allocations: 0 / 0.5794 GB, free: 4.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=108): time 0.02764/0.6325, allocations: 8.996 MB / 0.5882 GB, free: 10.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.6326, allocations: 119.9 kB / 0.5883 GB, free: 10.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.637, allocations: 2.867 MB / 0.5911 GB, free: 7.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.6372, allocations: 41.7 kB / 0.5912 GB, free: 7.914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.6389, allocations: 2.516 MB / 0.5936 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.6394, allocations: 422.7 kB / 0.594 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.6395, allocations: 83.94 kB / 0.5941 GB, free: 4.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002764/0.6398, allocations: 482.8 kB / 0.5946 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.642, allocations: 1.468 MB / 0.596 GB, free: 2.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/0.6457, allocations: 3.808 MB / 0.5997 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.6488, allocations: 2.262 MB / 0.6019 GB, free: 11.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.843e-05/0.6488, allocations: 24 kB / 0.6019 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007739/0.6566, allocations: 5.242 MB / 0.6071 GB, free: 6.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.6567, allocations: 40 kB / 0.6071 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.049e-05/0.6568, allocations: 84.12 kB / 0.6072 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/0.6569, allocations: 124 kB / 0.6073 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/0.66, allocations: 0.9942 MB / 0.6083 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/0.6601, allocations: 167.4 kB / 0.6084 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/0.6627, allocations: 239.4 kB / 0.6087 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.663, allocations: 232 kB / 0.6089 GB, free: 4.512 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 523 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003288/0.6663, allocations: 1.766 MB / 0.6106 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.6666, allocations: 244.8 kB / 0.6108 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.6694, allocations: 2.057 MB / 0.6129 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6695, allocations: 12 kB / 0.6129 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6695, allocations: 0 / 0.6129 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.6695, allocations: 7.984 kB / 0.6129 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.68, allocations: 6.656 MB / 0.6194 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.68, allocations: 12 kB / 0.6194 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.681, allocations: 255.5 kB / 0.6196 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/0.681, allocations: 20 kB / 0.6196 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.6811, allocations: 40 kB / 0.6197 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.039e-05/0.6811, allocations: 28.48 kB / 0.6197 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/0.6812, allocations: 23.88 kB / 0.6197 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.6848, allocations: 3.521 MB / 0.6232 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.6855, allocations: 341.6 kB / 0.6235 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.6858, allocations: 39.98 kB / 0.6235 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.6867, allocations: 63.94 kB / 0.6236 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6869, allocations: 124.2 kB / 0.6237 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.6869, allocations: 48 kB / 0.6238 GB, free: 4.566 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002924/0.6899, allocations: 1.831 MB / 0.6255 GB, free: 2.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6899, allocations: 0 / 0.6255 GB, free: 2.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003513/0.6934, allocations: 0.746 MB / 0.6263 GB, free: 1.984 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * 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 (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004084/0.6938, allocations: 198.8 kB / 0.6265 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2367/0.9306, allocations: 3.169 MB / 0.6296 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.9307, allocations: 7.062 kB / 0.6296 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.932, allocations: 0.8051 MB / 0.6304 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.9341, allocations: 300.9 kB / 0.6306 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.9495, allocations: 9.003 MB / 0.6394 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004534/0.9541, allocations: 3.027 MB / 0.6424 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003565/0.9577, allocations: 1.024 MB / 0.6434 GB, free: 142.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.9585, allocations: 185 kB / 0.6436 GB, free: 142.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.543e-06/0.9585, allocations: 0 / 0.6436 GB, free: 142.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05233/1.011, allocations: 24.22 MB / 0.6672 GB, free: 138.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) Environment - environmentSimulation: