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.007273/0.007273, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00116/0.00116, allocations: 196 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3475/0.3475, allocations: 39.94 MB / 309.8 MB, free: 9.316 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.0014/0.0014, allocations: 67.91 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3717, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01507/0.3869, allocations: 14.23 MB / 0.495 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.3986, allocations: 4.005 MB / 0.4989 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.4022, allocations: 68.28 kB / 0.499 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00717/0.4093, allocations: 3.93 MB / 0.5028 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.4129, allocations: 1.009 MB / 0.5038 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.4156, allocations: 0.8733 MB / 0.5047 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.4201, allocations: 2.632 MB / 0.5072 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005893/0.426, allocations: 5.118 MB / 0.5122 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.4304, allocations: 1.592 MB / 0.5138 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.4355, allocations: 2.09 MB / 0.5158 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.4375, allocations: 491.6 kB / 0.5163 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.4408, allocations: 1.14 MB / 0.5174 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.4436, allocations: 1.964 MB / 0.5193 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003509/0.4472, allocations: 2.277 MB / 0.5216 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00917/0.4563, allocations: 7.714 MB / 0.5291 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4564, allocations: 0 / 0.5291 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4564, allocations: 0 / 0.5291 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.4566, allocations: 0 / 0.5291 GB, free: 15.07 MB / 414.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.01583/0.4725, allocations: 4.733 MB / 0.5337 GB, free: 10.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.4726, allocations: 15.89 kB / 0.5337 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/0.4761, allocations: 0.5573 MB / 0.5343 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.4816, allocations: 2.212 MB / 0.5364 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.4819, allocations: 274.9 kB / 0.5367 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4829, allocations: 355.9 kB / 0.537 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.5072, allocations: 10.48 MB / 0.5473 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.5074, allocations: 19.81 kB / 0.5473 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.5084, allocations: 155.9 kB / 0.5474 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003197/0.5116, allocations: 1.64 MB / 0.549 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.5349, allocations: 9.164 MB / 0.558 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04984/0.5848, allocations: 30.88 MB / 0.5881 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009676/0.5945, allocations: 3.089 MB / 0.5912 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.597, allocations: 1.774 MB / 0.5929 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.6114, allocations: 9.73 MB / 0.6024 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.6115, allocations: 43.56 kB / 0.6024 GB, free: 2.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.646e-06/0.6115, allocations: 0 / 0.6024 GB, free: 2.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.02751/0.6391, allocations: 9.335 MB / 0.6115 GB, free: 8.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.6392, allocations: 119.8 kB / 0.6117 GB, free: 8.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/0.6437, allocations: 2.866 MB / 0.6145 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.644, allocations: 53.58 kB / 0.6145 GB, free: 5.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.6459, allocations: 2.474 MB / 0.6169 GB, free: 3.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.6465, allocations: 450.4 kB / 0.6174 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.6479, allocations: 0.8644 MB / 0.6182 GB, free: 2.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.648, allocations: 305.1 kB / 0.6185 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.6506, allocations: 1.562 MB / 0.62 GB, free: 152 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.6553, allocations: 3.882 MB / 0.6238 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008301/0.6636, allocations: 5.705 MB / 0.6294 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.051e-05/0.6638, allocations: 24 kB / 0.6294 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.3173/0.9811, allocations: 5.405 MB / 0.6347 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.9812, allocations: 44.84 kB / 0.6347 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/0.9814, allocations: 84.5 kB / 0.6348 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.9816, allocations: 109.5 kB / 0.6349 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/0.986, allocations: 1 MB / 0.6359 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002335/0.9862, allocations: 161.6 kB / 0.636 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.9898, allocations: 227.5 kB / 0.6363 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006216/0.9905, allocations: 241.8 kB / 0.6365 GB, free: 122.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 370 * 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 (531): * Single equations (assignments): 529 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003573/0.994, allocations: 1.754 MB / 0.6382 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006188/0.9947, allocations: 240.1 kB / 0.6384 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/0.9984, allocations: 2.211 MB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/0.9984, allocations: 12.31 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9984, allocations: 1.094 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.9984, allocations: 6.297 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.012, allocations: 7.631 MB / 0.6481 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/1.012, allocations: 15.72 kB / 0.6481 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.013, allocations: 258.5 kB / 0.6483 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.889e-05/1.013, allocations: 20.88 kB / 0.6483 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/1.013, allocations: 44.75 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.311e-05/1.013, allocations: 34.64 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-05/1.013, allocations: 24.03 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.017, allocations: 2.363 MB / 0.6507 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/1.017, allocations: 342.6 kB / 0.6511 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.018, allocations: 43.03 kB / 0.6511 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.019, allocations: 68.25 kB / 0.6512 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/1.019, allocations: 128 kB / 0.6513 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/1.019, allocations: 54.59 kB / 0.6514 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002793/1.022, allocations: 1.83 MB / 0.6531 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.022, allocations: 0 / 0.6531 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004303/1.026, allocations: 0.7643 MB / 0.6539 GB, free: 115.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (137): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005145/1.027, allocations: 208.1 kB / 0.6541 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005334/1.032, allocations: 3.398 MB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-05/1.032, allocations: 2.25 kB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.033, allocations: 0.8784 MB / 0.6583 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.036, allocations: 345.7 kB / 0.6586 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.051, allocations: 7.698 MB / 0.6661 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003626/1.054, allocations: 2.954 MB / 0.669 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00261/1.057, allocations: 1.019 MB / 0.67 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/1.057, allocations: 181.7 kB / 0.6702 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/1.057, allocations: 0 / 0.6702 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.04211/1.1, allocations: 24.21 MB / 0.6938 GB, free: 87.89 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (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)