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.00637/0.00637, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.001202/0.001202, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.3593/0.3593, allocations: 38 MB / 307.9 MB, free: 10.04 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.001579/0.001579, allocations: 79.81 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3838, 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.01449/0.3984, allocations: 14.22 MB / 0.4919 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.4102, allocations: 4.006 MB / 0.4958 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.4141, allocations: 71.25 kB / 0.4959 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008141/0.4223, allocations: 3.914 MB / 0.4997 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.4272, allocations: 1.062 MB / 0.5007 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.4311, allocations: 0.8842 MB / 0.5016 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006363/0.4374, allocations: 2.637 MB / 0.5042 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006542/0.444, allocations: 5.114 MB / 0.5092 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.4479, allocations: 1.599 MB / 0.5107 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005248/0.4532, allocations: 2.089 MB / 0.5128 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.4552, allocations: 490.7 kB / 0.5132 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.4603, allocations: 1.148 MB / 0.5144 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00388/0.4642, allocations: 1.957 MB / 0.5163 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004855/0.4691, allocations: 2.284 MB / 0.5185 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.4792, allocations: 7.71 MB / 0.526 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.4793, allocations: 0 / 0.526 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4793, allocations: 0 / 0.526 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.4795, allocations: 0 / 0.526 GB, free: 2.207 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.01454/0.4941, allocations: 4.732 MB / 0.5306 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.4942, allocations: 11.89 kB / 0.5307 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.4971, allocations: 0.5651 MB / 0.5312 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.5018, allocations: 2.212 MB / 0.5334 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.502, allocations: 270.9 kB / 0.5336 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006798/0.5027, allocations: 347.9 kB / 0.534 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.5272, allocations: 10.49 MB / 0.5442 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.5275, allocations: 15.81 kB / 0.5442 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/0.5293, allocations: 163.9 kB / 0.5444 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.5326, allocations: 1.64 MB / 0.546 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.5574, allocations: 9.16 MB / 0.5549 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05807/0.6155, allocations: 30.89 MB / 0.5851 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6259, allocations: 3.097 MB / 0.5881 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.6289, allocations: 1.763 MB / 0.5898 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.6466, allocations: 9.726 MB / 0.5993 GB, free: 5.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.857e-05/0.6468, allocations: 43.56 kB / 0.5994 GB, free: 5.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 5.961e-06/0.6468, allocations: 0 / 0.5994 GB, free: 5.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.03002/0.6768, allocations: 9.339 MB / 0.6085 GB, free: 12.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.677, allocations: 123.8 kB / 0.6086 GB, free: 11.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006914/0.684, allocations: 2.87 MB / 0.6114 GB, free: 9.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.6843, allocations: 45.7 kB / 0.6115 GB, free: 8.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/0.6872, allocations: 2.466 MB / 0.6139 GB, free: 6.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/0.688, allocations: 446.4 kB / 0.6143 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/0.69, allocations: 0.8645 MB / 0.6151 GB, free: 5.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6902, allocations: 309 kB / 0.6154 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.693, allocations: 1.566 MB / 0.617 GB, free: 3.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.6978, allocations: 3.878 MB / 0.6207 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00842/0.7063, allocations: 5.705 MB / 0.6263 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.7064, allocations: 24 kB / 0.6263 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01139/0.7178, allocations: 5.409 MB / 0.6316 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.7181, allocations: 43.94 kB / 0.6317 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/0.7183, allocations: 80.84 kB / 0.6317 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.7186, allocations: 115.9 kB / 0.6318 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/0.723, allocations: 1.002 MB / 0.6328 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003251/0.7233, allocations: 159.4 kB / 0.633 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/0.7277, allocations: 231.5 kB / 0.6332 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005951/0.7283, allocations: 240 kB / 0.6334 GB, free: 100 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.407/1.135, allocations: 1.752 MB / 0.6351 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007791/1.136, allocations: 241.2 kB / 0.6354 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.141, allocations: 2.215 MB / 0.6375 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.141, allocations: 12.72 kB / 0.6375 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.141, allocations: 0.7812 kB / 0.6375 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/1.141, allocations: 6.547 kB / 0.6375 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.158, allocations: 7.627 MB / 0.645 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/1.158, allocations: 14.47 kB / 0.645 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.159, allocations: 261.4 kB / 0.6453 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.545e-05/1.159, allocations: 19.81 kB / 0.6453 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.159, allocations: 40.34 kB / 0.6453 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.084e-05/1.16, allocations: 31.86 kB / 0.6453 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/1.16, allocations: 23.62 kB / 0.6454 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/1.163, allocations: 2.372 MB / 0.6477 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.164, allocations: 334.4 kB / 0.648 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/1.165, allocations: 45.48 kB / 0.648 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.166, allocations: 67.91 kB / 0.6481 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.166, allocations: 128.2 kB / 0.6482 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.166, allocations: 51.05 kB / 0.6483 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004427/1.171, allocations: 1.829 MB / 0.6501 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.171, allocations: 0 / 0.6501 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005299/1.176, allocations: 0.7721 MB / 0.6508 GB, free: 118.7 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.0005503/1.177, allocations: 213.8 kB / 0.651 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006608/1.183, allocations: 3.379 MB / 0.6543 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.459e-05/1.183, allocations: 2.188 kB / 0.6543 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/1.185, allocations: 0.8843 MB / 0.6552 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.187, allocations: 352.2 kB / 0.6555 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.204, allocations: 7.693 MB / 0.663 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.207, allocations: 2.955 MB / 0.6659 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003155/1.21, allocations: 1.022 MB / 0.6669 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/1.211, allocations: 186.2 kB / 0.6671 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/1.211, allocations: 0 / 0.6671 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04944/1.26, allocations: 24.2 MB / 0.6907 GB, free: 95.38 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)