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.00898/0.008979, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001768/0.001768, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.4196/0.4196, allocations: 39.95 MB / 309.8 MB, free: 9.648 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.001561/0.001561, allocations: 67.91 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3822, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01745/0.3997, allocations: 14.23 MB / 0.495 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.4159, allocations: 4.005 MB / 0.4989 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007033/0.423, allocations: 72.53 kB / 0.499 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.4353, allocations: 3.927 MB / 0.5028 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.442, allocations: 1.001 MB / 0.5038 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005042/0.4471, allocations: 0.8856 MB / 0.5047 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008437/0.4556, allocations: 2.639 MB / 0.5072 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.4671, allocations: 5.103 MB / 0.5122 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/0.4731, allocations: 1.598 MB / 0.5138 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007586/0.4808, allocations: 2.09 MB / 0.5158 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.4846, allocations: 491 kB / 0.5163 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/0.4909, allocations: 1.146 MB / 0.5174 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005349/0.4963, allocations: 1.964 MB / 0.5193 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00679/0.5031, allocations: 2.27 MB / 0.5216 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.5208, allocations: 7.714 MB / 0.5291 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.5208, allocations: 0 / 0.5291 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.702e-06/0.5209, allocations: 7.922 kB / 0.5291 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002285/0.5211, allocations: 0 / 0.5291 GB, free: 15.06 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.0225/0.5436, allocations: 4.736 MB / 0.5337 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.213e-05/0.5437, allocations: 11.89 kB / 0.5337 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.5503, allocations: 0.5651 MB / 0.5343 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007631/0.558, allocations: 2.208 MB / 0.5364 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.5584, allocations: 270.9 kB / 0.5367 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.5607, allocations: 355.9 kB / 0.537 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/0.5891, allocations: 10.49 MB / 0.5473 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.5893, allocations: 15.88 kB / 0.5473 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.5905, allocations: 155.9 kB / 0.5474 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003219/0.5937, allocations: 1.636 MB / 0.549 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.6153, allocations: 9.172 MB / 0.558 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.6688, allocations: 30.88 MB / 0.5882 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009515/0.6783, allocations: 3.085 MB / 0.5912 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.6809, allocations: 1.763 MB / 0.5929 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.695, allocations: 9.73 MB / 0.6024 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.6951, allocations: 43.56 kB / 0.6024 GB, free: 2.297 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/0.6951, allocations: 3.938 kB / 0.6024 GB, free: 2.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.02707/0.7222, allocations: 9.339 MB / 0.6116 GB, free: 8.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.7223, allocations: 119.9 kB / 0.6117 GB, free: 8.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/0.7268, allocations: 2.866 MB / 0.6145 GB, free: 5.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.727, allocations: 45.64 kB / 0.6145 GB, free: 5.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.7287, allocations: 2.474 MB / 0.6169 GB, free: 3.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.7293, allocations: 454.3 kB / 0.6174 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.7309, allocations: 0.8567 MB / 0.6182 GB, free: 2.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.731, allocations: 309.1 kB / 0.6185 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.7333, allocations: 1.562 MB / 0.62 GB, free: 148 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.7373, allocations: 3.882 MB / 0.6238 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/0.7444, allocations: 5.705 MB / 0.6294 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.409e-05/0.7445, allocations: 20 kB / 0.6294 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.3383/1.083, allocations: 5.411 MB / 0.6347 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.799e-05/1.083, allocations: 41.03 kB / 0.6347 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.083, allocations: 81.83 kB / 0.6348 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/1.083, allocations: 110.9 kB / 0.6349 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/1.087, allocations: 0.9995 MB / 0.6359 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001877/1.087, allocations: 160.5 kB / 0.636 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.09, allocations: 231.1 kB / 0.6363 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/1.091, allocations: 240.3 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.003098/1.094, allocations: 1.76 MB / 0.6382 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/1.094, allocations: 240.8 kB / 0.6384 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/1.098, allocations: 2.209 MB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/1.098, allocations: 14.16 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.098, allocations: 1.75 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.098, allocations: 9.719 kB / 0.6406 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.113, allocations: 7.628 MB / 0.6481 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/1.113, allocations: 14.56 kB / 0.6481 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.114, allocations: 263.4 kB / 0.6483 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.614e-05/1.114, allocations: 25.22 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-05/1.114, allocations: 43.98 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.598e-05/1.114, allocations: 34.23 kB / 0.6484 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.827e-05/1.115, allocations: 24.33 kB / 0.6485 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/1.119, allocations: 2.361 MB / 0.6508 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.121, allocations: 337.8 kB / 0.6511 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/1.121, allocations: 42.34 kB / 0.6511 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.122, allocations: 72.28 kB / 0.6512 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.122, allocations: 127.2 kB / 0.6513 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.122, allocations: 54.22 kB / 0.6514 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003677/1.126, allocations: 1.827 MB / 0.6531 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.126, allocations: 4.375 kB / 0.6531 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006177/1.132, allocations: 0.7624 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.0006687/1.133, allocations: 211.8 kB / 0.6541 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007099/1.14, allocations: 3.391 MB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.29e-05/1.14, allocations: 6.219 kB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.142, allocations: 0.8799 MB / 0.6583 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.144, allocations: 340.4 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.01498/1.159, allocations: 7.704 MB / 0.6661 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.162, allocations: 2.949 MB / 0.669 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002678/1.164, allocations: 1.023 MB / 0.67 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/1.165, allocations: 187.1 kB / 0.6702 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.894e-06/1.165, allocations: 0 / 0.6702 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.04559/1.211, allocations: 24.14 MB / 0.6938 GB, free: 87.98 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)