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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 166.7 kB / 7.646 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.7 MB / 178.7 MB, free: 15.56 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001985/0.001985, allocations: 91.53 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.206/0.206, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.845e-05, allocations: 3.375 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09276, allocations: 48.72 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4617, allocations: 91.74 MB / 490.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.462, allocations: 73.31 kB / 490.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.314/0.776, allocations: 126.3 MB / 0.6023 GB, free: 2.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7761, allocations: 0 / 0.6023 GB, free: 2.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003192/0.7764, allocations: 116 kB / 0.6025 GB, free: 2.016 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.0227/0.7991, allocations: 6.243 MB / 0.6085 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.7992, allocations: 8.031 kB / 0.6086 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/0.8265, allocations: 6.458 MB / 0.6149 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3225/1.149, allocations: 8.541 MB / 0.6232 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.15, allocations: 189.7 kB / 0.6234 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/1.154, allocations: 350.3 kB / 0.6237 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02476/1.178, allocations: 10.54 MB / 0.634 GB, free: 74.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03397/1.212, allocations: 13.7 MB / 0.6474 GB, free: 72.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/1.213, allocations: 62.84 kB / 0.6474 GB, free: 72.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002126/1.215, allocations: 21.69 kB / 0.6475 GB, free: 72.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/1.218, allocations: 1.693 MB / 0.6491 GB, free: 72.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09542/1.313, allocations: 53.26 MB / 0.7011 GB, free: 46.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.324, allocations: 6.618 MB / 0.7076 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006781/1.331, allocations: 4.605 MB / 0.7121 GB, free: 41.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/1.333, allocations: 2.215 MB / 0.7143 GB, free: 39.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/1.333, allocations: 63.88 kB / 0.7143 GB, free: 39.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=369): time 8.566e-06/1.333, allocations: 0 / 0.7143 GB, free: 39.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=431): time 0.08914/1.422, allocations: 35.86 MB / 0.7493 GB, free: 13.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/1.423, allocations: 119 kB / 0.7495 GB, free: 13.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.433, allocations: 3.515 MB / 0.7529 GB, free: 10.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001615/1.434, allocations: 25.7 kB / 0.7529 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004271/1.439, allocations: 3.996 MB / 0.7568 GB, free: 6.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003214/1.442, allocations: 1.487 MB / 0.7583 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002276/1.444, allocations: 0 / 0.7583 GB, free: 5.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001379/1.445, allocations: 0.6584 MB / 0.7589 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008273/1.454, allocations: 3.823 MB / 0.7626 GB, free: 1.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02129/1.475, allocations: 8.588 MB / 0.771 GB, free: 10.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.486, allocations: 5.497 MB / 0.7764 GB, free: 5.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/1.486, allocations: 40 kB / 0.7764 GB, free: 5.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.3446/1.831, allocations: 13.47 MB / 0.7896 GB, free: 77.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.831, allocations: 65.31 kB / 0.7896 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002687/1.831, allocations: 140.7 kB / 0.7898 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008737/1.84, allocations: 2.61 MB / 0.7923 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009558/1.85, allocations: 2.06 MB / 0.7943 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.867, allocations: 12.9 MB / 0.8069 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008085/1.876, allocations: 338.5 kB / 0.8073 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/1.878, allocations: 461.4 kB / 0.8077 GB, free: 74.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 45 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (977): * Single equations (assignments): 969 * 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.001689/1.879, allocations: 484.4 kB / 0.8082 GB, free: 74.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.88, allocations: 454.3 kB / 0.8086 GB, free: 74.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/1.898, allocations: 10.27 MB / 0.8186 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/1.898, allocations: 63.33 kB / 0.8187 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.898, allocations: 10.5 kB / 0.8187 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/1.898, allocations: 21 kB / 0.8187 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03875/1.937, allocations: 19.74 MB / 0.838 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.437e-05/1.937, allocations: 10.44 kB / 0.838 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004176/1.941, allocations: 0.8096 MB / 0.8388 GB, free: 72.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007067/1.948, allocations: 2.379 MB / 0.8411 GB, free: 72.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/1.949, allocations: 24.28 kB / 0.8411 GB, free: 72.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/1.965, allocations: 11.7 MB / 0.8526 GB, free: 66.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.697e-05/1.965, allocations: 23.47 kB / 0.8526 GB, free: 66.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03043/1.996, allocations: 16.16 MB / 0.8684 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004616/2.001, allocations: 1.149 MB / 0.8695 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002699/2.003, allocations: 19.16 kB / 0.8695 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/2.008, allocations: 241.3 kB / 0.8697 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/2.009, allocations: 272.6 kB / 0.87 GB, free: 59.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001014/2.01, allocations: 115.6 kB / 0.8701 GB, free: 59.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006008/2.016, allocations: 2.366 MB / 0.8724 GB, free: 58.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/2.017, allocations: 0 / 0.8724 GB, free: 58.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01174/2.028, allocations: 1.462 MB / 0.8738 GB, free: 58.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 338 * 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.001651/2.03, allocations: 182.8 kB / 0.874 GB, free: 58.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01819/2.048, allocations: 9.478 MB / 0.8833 GB, free: 51.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/2.048, allocations: 0 / 0.8833 GB, free: 51.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008286/2.057, allocations: 4.169 MB / 0.8873 GB, free: 47.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/2.062, allocations: 0.4954 MB / 0.8878 GB, free: 47.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/2.096, allocations: 13.28 MB / 0.9008 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009812/2.105, allocations: 4.764 MB / 0.9054 GB, free: 31.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009387/2.115, allocations: 2.866 MB / 0.9082 GB, free: 30.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002519/2.117, allocations: 348.6 kB / 0.9086 GB, free: 29.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/2.118, allocations: 0 / 0.9086 GB, free: 29.7 MB / 442.7 MB Notification: Performance of Templates: time 0.4232/2.541, allocations: 59.34 MB / 0.9665 GB, free: 88.56 MB / 458.7 MB 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)