Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001011/0.001011, allocations: 175.9 kB / 12.73 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.411/1.411, allocations: 194.3 MB / 207.5 MB, free: 3.387 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 110.6 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2684/0.2684, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.115e-05, allocations: 7.984 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.5386, allocations: 98.54 MB / 0.5407 GB, free: 9.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.539, allocations: 70.47 kB / 0.5408 GB, free: 9.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2889/0.8279, allocations: 109.4 MB / 0.6476 GB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.828, allocations: 0 / 0.6476 GB, free: 3.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004843/0.8284, allocations: 112 kB / 0.6477 GB, free: 3.504 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02415/0.8526, allocations: 6.107 MB / 0.6537 GB, free: 13.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.8527, allocations: 12.03 kB / 0.6537 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04019/0.8929, allocations: 10.13 MB / 0.6636 GB, free: 3.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4005/1.293, allocations: 9.82 MB / 0.6732 GB, free: 95.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/1.294, allocations: 369.2 kB / 0.6736 GB, free: 95.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/1.298, allocations: 468.4 kB / 0.674 GB, free: 95.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03525/1.333, allocations: 10.65 MB / 0.6844 GB, free: 93.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/1.333, allocations: 63.5 kB / 0.6845 GB, free: 93.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007948/1.334, allocations: 199.9 kB / 0.6846 GB, free: 93.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00137/1.336, allocations: 0.9958 MB / 0.6856 GB, free: 93.38 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/1.357, allocations: 8.933 MB / 0.6943 GB, free: 93.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07577/1.433, allocations: 43.99 MB / 0.7373 GB, free: 70.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.457, allocations: 7.876 MB / 0.745 GB, free: 68.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006561/1.463, allocations: 4.935 MB / 0.7498 GB, free: 66.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.465, allocations: 1.123 MB / 0.7509 GB, free: 65.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.976e-05/1.465, allocations: 63.78 kB / 0.751 GB, free: 65.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 9.026e-06/1.465, allocations: 2.688 kB / 0.751 GB, free: 65.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=415): time 0.1964/1.662, allocations: 64.99 MB / 0.8144 GB, free: 18.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01505/1.677, allocations: 10.9 MB / 0.8251 GB, free: 7.781 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.685, allocations: 3.68 MB / 0.8287 GB, free: 4.098 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00142/1.686, allocations: 96.7 kB / 0.8288 GB, free: 4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.688, allocations: 2.992 MB / 0.8317 GB, free: 1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002082/1.69, allocations: 1.439 MB / 0.8331 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/1.691, allocations: 116 kB / 0.8332 GB, free: 15.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003652/1.691, allocations: 0.5372 MB / 0.8337 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007058/1.698, allocations: 4.416 MB / 0.838 GB, free: 10.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.708, allocations: 6.439 MB / 0.8443 GB, free: 3.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3798/2.088, allocations: 5.406 MB / 0.8496 GB, free: 99.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-05/2.088, allocations: 22.84 kB / 0.8496 GB, free: 99.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.04942/2.138, allocations: 18.43 MB / 0.8676 GB, free: 99.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/2.138, allocations: 34.81 kB / 0.8677 GB, free: 99.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.371e-05/2.138, allocations: 71.55 kB / 0.8677 GB, free: 99.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02408/2.162, allocations: 8.598 MB / 0.8761 GB, free: 99.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/2.167, allocations: 1.031 MB / 0.8771 GB, free: 99.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0664/2.233, allocations: 48.45 MB / 0.9244 GB, free: 84.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/2.241, allocations: 498.8 kB / 0.9249 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/2.242, allocations: 275.4 kB / 0.9252 GB, free: 84.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001472/2.243, allocations: 493.6 kB / 0.9257 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/2.245, allocations: 483.2 kB / 0.9261 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03872/2.284, allocations: 17.5 MB / 0.9432 GB, free: 75.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03168/2.316, allocations: 16.02 MB / 0.9589 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.354e-05/2.316, allocations: 28 kB / 0.9589 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/2.316, allocations: 24.5 kB / 0.9589 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06594/2.382, allocations: 34.59 MB / 0.9927 GB, free: 31.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.492e-05/2.382, allocations: 8 kB / 0.9927 GB, free: 31.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/2.385, allocations: 448 kB / 0.9931 GB, free: 30.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02248/2.407, allocations: 8.042 MB / 1.001 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00155/2.409, allocations: 76 kB / 1.001 GB, free: 22.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4689/2.878, allocations: 47.51 MB / 1.047 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01433/2.892, allocations: 9.671 MB / 1.057 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04306/2.935, allocations: 23.79 MB / 1.08 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004925/2.94, allocations: 1.425 MB / 1.081 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.942, allocations: 81.28 kB / 1.082 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004489/2.946, allocations: 363.1 kB / 1.082 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001748/2.948, allocations: 335.1 kB / 1.082 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/2.949, allocations: 106.6 kB / 1.082 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005012/2.954, allocations: 2.726 MB / 1.085 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.954, allocations: 0 / 1.085 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009608/2.963, allocations: 1.973 MB / 1.087 GB, free: 100.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/2.965, allocations: 209.1 kB / 1.087 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0221/2.987, allocations: 12.16 MB / 1.099 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/2.987, allocations: 6.562 kB / 1.099 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/3.001, allocations: 7.015 MB / 1.106 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006506/3.008, allocations: 0.7527 MB / 1.107 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/3.04, allocations: 13.69 MB / 1.12 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009307/3.05, allocations: 4.293 MB / 1.124 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00583/3.056, allocations: 1.679 MB / 1.126 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/3.057, allocations: 303.2 kB / 1.126 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of SimCode: time 2.746e-06/3.057, allocations: 0 / 1.126 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.4984/3.556, allocations: 108.9 MB / 1.232 GB, free: 107.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)