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.001113/0.001113, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001081/0.001081, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.3635/0.3635, allocations: 38.02 MB / 308.4 MB, free: 10.54 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.0006139/0.000614, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 57.52 MB / 433.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2499/0.3775, allocations: 45.07 MB / 479 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.3963, allocations: 10.37 MB / 489.4 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008213/0.4045, allocations: 208.8 kB / 489.6 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006601/0.4112, allocations: 2.185 MB / 491.8 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.4289, allocations: 6.051 MB / 497.8 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.4318, allocations: 0.6395 MB / 498.5 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.4345, allocations: 1.472 MB / 499.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/0.4422, allocations: 6.417 MB / 0.4945 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.4435, allocations: 0.8277 MB / 0.4953 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.4451, allocations: 1.09 MB / 0.4963 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.4454, allocations: 155.2 kB / 0.4965 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4468, allocations: 0.6755 MB / 0.4972 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.448, allocations: 1.412 MB / 0.4985 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.4487, allocations: 0.7819 MB / 0.4993 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.4555, allocations: 6.19 MB / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4555, allocations: 5.25 kB / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4555, allocations: 0 / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003214/0.4558, allocations: 0 / 0.5053 GB, free: 10.77 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.01123/0.4671, allocations: 4.13 MB / 0.5094 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4671, allocations: 9.625 kB / 0.5094 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.4718, allocations: 0.6633 MB / 0.51 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006691/0.4785, allocations: 2.248 MB / 0.5122 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.4789, allocations: 271.2 kB / 0.5125 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.4805, allocations: 357.2 kB / 0.5128 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.5029, allocations: 10.73 MB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/0.503, allocations: 20.02 kB / 0.5233 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.5034, allocations: 160.3 kB / 0.5235 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.5063, allocations: 1.641 MB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.5276, allocations: 9.416 MB / 0.5343 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/0.5779, allocations: 30.82 MB / 0.5644 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.5873, allocations: 3.146 MB / 0.5674 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.6008, allocations: 9.383 MB / 0.5766 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6009, allocations: 39.56 kB / 0.5766 GB, free: 8.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.326e-06/0.6009, allocations: 4 kB / 0.5766 GB, free: 8.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=108): time 0.0269/0.6278, allocations: 8.992 MB / 0.5854 GB, free: 15.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.628, allocations: 123.7 kB / 0.5855 GB, free: 15.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/0.6325, allocations: 2.863 MB / 0.5883 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.6328, allocations: 45.7 kB / 0.5884 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.6347, allocations: 2.509 MB / 0.5908 GB, free: 9.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.6354, allocations: 434.5 kB / 0.5913 GB, free: 9.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.6356, allocations: 88 kB / 0.5913 GB, free: 9.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.6359, allocations: 478.9 kB / 0.5918 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.6382, allocations: 1.472 MB / 0.5932 GB, free: 7.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/0.6419, allocations: 3.797 MB / 0.5969 GB, free: 2.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.6453, allocations: 2.27 MB / 0.5992 GB, free: 15.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.274e-05/0.6453, allocations: 24 kB / 0.5992 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.009126/0.6545, allocations: 5.242 MB / 0.6043 GB, free: 10.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.6546, allocations: 43.98 kB / 0.6043 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-05/0.6547, allocations: 84 kB / 0.6044 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.6548, allocations: 123.9 kB / 0.6045 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.6584, allocations: 1.002 MB / 0.6055 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001337/0.6585, allocations: 163.4 kB / 0.6057 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/0.6616, allocations: 227.7 kB / 0.6059 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/0.662, allocations: 240 kB / 0.6061 GB, free: 8.707 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 (524): * Single equations (assignments): 523 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003271/0.6653, allocations: 1.751 MB / 0.6078 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.6657, allocations: 244.9 kB / 0.6081 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.6689, allocations: 2.069 MB / 0.6101 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.6689, allocations: 12 kB / 0.6101 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6689, allocations: 8 kB / 0.6101 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6689, allocations: 4.078 kB / 0.6101 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6797, allocations: 6.648 MB / 0.6166 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.6798, allocations: 16.94 kB / 0.6166 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/0.6808, allocations: 251.6 kB / 0.6169 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.6808, allocations: 24 kB / 0.6169 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.6809, allocations: 40 kB / 0.6169 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-05/0.6809, allocations: 31.86 kB / 0.6169 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/0.681, allocations: 19.94 kB / 0.617 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.6844, allocations: 3.525 MB / 0.6204 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/0.6852, allocations: 337.8 kB / 0.6207 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.6855, allocations: 39.98 kB / 0.6208 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.6864, allocations: 67.94 kB / 0.6208 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.6866, allocations: 124.2 kB / 0.6209 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.6867, allocations: 52 kB / 0.621 GB, free: 8.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003081/0.6898, allocations: 1.823 MB / 0.6228 GB, free: 6.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6898, allocations: 0 / 0.6228 GB, free: 6.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003796/0.6936, allocations: 0.7538 MB / 0.6235 GB, free: 6.172 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003775/0.694, allocations: 190.8 kB / 0.6237 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005166/0.6992, allocations: 3.179 MB / 0.6268 GB, free: 2.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6992, allocations: 4 kB / 0.6268 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7003, allocations: 0.7957 MB / 0.6276 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.7019, allocations: 307.2 kB / 0.6279 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/0.9239, allocations: 9.008 MB / 0.6367 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/0.9271, allocations: 3.021 MB / 0.6396 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002602/0.9297, allocations: 1.025 MB / 0.6406 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.9303, allocations: 182.9 kB / 0.6408 GB, free: 146.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.9303, allocations: 0 / 0.6408 GB, free: 146.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05147/0.9818, allocations: 24.23 MB / 0.6645 GB, free: 141.9 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: