Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009264/0.0009264, allocations: 100 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3357/0.3357, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 12 kB / 468.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 63.25 MB / 0.5192 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4298, allocations: 107.4 MB / 0.624 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4301, allocations: 83.95 kB / 0.6241 GB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5487/0.9788, allocations: 118.2 MB / 0.7396 GB, free: 95.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.9788, allocations: 0 / 0.7396 GB, free: 95.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005066/0.9793, allocations: 106 kB / 0.7397 GB, free: 95.41 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02408/1.003, allocations: 6.991 MB / 0.7465 GB, free: 90.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.003, allocations: 11.44 kB / 0.7465 GB, free: 90.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03743/1.041, allocations: 10.13 MB / 0.7564 GB, free: 85.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/1.059, allocations: 8.383 MB / 0.7646 GB, free: 78.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/1.059, allocations: 365.8 kB / 0.7649 GB, free: 77.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/1.061, allocations: 468.7 kB / 0.7654 GB, free: 77.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/1.081, allocations: 10.76 MB / 0.7759 GB, free: 66.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/1.081, allocations: 55.55 kB / 0.7759 GB, free: 65.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004817/1.081, allocations: 203.9 kB / 0.7761 GB, free: 65.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001044/1.082, allocations: 0.9957 MB / 0.7771 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/1.099, allocations: 9.059 MB / 0.786 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04832/1.148, allocations: 43.99 MB / 0.8289 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/1.168, allocations: 7.923 MB / 0.8366 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.169, allocations: 1.125 MB / 0.8377 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.169, allocations: 64.81 kB / 0.8378 GB, free: 1.191 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 4.679e-06/1.169, allocations: 0 / 0.8378 GB, free: 1.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.4811/1.65, allocations: 76.27 MB / 0.9123 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01538/1.665, allocations: 11.36 MB / 0.9234 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00657/1.672, allocations: 3.692 MB / 0.927 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009152/1.673, allocations: 89.23 kB / 0.9271 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.675, allocations: 2.984 MB / 0.93 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001716/1.677, allocations: 1.444 MB / 0.9314 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006684/1.677, allocations: 112.3 kB / 0.9315 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002734/1.678, allocations: 0.5385 MB / 0.932 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.683, allocations: 4.479 MB / 0.9364 GB, free: 116 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005683/1.689, allocations: 6.531 MB / 0.9428 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/1.694, allocations: 5.455 MB / 0.9481 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/1.694, allocations: 19.09 kB / 0.9481 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03094/1.725, allocations: 18.59 MB / 0.9663 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/1.726, allocations: 35.31 kB / 0.9663 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/1.726, allocations: 63.84 kB / 0.9664 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/1.746, allocations: 8.621 MB / 0.9748 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/1.75, allocations: 1.035 MB / 0.9758 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05681/1.807, allocations: 50.54 MB / 1.025 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.813, allocations: 495.3 kB / 1.026 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.814, allocations: 279.9 kB / 1.026 GB, free: 52.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (531): * Single equations (assignments): 526 * 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.004909/1.819, allocations: 2.279 MB / 1.028 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.82, allocations: 485.8 kB / 1.029 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03101/1.851, allocations: 17.6 MB / 1.046 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02885/1.88, allocations: 16.11 MB / 1.062 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.05e-05/1.88, allocations: 31.95 kB / 1.062 GB, free: 16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-05/1.88, allocations: 23.92 kB / 1.062 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3412/2.221, allocations: 34.73 MB / 1.095 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.312e-05/2.222, allocations: 7.25 kB / 1.095 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/2.224, allocations: 445.5 kB / 1.096 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/2.248, allocations: 8.054 MB / 1.104 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.249, allocations: 82.59 kB / 1.104 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06093/2.31, allocations: 49.78 MB / 1.152 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01212/2.322, allocations: 10.13 MB / 1.162 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03587/2.358, allocations: 23.94 MB / 1.186 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/2.36, allocations: 0.5089 MB / 1.186 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/2.362, allocations: 79.95 kB / 1.186 GB, free: 99.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004044/2.366, allocations: 359.6 kB / 1.187 GB, free: 98.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/2.367, allocations: 333.4 kB / 1.187 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004911/2.368, allocations: 103.5 kB / 1.187 GB, free: 98.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004375/2.372, allocations: 2.744 MB / 1.19 GB, free: 96.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/2.372, allocations: 0 / 1.19 GB, free: 96.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00668/2.379, allocations: 1.97 MB / 1.192 GB, free: 94.34 MB / 0.5417 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.0007066/2.38, allocations: 211 kB / 1.192 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01601/2.396, allocations: 12.35 MB / 1.204 GB, free: 83.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/2.396, allocations: 3.469 kB / 1.204 GB, free: 83.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.406, allocations: 7.117 MB / 1.211 GB, free: 77.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/2.41, allocations: 0.7522 MB / 1.212 GB, free: 76.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/2.437, allocations: 17.96 MB / 1.229 GB, free: 58.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006597/2.443, allocations: 4.294 MB / 1.233 GB, free: 54.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004519/2.448, allocations: 1.68 MB / 1.235 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/2.449, allocations: 295.4 kB / 1.235 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of SimCode: time 1.253e-06/2.449, allocations: 0 / 1.235 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.4207/2.87, allocations: 108.8 MB / 1.342 GB, free: 138.7 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)