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.001509/0.001508, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002083, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.69/1.69, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3526/0.3526, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.001877/0.001877, allocations: 82.38 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1213, allocations: 56.87 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.0149/0.1363, allocations: 14.23 MB / 448.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.1451, allocations: 4.013 MB / 452.7 MB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.1475, allocations: 71.94 kB / 452.8 MB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2369/0.3844, allocations: 3.911 MB / 456.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.3871, allocations: 1.002 MB / 457.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.3892, allocations: 0.8789 MB / 458.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.3921, allocations: 2.635 MB / 461.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/0.3968, allocations: 5.126 MB / 466.4 MB, free: 35.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.3992, allocations: 1.603 MB / 468 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.4021, allocations: 2.088 MB / 470 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009415/0.4031, allocations: 493.8 kB / 470.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.4053, allocations: 1.138 MB / 471.7 MB, free: 33.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.4071, allocations: 1.964 MB / 473.6 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.4097, allocations: 2.275 MB / 475.9 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.4178, allocations: 7.546 MB / 483.5 MB, free: 28.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4179, allocations: 0.6562 kB / 483.5 MB, free: 28.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4179, allocations: 0 / 483.5 MB, free: 28.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002914/0.4182, allocations: 0 / 483.5 MB, free: 28.73 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.01478/0.433, allocations: 4.72 MB / 488.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.433, allocations: 13.52 kB / 488.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.4366, allocations: 0.5554 MB / 488.7 MB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/0.4418, allocations: 2.182 MB / 490.9 MB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.4421, allocations: 266.3 kB / 491.2 MB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.4435, allocations: 359.8 kB / 491.5 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.4699, allocations: 10.49 MB / 0.4903 GB, free: 20.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.4701, allocations: 14.28 kB / 0.4903 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.4714, allocations: 157.9 kB / 0.4904 GB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/0.4747, allocations: 1.635 MB / 0.492 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.4978, allocations: 9.164 MB / 0.501 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05283/0.5506, allocations: 31.08 MB / 0.5313 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.5608, allocations: 3.087 MB / 0.5343 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.5634, allocations: 1.771 MB / 0.5361 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.5778, allocations: 9.74 MB / 0.5456 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.5779, allocations: 47.5 kB / 0.5456 GB, free: 2.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 4.529e-06/0.5779, allocations: 7.938 kB / 0.5456 GB, free: 2 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.03011/0.608, allocations: 9.338 MB / 0.5547 GB, free: 8.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6082, allocations: 115.8 kB / 0.5549 GB, free: 8.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005356/0.6136, allocations: 2.866 MB / 0.5577 GB, free: 5.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.6139, allocations: 44.67 kB / 0.5577 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.6164, allocations: 2.478 MB / 0.5601 GB, free: 3.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.6171, allocations: 442.3 kB / 0.5605 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/0.6188, allocations: 0.8665 MB / 0.5614 GB, free: 1.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.619, allocations: 306.7 kB / 0.5617 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.6219, allocations: 1.562 MB / 0.5632 GB, free: 15.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/0.6271, allocations: 3.879 MB / 0.567 GB, free: 10.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008078/0.6352, allocations: 5.704 MB / 0.5726 GB, free: 4.039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/0.6353, allocations: 24 kB / 0.5726 GB, free: 4.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01052/0.6458, allocations: 5.42 MB / 0.5779 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.646, allocations: 40 kB / 0.5779 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/0.6462, allocations: 83.98 kB / 0.578 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.6464, allocations: 108 kB / 0.5781 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.6502, allocations: 1.002 MB / 0.5791 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000215/0.6504, allocations: 159.4 kB / 0.5792 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.6545, allocations: 227.6 kB / 0.5794 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006062/0.6551, allocations: 240 kB / 0.5797 GB, free: 12.75 MB / 462.1 MB 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.003851/0.659, allocations: 1.766 MB / 0.5814 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/0.6596, allocations: 236.9 kB / 0.5816 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.6642, allocations: 2.213 MB / 0.5838 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6642, allocations: 12 kB / 0.5838 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6642, allocations: 0 / 0.5838 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.6643, allocations: 7.984 kB / 0.5838 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.6817, allocations: 7.636 MB / 0.5913 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.648e-05/0.6818, allocations: 16 kB / 0.5913 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.6831, allocations: 267.5 kB / 0.5915 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.441e-05/0.6832, allocations: 20 kB / 0.5915 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.6833, allocations: 40 kB / 0.5916 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.545e-05/0.6834, allocations: 27.92 kB / 0.5916 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/0.6834, allocations: 27.81 kB / 0.5916 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/0.6874, allocations: 2.366 MB / 0.5939 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.6885, allocations: 337.9 kB / 0.5943 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007379/0.6893, allocations: 39.98 kB / 0.5943 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.6909, allocations: 67.94 kB / 0.5944 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.6912, allocations: 128.1 kB / 0.5945 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6913, allocations: 56 kB / 0.5946 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003995/0.6953, allocations: 1.827 MB / 0.5963 GB, free: 11.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6953, allocations: 0 / 0.5963 GB, free: 11.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004311/0.6996, allocations: 0.7765 MB / 0.5971 GB, free: 10.37 MB / 478.1 MB 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.0006571/0.7003, allocations: 206.7 kB / 0.5973 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007086/0.7074, allocations: 3.762 MB / 0.601 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.7074, allocations: 0 / 0.601 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.7089, allocations: 0.8864 MB / 0.6018 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.7121, allocations: 341.9 kB / 0.6022 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.7306, allocations: 7.807 MB / 0.6098 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005315/0.736, allocations: 2.944 MB / 0.6127 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003946/0.74, allocations: 1.018 MB / 0.6136 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009348/0.7409, allocations: 183.4 kB / 0.6138 GB, free: 8.996 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7409, allocations: 4 kB / 0.6138 GB, free: 8.992 MB / 494.1 MB Notification: Performance of Templates: time 0.2777/1.019, allocations: 26.59 MB / 0.6398 GB, free: 162.7 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)