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.001198/0.001198, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.002012/0.002012, allocations: 161.1 kB / 24.99 MB, free: 8.219 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 1.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.605 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.2909/0.2909, allocations: 34.86 MB / 296.6 MB, free: 496 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.764e-06/1.764e-06, allocations: 0 / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.404e-05, allocations: 3.578 kB / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01288/0.01291, allocations: 16.16 MB / 394.9 MB, free: 2.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.02393, allocations: 5.404 MB / 400.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.02746, allocations: 163.1 kB / 400.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007246/0.03471, allocations: 4.981 MB / 405.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.04142, allocations: 2.601 MB / 408.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.0447, allocations: 1.501 MB / 409.6 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.05742, allocations: 10.04 MB / 419.6 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007384/0.0648, allocations: 5.459 MB / 425.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007353/0.07216, allocations: 3.957 MB / 429 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005578/0.07773, allocations: 3.808 MB / 432.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.07915, allocations: 0.5155 MB / 433.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.08202, allocations: 1.299 MB / 434.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00367/0.08569, allocations: 3.113 MB / 437.8 MB, free: 7.129 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.0887, allocations: 1.944 MB / 439.7 MB, free: 5.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2037/0.2924, allocations: 6.118 MB / 445.8 MB, free: 68.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.2925, allocations: 0 / 445.8 MB, free: 68.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2925, allocations: 0 / 445.8 MB, free: 68.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003801/0.2928, allocations: 0 / 445.8 MB, free: 68.45 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01476/0.3076, allocations: 7.771 MB / 453.6 MB, free: 65.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.3077, allocations: 11.12 kB / 453.6 MB, free: 65.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0088/0.3165, allocations: 2.454 MB / 456.1 MB, free: 65.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3266, allocations: 4.844 MB / 460.9 MB, free: 64.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.3269, allocations: 346.2 kB / 461.3 MB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.3283, allocations: 415.7 kB / 461.7 MB, free: 64.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.3432, allocations: 6.911 MB / 468.6 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.3434, allocations: 58.7 kB / 468.6 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/0.3439, allocations: 180.4 kB / 468.8 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.3457, allocations: 1.722 MB / 470.5 MB, free: 61.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009755/0.3555, allocations: 4.184 MB / 474.7 MB, free: 61.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04226/0.3977, allocations: 41.9 MB / 0.5045 GB, free: 30.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.4098, allocations: 4.935 MB / 0.5093 GB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.4127, allocations: 1.573 MB / 0.5109 GB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.4244, allocations: 7.296 MB / 0.518 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.4245, allocations: 71.5 kB / 0.5181 GB, free: 25.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.181e-06/0.4245, allocations: 0 / 0.5181 GB, free: 25.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.1389/0.5634, allocations: 53.47 MB / 0.5703 GB, free: 6.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008241/0.5716, allocations: 6.058 MB / 0.5762 GB, free: 452 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.5768, allocations: 3.598 MB / 0.5797 GB, free: 12.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001366/0.5781, allocations: 92.44 kB / 0.5798 GB, free: 12.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.5801, allocations: 3.1 MB / 0.5828 GB, free: 9.664 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002078/0.5821, allocations: 1.53 MB / 0.5843 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.5839, allocations: 1.289 MB / 0.5856 GB, free: 6.852 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.584, allocations: 495.8 kB / 0.586 GB, free: 6.367 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.5867, allocations: 1.617 MB / 0.5876 GB, free: 4.746 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/0.5909, allocations: 4.735 MB / 0.5922 GB, free: 14.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007998/0.5989, allocations: 7.041 MB / 0.5991 GB, free: 6.727 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/0.5989, allocations: 16 kB / 0.5991 GB, free: 6.711 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.2042/0.8031, allocations: 11.63 MB / 0.6105 GB, free: 142 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.8032, allocations: 31.53 kB / 0.6105 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-05/0.8033, allocations: 68.67 kB / 0.6106 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/0.8202, allocations: 7.265 MB / 0.6177 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.8233, allocations: 1.13 MB / 0.6188 GB, free: 141.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03236/0.8556, allocations: 21.64 MB / 0.6399 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/0.8607, allocations: 0.6441 MB / 0.6406 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/0.862, allocations: 296 kB / 0.6408 GB, free: 134.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (591): * Single equations (assignments): 582 * 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 {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.00262/0.8647, allocations: 0.5709 MB / 0.6414 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/0.8663, allocations: 0.5723 MB / 0.642 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/0.8863, allocations: 10.42 MB / 0.6521 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0165/0.9028, allocations: 8.983 MB / 0.6609 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/0.9029, allocations: 27.47 kB / 0.6609 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/0.903, allocations: 19.92 kB / 0.661 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03726/0.9402, allocations: 22.35 MB / 0.6828 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.9403, allocations: 4 kB / 0.6828 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.9418, allocations: 459.2 kB / 0.6832 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/0.957, allocations: 7.171 MB / 0.6902 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001063/0.958, allocations: 71.98 kB / 0.6903 GB, free: 98.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/0.987, allocations: 20.52 MB / 0.7103 GB, free: 77.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005482/0.9925, allocations: 5.218 MB / 0.7154 GB, free: 72.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/1.013, allocations: 11.65 MB / 0.7268 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.015, allocations: 0.5058 MB / 0.7273 GB, free: 60 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.016, allocations: 75.94 kB / 0.7274 GB, free: 59.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.018, allocations: 0.5148 MB / 0.7279 GB, free: 59.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/1.02, allocations: 343.8 kB / 0.7282 GB, free: 59.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.02, allocations: 99.98 kB / 0.7283 GB, free: 58.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002242/1.022, allocations: 1.811 MB / 0.7301 GB, free: 57.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 3.938 kB / 0.7301 GB, free: 57.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00654/1.029, allocations: 2.556 MB / 0.7326 GB, free: 54.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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 {(9,99,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006603/1.029, allocations: 206 kB / 0.7328 GB, free: 54.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009859/1.039, allocations: 7.003 MB / 0.7396 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.039, allocations: 0 / 0.7396 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006306/1.046, allocations: 4.403 MB / 0.7439 GB, free: 42.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/1.05, allocations: 0.7445 MB / 0.7446 GB, free: 42.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.068, allocations: 12.61 MB / 0.7569 GB, free: 29.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.07, allocations: 1.752 MB / 0.7587 GB, free: 27.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002545/1.072, allocations: 1.196 MB / 0.7598 GB, free: 26.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.074, allocations: 296.4 kB / 0.7601 GB, free: 26.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/1.074, allocations: 0 / 0.7601 GB, free: 26.11 MB / 474.7 MB Notification: Performance of Templates: time 0.2877/1.361, allocations: 129.1 MB / 0.8862 GB, free: 65.95 MB / 474.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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.332099834922701]