Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006391/0.006391, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001212/0.001212, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.517/1.517, allocations: 205.1 MB / 222.5 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.347/0.347, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.00164/0.00164, allocations: 71.89 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4487, allocations: 56.47 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02567/0.4744, allocations: 18.61 MB / 0.4962 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4957, allocations: 5.348 MB / 0.5014 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00748/0.5033, allocations: 112.2 kB / 0.5015 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007578/0.5109, allocations: 3.073 MB / 0.5045 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.5223, allocations: 2.623 MB / 0.5071 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.5263, allocations: 1.023 MB / 0.5081 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01723/0.5435, allocations: 7.411 MB / 0.5153 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008784/0.5524, allocations: 4.24 MB / 0.5194 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007549/0.56, allocations: 2.311 MB / 0.5217 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007626/0.5677, allocations: 3.279 MB / 0.5249 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.5702, allocations: 459.9 kB / 0.5253 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.5752, allocations: 1.303 MB / 0.5266 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005638/0.5809, allocations: 2.887 MB / 0.5294 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009586/0.5905, allocations: 3.258 MB / 0.5326 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.6099, allocations: 10.16 MB / 0.5425 GB, free: 1.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.61, allocations: 4 kB / 0.5425 GB, free: 1.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.61, allocations: 0 / 0.5425 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000545/0.6105, allocations: 0 / 0.5425 GB, free: 1.25 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02439/0.6349, allocations: 7.306 MB / 0.5497 GB, free: 9.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.635, allocations: 15.89 kB / 0.5497 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.6524, allocations: 3.833 MB / 0.5534 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.6674, allocations: 4.335 MB / 0.5577 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/0.6679, allocations: 324.5 kB / 0.558 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/0.6713, allocations: 443.7 kB / 0.5584 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03793/0.7093, allocations: 15.8 MB / 0.5738 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.7095, allocations: 63.39 kB / 0.5739 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006744/0.7102, allocations: 199.8 kB / 0.5741 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006734/0.717, allocations: 3.474 MB / 0.5775 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03595/0.7529, allocations: 14.91 MB / 0.592 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5133/1.266, allocations: 55.79 MB / 0.6465 GB, free: 93.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/1.288, allocations: 8.197 MB / 0.6545 GB, free: 92.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007397/1.295, allocations: 4.834 MB / 0.6592 GB, free: 90.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/1.298, allocations: 2.215 MB / 0.6614 GB, free: 88.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/1.298, allocations: 65.52 kB / 0.6615 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 6.843e-06/1.298, allocations: 0 / 0.6615 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.111/1.409, allocations: 40.26 MB / 0.7008 GB, free: 72.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.409, allocations: 122.1 kB / 0.7009 GB, free: 72.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006452/1.415, allocations: 4.374 MB / 0.7052 GB, free: 67.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/1.417, allocations: 89.53 kB / 0.7053 GB, free: 67.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/1.419, allocations: 3.864 MB / 0.709 GB, free: 63.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002723/1.422, allocations: 1.491 MB / 0.7105 GB, free: 62.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/1.424, allocations: 1.582 MB / 0.712 GB, free: 60.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/1.424, allocations: 305.1 kB / 0.7123 GB, free: 60.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004989/1.429, allocations: 4.087 MB / 0.7163 GB, free: 56.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/1.436, allocations: 7.903 MB / 0.724 GB, free: 46.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.449, allocations: 12.97 MB / 0.7367 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.449, allocations: 40 kB / 0.7367 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02719/1.476, allocations: 14.81 MB / 0.7512 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/1.476, allocations: 64 kB / 0.7513 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/1.477, allocations: 128 kB / 0.7514 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007638/1.484, allocations: 2.927 MB / 0.7542 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007168/1.491, allocations: 1.829 MB / 0.756 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/1.514, allocations: 15.96 MB / 0.7716 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009145/1.523, allocations: 0.4957 MB / 0.7721 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002494/1.526, allocations: 435.9 kB / 0.7725 GB, free: 10.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0103/1.536, allocations: 2.915 MB / 0.7754 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/1.538, allocations: 470 kB / 0.7758 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/1.56, allocations: 10.93 MB / 0.7865 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000157/1.56, allocations: 59.75 kB / 0.7865 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/1.56, allocations: 12 kB / 0.7865 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/1.56, allocations: 19.92 kB / 0.7866 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05074/1.611, allocations: 21.67 MB / 0.8077 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-05/1.611, allocations: 15.94 kB / 0.8077 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.615, allocations: 0.6824 MB / 0.8084 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008678/1.624, allocations: 2.729 MB / 0.8111 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/1.625, allocations: 83.44 kB / 0.8111 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/1.645, allocations: 14.55 MB / 0.8254 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.646, allocations: 15.94 kB / 0.8254 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/1.672, allocations: 15.59 MB / 0.8406 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004886/1.677, allocations: 1.186 MB / 0.8417 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.678, allocations: 72 kB / 0.8418 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.681, allocations: 314.8 kB / 0.8421 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00086/1.682, allocations: 269.9 kB / 0.8424 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.683, allocations: 108 kB / 0.8425 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004919/1.688, allocations: 2.745 MB / 0.8452 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.688, allocations: 0 / 0.8452 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01245/1.7, allocations: 1.694 MB / 0.8468 GB, free: 14.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/1.701, allocations: 237.1 kB / 0.847 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.719, allocations: 10.13 MB / 0.8569 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/1.719, allocations: 4 kB / 0.8569 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.3283/2.047, allocations: 4.363 MB / 0.8612 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005673/2.053, allocations: 0.7149 MB / 0.8619 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/2.088, allocations: 15.87 MB / 0.8774 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008134/2.096, allocations: 4.618 MB / 0.8819 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008266/2.104, allocations: 2.741 MB / 0.8846 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/2.106, allocations: 355.5 kB / 0.8849 GB, free: 199 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/2.106, allocations: 0 / 0.8849 GB, free: 199 MB / 0.5919 GB Notification: Performance of Templates: time 0.1147/2.221, allocations: 69.65 MB / 0.9529 GB, free: 147.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)