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.005964/0.005964, allocations: 103.5 kB / 15.73 MB, free: 6.469 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.001221/0.001221, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.288/0.288, allocations: 38 MB / 307.9 MB, free: 10.07 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.001737/0.001737, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3584, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01448/0.3729, allocations: 14.24 MB / 0.4919 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3835, allocations: 3.997 MB / 0.4958 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.3869, allocations: 73.22 kB / 0.4959 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008589/0.3955, allocations: 3.925 MB / 0.4997 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.4008, allocations: 1.003 MB / 0.5007 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.4038, allocations: 0.8766 MB / 0.5015 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004707/0.4085, allocations: 2.632 MB / 0.5041 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006867/0.4154, allocations: 5.114 MB / 0.5091 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.4188, allocations: 1.606 MB / 0.5107 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004207/0.4231, allocations: 2.083 MB / 0.5127 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.4246, allocations: 491 kB / 0.5132 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.4275, allocations: 1.151 MB / 0.5143 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.4302, allocations: 1.962 MB / 0.5162 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003665/0.4339, allocations: 2.281 MB / 0.5184 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008647/0.4425, allocations: 7.714 MB / 0.526 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4426, allocations: 0 / 0.526 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4426, allocations: 0 / 0.526 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.4428, allocations: 0 / 0.526 GB, free: 2.27 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.01147/0.4543, allocations: 4.729 MB / 0.5306 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4544, allocations: 19.83 kB / 0.5306 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.4567, allocations: 0.5612 MB / 0.5312 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.4612, allocations: 2.212 MB / 0.5333 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.4614, allocations: 266.9 kB / 0.5336 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/0.462, allocations: 347.9 kB / 0.5339 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.4808, allocations: 10.49 MB / 0.5441 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.756e-05/0.4809, allocations: 19.88 kB / 0.5442 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.4813, allocations: 151.9 kB / 0.5443 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002786/0.4841, allocations: 1.643 MB / 0.5459 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.5027, allocations: 9.172 MB / 0.5549 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04418/0.547, allocations: 30.88 MB / 0.585 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00916/0.5562, allocations: 3.09 MB / 0.588 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.5584, allocations: 1.767 MB / 0.5898 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/0.5726, allocations: 9.73 MB / 0.5993 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.5727, allocations: 47.5 kB / 0.5993 GB, free: 5.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.5727, allocations: 0 / 0.5993 GB, free: 5.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.02725/0.6, allocations: 9.336 MB / 0.6084 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.6002, allocations: 119.9 kB / 0.6086 GB, free: 11.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.6051, allocations: 2.87 MB / 0.6114 GB, free: 9.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.6056, allocations: 45.7 kB / 0.6114 GB, free: 9.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002184/0.6077, allocations: 2.466 MB / 0.6138 GB, free: 6.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/0.6084, allocations: 450.4 kB / 0.6142 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.6098, allocations: 0.8606 MB / 0.6151 GB, free: 5.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.61, allocations: 309 kB / 0.6154 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.6124, allocations: 1.562 MB / 0.6169 GB, free: 3.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/0.6165, allocations: 3.882 MB / 0.6207 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/0.6239, allocations: 5.705 MB / 0.6263 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/0.6239, allocations: 24 kB / 0.6263 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.009192/0.6331, allocations: 5.42 MB / 0.6316 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.6332, allocations: 36.94 kB / 0.6316 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.6334, allocations: 84 kB / 0.6317 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.6335, allocations: 108 kB / 0.6318 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.6369, allocations: 1.002 MB / 0.6328 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.637, allocations: 159.4 kB / 0.6329 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.6401, allocations: 231.5 kB / 0.6331 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.6404, allocations: 236.2 kB / 0.6334 GB, free: 168 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.2943/0.9347, allocations: 1.756 MB / 0.6351 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.9355, allocations: 245.5 kB / 0.6353 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.94, allocations: 2.21 MB / 0.6375 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.9401, allocations: 12.66 kB / 0.6375 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.9401, allocations: 1.312 kB / 0.6375 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.9401, allocations: 5.484 kB / 0.6375 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.9569, allocations: 7.62 MB / 0.6449 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.9571, allocations: 15.16 kB / 0.645 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.9582, allocations: 269.6 kB / 0.6452 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.066e-05/0.9583, allocations: 24.34 kB / 0.6452 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.9584, allocations: 40.09 kB / 0.6453 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.007e-05/0.9584, allocations: 30.38 kB / 0.6453 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-05/0.9584, allocations: 20.94 kB / 0.6453 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.9622, allocations: 2.373 MB / 0.6476 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.9631, allocations: 337 kB / 0.648 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.9634, allocations: 42.22 kB / 0.648 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.9645, allocations: 64.09 kB / 0.6481 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.9648, allocations: 132.1 kB / 0.6482 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9649, allocations: 54.41 kB / 0.6482 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003422/0.9683, allocations: 1.828 MB / 0.65 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9683, allocations: 0 / 0.65 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004236/0.9726, allocations: 0.7655 MB / 0.6508 GB, free: 117.8 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.0005582/0.9731, allocations: 216.2 kB / 0.651 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006452/0.9796, allocations: 3.388 MB / 0.6543 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-05/0.9797, allocations: 2.75 kB / 0.6543 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.9814, allocations: 0.8782 MB / 0.6551 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.9838, allocations: 346.2 kB / 0.6555 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.9992, allocations: 7.693 MB / 0.663 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/1.003, allocations: 2.951 MB / 0.6659 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003131/1.007, allocations: 1.028 MB / 0.6669 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/1.007, allocations: 182.7 kB / 0.667 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.813e-06/1.007, allocations: 0 / 0.667 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.04689/1.054, allocations: 24.17 MB / 0.6906 GB, free: 94.55 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)