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.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001705/0.001706, allocations: 192.3 kB / 16.13 MB, free: 6.656 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.685/1.685, allocations: 205.1 MB / 222 MB, free: 4.758 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.394/0.394, allocations: 39.93 MB / 309.3 MB, free: 9.332 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.001338/0.001338, allocations: 70.39 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 56.89 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3288/0.4646, allocations: 52.64 MB / 486.5 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04118/0.5059, allocations: 10.44 MB / 496.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02319/0.5292, allocations: 212.2 kB / 497.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.5407, allocations: 3.943 MB / 0.4893 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.546, allocations: 0.9406 MB / 0.4902 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.5494, allocations: 0.7919 MB / 0.491 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008751/0.5582, allocations: 4.211 MB / 0.4951 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.5702, allocations: 4.95 MB / 0.4999 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005185/0.5755, allocations: 1.369 MB / 0.5013 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006833/0.5824, allocations: 2.131 MB / 0.5034 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.585, allocations: 324.4 kB / 0.5037 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.5907, allocations: 1.036 MB / 0.5047 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005772/0.5966, allocations: 1.801 MB / 0.5064 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.6017, allocations: 2.101 MB / 0.5085 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.6152, allocations: 7.424 MB / 0.5157 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6152, allocations: 0 / 0.5157 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6152, allocations: 0 / 0.5157 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002852/0.6155, allocations: 0 / 0.5157 GB, free: 1.539 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.02114/0.6367, allocations: 4.714 MB / 0.5203 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.6368, allocations: 13.23 kB / 0.5204 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.6425, allocations: 0.5534 MB / 0.5209 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009088/0.6517, allocations: 2.189 MB / 0.523 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.6521, allocations: 267.3 kB / 0.5233 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.6542, allocations: 348.2 kB / 0.5236 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/0.6889, allocations: 10.49 MB / 0.5339 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.468e-05/0.689, allocations: 19.81 kB / 0.5339 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005055/0.6896, allocations: 155.9 kB / 0.534 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/0.6927, allocations: 1.632 MB / 0.5356 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.7147, allocations: 9.175 MB / 0.5446 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/0.7711, allocations: 31.08 MB / 0.5749 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.7817, allocations: 3.097 MB / 0.578 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.7844, allocations: 1.767 MB / 0.5797 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.8023, allocations: 9.73 MB / 0.5892 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/0.8024, allocations: 43.56 kB / 0.5892 GB, free: 8.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 6.392e-06/0.8025, allocations: 0 / 0.5892 GB, free: 8.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.03361/0.8361, allocations: 9.336 MB / 0.5983 GB, free: 14.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.8362, allocations: 119.8 kB / 0.5985 GB, free: 14.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/0.8416, allocations: 2.87 MB / 0.6013 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003015/0.8419, allocations: 41.7 kB / 0.6013 GB, free: 11.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.8442, allocations: 2.481 MB / 0.6037 GB, free: 9.242 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/0.845, allocations: 446.5 kB / 0.6042 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.8472, allocations: 0.8684 MB / 0.605 GB, free: 7.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.8473, allocations: 301.1 kB / 0.6053 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.8502, allocations: 1.558 MB / 0.6068 GB, free: 6.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.8549, allocations: 3.882 MB / 0.6106 GB, free: 1.012 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00781/0.8627, allocations: 5.709 MB / 0.6162 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-05/0.8629, allocations: 24 kB / 0.6162 GB, free: 10.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01345/0.8763, allocations: 5.414 MB / 0.6215 GB, free: 4.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.8766, allocations: 36 kB / 0.6215 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003015/0.8769, allocations: 84 kB / 0.6216 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.8771, allocations: 108 kB / 0.6217 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/0.8826, allocations: 1.01 MB / 0.6227 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002457/0.8829, allocations: 159.4 kB / 0.6228 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/0.8878, allocations: 231.6 kB / 0.6231 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/0.8889, allocations: 240 kB / 0.6233 GB, free: 2.867 MB / 494.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.006734/0.8957, allocations: 1.762 MB / 0.625 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.8968, allocations: 236.9 kB / 0.6252 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2413/1.138, allocations: 2.206 MB / 0.6274 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.138, allocations: 10.53 kB / 0.6274 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.138, allocations: 2.875 kB / 0.6274 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.138, allocations: 8.422 kB / 0.6274 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.149, allocations: 7.64 MB / 0.6349 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.149, allocations: 13.34 kB / 0.6349 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/1.15, allocations: 266.7 kB / 0.6351 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/1.15, allocations: 21.53 kB / 0.6352 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/1.15, allocations: 38.12 kB / 0.6352 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/1.15, allocations: 29.88 kB / 0.6352 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.15, allocations: 26.94 kB / 0.6353 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/1.153, allocations: 2.367 MB / 0.6376 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/1.154, allocations: 341.4 kB / 0.6379 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.155, allocations: 41.2 kB / 0.6379 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.156, allocations: 65.33 kB / 0.638 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.156, allocations: 129.7 kB / 0.6381 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/1.156, allocations: 51.41 kB / 0.6382 GB, free: 143.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002745/1.159, allocations: 1.833 MB / 0.64 GB, free: 142.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.159, allocations: 0 / 0.64 GB, free: 142.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003923/1.163, allocations: 0.7605 MB / 0.6407 GB, free: 142.5 MB / 494.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.0004985/1.163, allocations: 217.6 kB / 0.6409 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004748/1.168, allocations: 3.348 MB / 0.6442 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.168, allocations: 3.031 kB / 0.6442 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.169, allocations: 0.8802 MB / 0.645 GB, free: 140.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.171, allocations: 319.9 kB / 0.6453 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.186, allocations: 9.624 MB / 0.6547 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/1.191, allocations: 2.954 MB / 0.6576 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003655/1.195, allocations: 1.023 MB / 0.6586 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006334/1.195, allocations: 185.1 kB / 0.6588 GB, free: 133.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.91e-07/1.195, allocations: 1.438 kB / 0.6588 GB, free: 133.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05871/1.254, allocations: 25.63 MB / 0.6838 GB, free: 126.3 MB / 494.1 MB 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)