Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006881/0.006881, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001385/0.001385, allocations: 199 kB / 16.68 MB, free: 6.375 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2985/0.2985, allocations: 37.99 MB / 307.9 MB, free: 10.17 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.1. 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.001679/0.00168, allocations: 75.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3418, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01709/0.3589, allocations: 14.23 MB / 0.4919 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3703, allocations: 3.997 MB / 0.4958 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.3745, allocations: 72.34 kB / 0.4959 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009918/0.3845, allocations: 3.918 MB / 0.4997 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.3905, allocations: 1.009 MB / 0.5007 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.3944, allocations: 0.8775 MB / 0.5015 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005862/0.4003, allocations: 2.632 MB / 0.5041 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007916/0.4082, allocations: 5.117 MB / 0.5091 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.4121, allocations: 1.597 MB / 0.5107 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004818/0.4169, allocations: 2.085 MB / 0.5127 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.42, allocations: 491.2 kB / 0.5132 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006023/0.4261, allocations: 1.147 MB / 0.5143 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005316/0.4315, allocations: 1.962 MB / 0.5162 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005545/0.437, allocations: 2.277 MB / 0.5184 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.4542, allocations: 7.718 MB / 0.526 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.4543, allocations: 0 / 0.526 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4543, allocations: 0 / 0.526 GB, free: 2.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003367/0.4546, allocations: 0 / 0.526 GB, free: 2.262 MB / 398.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.02048/0.4751, allocations: 4.729 MB / 0.5306 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/0.4752, allocations: 15.89 kB / 0.5306 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/0.4802, allocations: 0.5573 MB / 0.5311 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009227/0.4895, allocations: 2.219 MB / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.49, allocations: 266.9 kB / 0.5336 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/0.4923, allocations: 351.9 kB / 0.5339 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/0.5229, allocations: 10.48 MB / 0.5441 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/0.5231, allocations: 19.81 kB / 0.5442 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.5235, allocations: 155.9 kB / 0.5443 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.5268, allocations: 1.639 MB / 0.5459 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.5486, allocations: 9.168 MB / 0.5549 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05146/0.6001, allocations: 30.89 MB / 0.585 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.6103, allocations: 3.078 MB / 0.588 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/0.6129, allocations: 1.77 MB / 0.5898 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/0.6286, allocations: 9.73 MB / 0.5993 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.6287, allocations: 47.55 kB / 0.5993 GB, free: 5.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 4.408e-06/0.6287, allocations: 0 / 0.5993 GB, free: 5.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.03028/0.659, allocations: 9.336 MB / 0.6084 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.6591, allocations: 119.8 kB / 0.6085 GB, free: 11.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/0.6638, allocations: 2.87 MB / 0.6113 GB, free: 9.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.664, allocations: 45.77 kB / 0.6114 GB, free: 9.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.6658, allocations: 2.474 MB / 0.6138 GB, free: 6.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005202/0.6664, allocations: 450.4 kB / 0.6142 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.6679, allocations: 0.8606 MB / 0.6151 GB, free: 5.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.668, allocations: 305.1 kB / 0.6154 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.6705, allocations: 1.558 MB / 0.6169 GB, free: 3.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003875/0.6744, allocations: 3.886 MB / 0.6207 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/0.6812, allocations: 5.709 MB / 0.6263 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-05/0.6812, allocations: 24 kB / 0.6263 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.009642/0.6909, allocations: 5.405 MB / 0.6316 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.691, allocations: 40 kB / 0.6316 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.6912, allocations: 84 kB / 0.6317 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.6913, allocations: 111.9 kB / 0.6318 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/0.695, allocations: 1.007 MB / 0.6328 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002197/0.6952, allocations: 163.4 kB / 0.6329 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.6987, allocations: 223.5 kB / 0.6331 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.6992, allocations: 244 kB / 0.6334 GB, free: 160 kB / 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.2644/0.9637, allocations: 1.753 MB / 0.6351 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.9648, allocations: 242.8 kB / 0.6353 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.9697, allocations: 2.214 MB / 0.6375 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.9697, allocations: 11.88 kB / 0.6375 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9697, allocations: 1.188 kB / 0.6375 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.9697, allocations: 5.859 kB / 0.6375 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.9868, allocations: 7.625 MB / 0.6449 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/0.9869, allocations: 17.09 kB / 0.6449 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.9881, allocations: 265 kB / 0.6452 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/0.9882, allocations: 20.95 kB / 0.6452 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.9884, allocations: 39.66 kB / 0.6453 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.675e-05/0.9884, allocations: 31.72 kB / 0.6453 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/0.9884, allocations: 23.47 kB / 0.6453 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.9919, allocations: 2.372 MB / 0.6476 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.9931, allocations: 337.8 kB / 0.648 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/0.9937, allocations: 41.09 kB / 0.648 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9952, allocations: 72 kB / 0.6481 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.9954, allocations: 128.8 kB / 0.6482 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.9955, allocations: 51.11 kB / 0.6482 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004274/0.9998, allocations: 1.828 MB / 0.65 GB, free: 118 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9998, allocations: 0 / 0.65 GB, free: 118 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005147/1.005, allocations: 0.7639 MB / 0.6508 GB, free: 117.9 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.0007677/1.006, allocations: 220.9 kB / 0.651 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007287/1.013, allocations: 3.38 MB / 0.6543 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/1.013, allocations: 5.719 kB / 0.6543 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.015, allocations: 0.8832 MB / 0.6551 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/1.018, allocations: 354.3 kB / 0.6555 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.038, allocations: 7.695 MB / 0.663 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005993/1.044, allocations: 2.949 MB / 0.6659 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003793/1.048, allocations: 1.021 MB / 0.6669 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.049, allocations: 185.5 kB / 0.667 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.049, allocations: 0 / 0.667 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.04937/1.099, allocations: 24.2 MB / 0.6907 GB, free: 94.47 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)