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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9716/0.9716, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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=5007,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.133e-05, allocations: 9.406 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01168/0.01171, allocations: 15.88 MB / 341.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02253, allocations: 5.605 MB / 347.5 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.02525, allocations: 159.1 kB / 347.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005224/0.03047, allocations: 4.902 MB / 352.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.03608, allocations: 2.616 MB / 355.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.03827, allocations: 1.486 MB / 356.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008824/0.04709, allocations: 9.988 MB / 366.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/0.05285, allocations: 5.13 MB / 371.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00742/0.06027, allocations: 5.705 MB / 377.4 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004489/0.06476, allocations: 3.593 MB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.06596, allocations: 0.5156 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.06806, allocations: 1.319 MB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.07047, allocations: 3.121 MB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.07295, allocations: 1.948 MB / 387.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006268/0.07922, allocations: 6.133 MB / 394.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.07923, allocations: 0 / 394.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07923, allocations: 0 / 394.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002565/0.07949, allocations: 0 / 394.1 MB, free: 2.75 MB / 362.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.009611/0.0891, allocations: 6.559 MB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.08913, allocations: 8.031 kB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.09206, allocations: 1.101 MB / 401.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/0.09759, allocations: 3.742 MB / 405.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.09781, allocations: 343.6 kB / 405.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006912/0.09851, allocations: 420 kB / 406.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007792/0.1063, allocations: 5.512 MB / 411.7 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.1064, allocations: 59.56 kB / 411.8 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.1067, allocations: 175.8 kB / 412 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.1079, allocations: 1.507 MB / 413.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.1133, allocations: 2.811 MB / 416.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1746/0.288, allocations: 31.12 MB / 447.4 MB, free: 91.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.2961, allocations: 3.407 MB / 450.8 MB, free: 91.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2971, allocations: 0.8195 MB / 451.6 MB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007186/0.3043, allocations: 5.814 MB / 457.4 MB, free: 90.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3043, allocations: 56.12 kB / 457.5 MB, free: 90.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 4.719e-06/0.3043, allocations: 0 / 457.5 MB, free: 90.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.09207/0.3964, allocations: 37.63 MB / 495.1 MB, free: 60.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005862/0.4022, allocations: 4.464 MB / 499.6 MB, free: 55.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.4051, allocations: 3.41 MB / 0.4912 GB, free: 52.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004639/0.4055, allocations: 77.22 kB / 0.4913 GB, free: 52.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008027/0.4064, allocations: 2.631 MB / 0.4939 GB, free: 50.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.4071, allocations: 1.135 MB / 0.495 GB, free: 49.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4082, allocations: 1.062 MB / 0.496 GB, free: 47.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.439e-05/0.4083, allocations: 309.1 kB / 0.4963 GB, free: 47.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.4102, allocations: 1.265 MB / 0.4975 GB, free: 46.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4125, allocations: 3.59 MB / 0.501 GB, free: 41.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004892/0.4174, allocations: 5.596 MB / 0.5065 GB, free: 35.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.4174, allocations: 20 kB / 0.5065 GB, free: 35.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.0176/0.435, allocations: 7.362 MB / 0.5137 GB, free: 27.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.4351, allocations: 47.94 kB / 0.5138 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-05/0.4352, allocations: 80 kB / 0.5138 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01565/0.4508, allocations: 4.142 MB / 0.5179 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.454, allocations: 1.119 MB / 0.519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.4783, allocations: 13.45 MB / 0.5321 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/0.4824, allocations: 207.8 kB / 0.5323 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005281/0.483, allocations: 248 kB / 0.5325 GB, free: 8.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * 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 (598): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,86,92.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001755/0.4847, allocations: 0.5141 MB / 0.533 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009332/0.4857, allocations: 339.6 kB / 0.5334 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.4988, allocations: 5.968 MB / 0.5392 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01204/0.5108, allocations: 4.739 MB / 0.5438 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-05/0.5109, allocations: 24 kB / 0.5438 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/0.511, allocations: 15.94 kB / 0.5439 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02792/0.5389, allocations: 14.06 MB / 0.5576 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.5389, allocations: 4 kB / 0.5576 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.5398, allocations: 327.5 kB / 0.5579 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01346/0.5533, allocations: 4.638 MB / 0.5624 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000526/0.5538, allocations: 68.05 kB / 0.5625 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.5739, allocations: 13.55 MB / 0.5757 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005293/0.5792, allocations: 3.502 MB / 0.5791 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.5943, allocations: 6.449 MB / 0.5854 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.5957, allocations: 449 kB / 0.5859 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/0.5962, allocations: 67.92 kB / 0.5859 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.5977, allocations: 67.83 kB / 0.586 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008923/0.5986, allocations: 278.5 kB / 0.5863 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/0.5988, allocations: 64 kB / 0.5863 GB, free: 196 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.6004, allocations: 1.45 MB / 0.5877 GB, free: 14.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6004, allocations: 4 kB / 0.5877 GB, free: 14.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004702/0.6051, allocations: 2.207 MB / 0.5899 GB, free: 12.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,83,92.0%), (4,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004607/0.6055, allocations: 176 kB / 0.5901 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006814/0.6123, allocations: 4.431 MB / 0.5944 GB, free: 7.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001317/0.6125, allocations: 75.94 kB / 0.5945 GB, free: 7.762 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.6162, allocations: 2.294 MB / 0.5967 GB, free: 5.418 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/0.62, allocations: 0.9446 MB / 0.5976 GB, free: 4.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.6357, allocations: 11.03 MB / 0.6084 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.6377, allocations: 1.659 MB / 0.61 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001973/0.6397, allocations: 0.5275 MB / 0.6105 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.6413, allocations: 0.6944 MB / 0.6112 GB, free: 6.352 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6413, allocations: 0 / 0.6112 GB, free: 6.352 MB / 490.7 MB Notification: Performance of Templates: time 0.2467/0.888, allocations: 116.6 MB / 0.7251 GB, free: 82.06 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.250965123996139]