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.0009063/0.0009061, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005681/0.005681, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.465/1.465, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.3442/0.3442, allocations: 38.04 MB / 308.8 MB, free: 10.26 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.000642/0.0006423, allocations: 12 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1154, allocations: 57.52 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2602/0.3756, allocations: 51.26 MB / 485.8 MB, free: 23.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.3996, allocations: 10.4 MB / 496.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0147/0.4144, allocations: 210.1 kB / 496.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.4163, allocations: 362.2 kB / 496.8 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.4199, allocations: 0.9515 MB / 497.7 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.4224, allocations: 0.7994 MB / 498.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.4276, allocations: 4.201 MB / 0.4909 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.4383, allocations: 7.329 MB / 0.4981 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.4406, allocations: 0.9767 MB / 0.4991 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.4437, allocations: 1.639 MB / 0.5007 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008149/0.4445, allocations: 151.6 kB / 0.5008 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.4469, allocations: 0.8769 MB / 0.5017 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.4493, allocations: 1.551 MB / 0.5032 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003539/0.4528, allocations: 1.831 MB / 0.505 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4643, allocations: 7.142 MB / 0.5119 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4644, allocations: 0 / 0.5119 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.4644, allocations: 1.219 kB / 0.5119 GB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.4647, allocations: 7.938 kB / 0.5119 GB, free: 6.582 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.01248/0.4772, allocations: 3.89 MB / 0.5157 GB, free: 3.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4772, allocations: 13.34 kB / 0.5158 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.4811, allocations: 0.555 MB / 0.5163 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007979/0.4891, allocations: 2.184 MB / 0.5184 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.4894, allocations: 272 kB / 0.5187 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.4905, allocations: 350.8 kB / 0.519 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.5134, allocations: 10.52 MB / 0.5293 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.585e-05/0.5136, allocations: 15.88 kB / 0.5293 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004221/0.514, allocations: 155.9 kB / 0.5295 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/0.517, allocations: 1.643 MB / 0.5311 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/0.5385, allocations: 9.201 MB / 0.5401 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/0.5896, allocations: 31.11 MB / 0.5704 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.5991, allocations: 3.089 MB / 0.5734 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.6016, allocations: 1.77 MB / 0.5752 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/0.6148, allocations: 9.726 MB / 0.5847 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6149, allocations: 51.5 kB / 0.5847 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=94): time 2.755e-06/0.6149, allocations: 0 / 0.5847 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of matching and sorting (n=111): time 0.02746/0.6424, allocations: 9.32 MB / 0.5938 GB, free: 7.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.6426, allocations: 115.8 kB / 0.5939 GB, free: 7.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.6472, allocations: 2.87 MB / 0.5967 GB, free: 4.312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.6476, allocations: 45.7 kB / 0.5968 GB, free: 4.262 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.6494, allocations: 2.478 MB / 0.5992 GB, free: 1.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.65, allocations: 446.4 kB / 0.5996 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.6505, allocations: 382.7 kB / 0.6 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6506, allocations: 305.1 kB / 0.6003 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.653, allocations: 1.566 MB / 0.6018 GB, free: 15.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/0.6571, allocations: 3.874 MB / 0.6056 GB, free: 10.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007026/0.6641, allocations: 5.709 MB / 0.6112 GB, free: 3.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-05/0.6642, allocations: 27.94 kB / 0.6112 GB, free: 3.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.008548/0.6727, allocations: 5.413 MB / 0.6165 GB, free: 13.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.6728, allocations: 40 kB / 0.6165 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.6729, allocations: 80 kB / 0.6166 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.993e-05/0.673, allocations: 108 kB / 0.6167 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.6763, allocations: 1.002 MB / 0.6177 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/0.6764, allocations: 159.8 kB / 0.6178 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.6794, allocations: 231.5 kB / 0.6181 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.6799, allocations: 240 kB / 0.6183 GB, free: 11.86 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.003788/0.6837, allocations: 1.758 MB / 0.62 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/0.6842, allocations: 240.8 kB / 0.6202 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.6879, allocations: 2.21 MB / 0.6224 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6879, allocations: 19.94 kB / 0.6224 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6879, allocations: 3.984 kB / 0.6224 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6879, allocations: 7.969 kB / 0.6224 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2526/0.9406, allocations: 7.638 MB / 0.6299 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.9406, allocations: 19.23 kB / 0.6299 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9418, allocations: 257 kB / 0.6301 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.9418, allocations: 24.44 kB / 0.6302 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.9419, allocations: 44.06 kB / 0.6302 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.9419, allocations: 31.78 kB / 0.6302 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.942, allocations: 21.58 kB / 0.6303 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.9445, allocations: 2.37 MB / 0.6326 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.9452, allocations: 340.5 kB / 0.6329 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.9455, allocations: 49.7 kB / 0.6329 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.9465, allocations: 69.02 kB / 0.633 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.9467, allocations: 124.9 kB / 0.6331 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.9468, allocations: 55.28 kB / 0.6332 GB, free: 145.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002551/0.9493, allocations: 1.826 MB / 0.635 GB, free: 145.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9493, allocations: 0 / 0.635 GB, free: 145.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003385/0.9527, allocations: 0.7691 MB / 0.6357 GB, free: 145.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.0004656/0.9532, allocations: 208.9 kB / 0.6359 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.958, allocations: 3.347 MB / 0.6392 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.958, allocations: 3.312 kB / 0.6392 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.9591, allocations: 0.8844 MB / 0.6401 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006512/0.9656, allocations: 324.2 kB / 0.6404 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.9798, allocations: 9.656 MB / 0.6498 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.9825, allocations: 2.956 MB / 0.6527 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002972/0.9855, allocations: 1.013 MB / 0.6537 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.9861, allocations: 190.5 kB / 0.6538 GB, free: 137.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.9861, allocations: 0 / 0.6538 GB, free: 137.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05015/1.036, allocations: 25.28 MB / 0.6785 GB, free: 132.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: