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.007019/0.007019, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.75/1.75, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.002014/0.002014, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3401/0.3401, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 16.12 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 54.87 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5678, allocations: 98.63 MB / 0.5465 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.5682, allocations: 85.72 kB / 0.5466 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2705/0.8388, allocations: 109.3 MB / 0.6534 GB, free: 6.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.94e-06/0.8388, allocations: 4 kB / 0.6534 GB, free: 6.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005466/0.8394, allocations: 108 kB / 0.6535 GB, free: 5.938 MB / 426.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.02712/0.8665, allocations: 6.928 MB / 0.6603 GB, free: 14.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.8666, allocations: 12.03 kB / 0.6603 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03922/0.9058, allocations: 10.12 MB / 0.6702 GB, free: 4.773 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0301/0.936, allocations: 9.886 MB / 0.6798 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006943/0.9367, allocations: 366.6 kB / 0.6802 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/0.9406, allocations: 471.6 kB / 0.6806 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03055/0.9712, allocations: 10.75 MB / 0.6911 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/0.9716, allocations: 59.45 kB / 0.6912 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.9727, allocations: 207.9 kB / 0.6914 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.9743, allocations: 0.9879 MB / 0.6923 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02284/0.9972, allocations: 9.063 MB / 0.7012 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3959/1.393, allocations: 43.97 MB / 0.7441 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0233/1.416, allocations: 7.922 MB / 0.7519 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.418, allocations: 1.126 MB / 0.753 GB, free: 77.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/1.418, allocations: 57.66 kB / 0.753 GB, free: 77.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 5.16e-06/1.418, allocations: 3.062 kB / 0.753 GB, free: 77.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.2109/1.629, allocations: 76.49 MB / 0.8277 GB, free: 64.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01397/1.643, allocations: 11.35 MB / 0.8388 GB, free: 54.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006086/1.649, allocations: 3.719 MB / 0.8424 GB, free: 51.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.65, allocations: 94.41 kB / 0.8425 GB, free: 51.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/1.653, allocations: 2.996 MB / 0.8454 GB, free: 48.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002478/1.655, allocations: 1.432 MB / 0.8468 GB, free: 47.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/1.656, allocations: 117.6 kB / 0.8469 GB, free: 47.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/1.656, allocations: 0.5343 MB / 0.8475 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005636/1.662, allocations: 4.482 MB / 0.8518 GB, free: 43.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006875/1.669, allocations: 6.505 MB / 0.8582 GB, free: 36.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/1.675, allocations: 5.443 MB / 0.8635 GB, free: 31.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/1.675, allocations: 20 kB / 0.8635 GB, free: 31.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.03256/1.708, allocations: 18.57 MB / 0.8817 GB, free: 15.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/1.708, allocations: 36.98 kB / 0.8817 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.419e-05/1.708, allocations: 64 kB / 0.8818 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/1.73, allocations: 8.616 MB / 0.8902 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/1.735, allocations: 1.031 MB / 0.8912 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3676/2.103, allocations: 50.54 MB / 0.9405 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/2.11, allocations: 491.8 kB / 0.941 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/2.111, allocations: 282 kB / 0.9413 GB, free: 104.1 MB / 0.4948 GB 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 () * Number of clocked 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.005778/2.117, allocations: 2.273 MB / 0.9435 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/2.118, allocations: 493.2 kB / 0.944 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03466/2.153, allocations: 17.61 MB / 0.9612 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03114/2.184, allocations: 16.11 MB / 0.9769 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/2.184, allocations: 29.23 kB / 0.9769 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/2.185, allocations: 24.31 kB / 0.9769 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06466/2.249, allocations: 34.75 MB / 1.011 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-05/2.249, allocations: 7.562 kB / 1.011 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/2.252, allocations: 444.8 kB / 1.011 GB, free: 82.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02207/2.274, allocations: 8.056 MB / 1.019 GB, free: 76.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/2.275, allocations: 83.12 kB / 1.019 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05717/2.333, allocations: 49.78 MB / 1.068 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01206/2.345, allocations: 10.13 MB / 1.078 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2839/2.629, allocations: 23.94 MB / 1.101 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005916/2.635, allocations: 1.421 MB / 1.103 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/2.637, allocations: 78.75 kB / 1.103 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/2.642, allocations: 357 kB / 1.103 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00207/2.644, allocations: 334.8 kB / 1.103 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006431/2.644, allocations: 104.8 kB / 1.103 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007388/2.652, allocations: 2.77 MB / 1.106 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/2.652, allocations: 0 / 1.106 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01252/2.664, allocations: 1.976 MB / 1.108 GB, free: 98.06 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 () * Number of clocked 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.00171/2.666, allocations: 209.4 kB / 1.108 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02061/2.687, allocations: 12.35 MB / 1.12 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.687, allocations: 0 / 1.12 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01245/2.699, allocations: 7.122 MB / 1.127 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/2.705, allocations: 0.7451 MB / 1.128 GB, free: 96.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/2.736, allocations: 17.98 MB / 1.146 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006825/2.743, allocations: 4.292 MB / 1.15 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0054/2.748, allocations: 1.683 MB / 1.151 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/2.75, allocations: 304 kB / 1.152 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/2.75, allocations: 0 / 1.152 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.1572/2.907, allocations: 109 MB / 1.258 GB, free: 22.76 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)