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.001127/0.001127, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001343/0.001343, allocations: 168.7 kB / 15.95 MB, free: 204 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.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.321/0.321, allocations: 38.03 MB / 308.4 MB, free: 10.34 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.0005408/0.0005408, allocations: 12 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2828/0.4174, allocations: 57.96 MB / 491.9 MB, free: 20.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.446, allocations: 12.2 MB / 0.4923 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/0.4585, allocations: 274.1 kB / 0.4926 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009381/0.4679, allocations: 2.879 MB / 0.4954 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02454/0.4925, allocations: 8.636 MB / 0.5038 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.4965, allocations: 0.9064 MB / 0.5047 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03037/0.5269, allocations: 22.05 MB / 0.5262 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009985/0.5369, allocations: 5.033 MB / 0.5311 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004789/0.5418, allocations: 1.903 MB / 0.533 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.5476, allocations: 3.131 MB / 0.5361 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.5493, allocations: 220 kB / 0.5363 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.5529, allocations: 0.9753 MB / 0.5372 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.557, allocations: 2.606 MB / 0.5398 GB, free: 220 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.5596, allocations: 1.193 MB / 0.5409 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.5683, allocations: 7.708 MB / 0.5485 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5683, allocations: 0 / 0.5485 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5684, allocations: 4 kB / 0.5485 GB, free: 7.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003447/0.5687, allocations: 0 / 0.5485 GB, free: 7.281 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.01264/0.5814, allocations: 6.106 MB / 0.5544 GB, free: 1.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5814, allocations: 8.031 kB / 0.5544 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.5956, allocations: 3.942 MB / 0.5583 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008858/0.6045, allocations: 4.195 MB / 0.5624 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.6049, allocations: 329.9 kB / 0.5627 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.6068, allocations: 435.6 kB / 0.5631 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.6361, allocations: 15.8 MB / 0.5785 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/0.6364, allocations: 63.44 kB / 0.5786 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.6379, allocations: 199.8 kB / 0.5788 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006139/0.644, allocations: 3.47 MB / 0.5822 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/0.6767, allocations: 14.9 MB / 0.5967 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3265/1.003, allocations: 56.05 MB / 0.6515 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.019, allocations: 8.188 MB / 0.6595 GB, free: 111.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/1.024, allocations: 4.817 MB / 0.6642 GB, free: 110.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.025, allocations: 2.21 MB / 0.6663 GB, free: 108.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/1.025, allocations: 62.8 kB / 0.6664 GB, free: 108.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 6.452e-06/1.025, allocations: 0 / 0.6664 GB, free: 108.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1113/1.136, allocations: 40.21 MB / 0.7056 GB, free: 96.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.137, allocations: 115.6 kB / 0.7058 GB, free: 96.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007065/1.144, allocations: 4.334 MB / 0.71 GB, free: 95.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.145, allocations: 87.64 kB / 0.7101 GB, free: 95.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/1.147, allocations: 3.868 MB / 0.7138 GB, free: 92.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.149, allocations: 1.492 MB / 0.7153 GB, free: 91.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.15, allocations: 153.6 kB / 0.7154 GB, free: 90.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006009/1.151, allocations: 0.6531 MB / 0.7161 GB, free: 90.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006059/1.157, allocations: 4.054 MB / 0.72 GB, free: 87.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007728/1.165, allocations: 7.882 MB / 0.7277 GB, free: 77.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/1.172, allocations: 5.616 MB / 0.7332 GB, free: 71.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/1.173, allocations: 36 kB / 0.7333 GB, free: 71.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02897/1.202, allocations: 14.74 MB / 0.7477 GB, free: 57.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/1.202, allocations: 62.97 kB / 0.7477 GB, free: 57.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002378/1.202, allocations: 128 kB / 0.7478 GB, free: 56.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007256/1.209, allocations: 2.955 MB / 0.7507 GB, free: 53.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.216, allocations: 1.833 MB / 0.7525 GB, free: 52.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/1.233, allocations: 14.8 MB / 0.767 GB, free: 37.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.24, allocations: 0.511 MB / 0.7675 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.242, allocations: 439.9 kB / 0.7679 GB, free: 36.11 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006644/1.249, allocations: 2.905 MB / 0.7707 GB, free: 33.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/1.25, allocations: 458.1 kB / 0.7712 GB, free: 32.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/1.27, allocations: 10.92 MB / 0.7818 GB, free: 21.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/1.271, allocations: 66.42 kB / 0.7819 GB, free: 21.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/1.271, allocations: 11.95 kB / 0.7819 GB, free: 21.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.581e-05/1.271, allocations: 23.86 kB / 0.7819 GB, free: 21.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/1.308, allocations: 21.74 MB / 0.8031 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/1.308, allocations: 12 kB / 0.8032 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/1.311, allocations: 0.6834 MB / 0.8038 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007862/1.319, allocations: 2.736 MB / 0.8065 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/1.32, allocations: 83.98 kB / 0.8066 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.341, allocations: 13.57 MB / 0.8198 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/1.341, allocations: 15.94 kB / 0.8198 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2581/1.599, allocations: 15.52 MB / 0.835 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/1.602, allocations: 1.178 MB / 0.8362 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.604, allocations: 77.72 kB / 0.8362 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.607, allocations: 315.9 kB / 0.8365 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006209/1.607, allocations: 271.6 kB / 0.8368 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.608, allocations: 114.4 kB / 0.8369 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004471/1.612, allocations: 2.695 MB / 0.8395 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/1.612, allocations: 3.062 kB / 0.8395 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0105/1.623, allocations: 1.695 MB / 0.8412 GB, free: 157.4 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/1.624, allocations: 233.9 kB / 0.8414 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01633/1.641, allocations: 10.05 MB / 0.8512 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.136e-05/1.641, allocations: 0 / 0.8512 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007784/1.648, allocations: 4.362 MB / 0.8555 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006469/1.655, allocations: 0.6831 MB / 0.8561 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/1.691, allocations: 18.66 MB / 0.8744 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/1.702, allocations: 4.62 MB / 0.8789 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01073/1.713, allocations: 2.74 MB / 0.8816 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/1.715, allocations: 350.1 kB / 0.8819 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.693e-06/1.715, allocations: 4 kB / 0.8819 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1066/1.822, allocations: 66.68 MB / 0.947 GB, free: 93.72 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: