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.002019/0.002019, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001713/0.001713, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.511/1.511, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.4281/0.4281, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.211e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02142/0.02146, allocations: 14.57 MB / 391.8 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.0361, allocations: 5.288 MB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.04039, allocations: 163.1 kB / 397.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.05159, allocations: 4.836 MB / 402.1 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008782/0.06037, allocations: 2.601 MB / 404.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.06441, allocations: 1.486 MB / 406.2 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.08141, allocations: 10.07 MB / 416.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009736/0.09115, allocations: 5.447 MB / 421.7 MB, free: 6.234 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.1021, allocations: 3.93 MB / 425.6 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00806/0.1102, allocations: 3.734 MB / 429.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00188/0.1121, allocations: 0.5234 MB / 429.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.1162, allocations: 1.295 MB / 431.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005001/0.1212, allocations: 3.106 MB / 434.3 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005321/0.1265, allocations: 1.952 MB / 436.2 MB, free: 7.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1989/0.3254, allocations: 9.562 MB / 445.8 MB, free: 68.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3254, allocations: 0 / 445.8 MB, free: 68.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3254, allocations: 0 / 445.8 MB, free: 68.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002889/0.3257, allocations: 0 / 445.8 MB, free: 68.4 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.01885/0.3445, allocations: 7.527 MB / 453.3 MB, free: 65.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3446, allocations: 11.16 kB / 453.3 MB, free: 65.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/0.3573, allocations: 2.493 MB / 455.8 MB, free: 65.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.3711, allocations: 5.454 MB / 461.3 MB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/0.3715, allocations: 348 kB / 461.6 MB, free: 64.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.3739, allocations: 416.8 kB / 462 MB, free: 64.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.3968, allocations: 11.37 MB / 473.4 MB, free: 60.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.3971, allocations: 66.17 kB / 473.4 MB, free: 60.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005807/0.3976, allocations: 180 kB / 473.6 MB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003229/0.4009, allocations: 1.732 MB / 475.3 MB, free: 60.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/0.4232, allocations: 9.729 MB / 485.1 MB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05584/0.4791, allocations: 42.2 MB / 0.5149 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/0.4993, allocations: 7.736 MB / 0.5225 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/0.5046, allocations: 5.151 MB / 0.5275 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.5208, allocations: 12.41 MB / 0.5396 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.5209, allocations: 67.47 kB / 0.5397 GB, free: 4.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=291): time 5.37e-06/0.5209, allocations: 0 / 0.5397 GB, free: 4.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.5624/1.083, allocations: 125.5 MB / 0.6622 GB, free: 133.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02286/1.106, allocations: 16.02 MB / 0.6779 GB, free: 117.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/1.111, allocations: 4.322 MB / 0.6821 GB, free: 113.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00112/1.112, allocations: 96.75 kB / 0.6822 GB, free: 113.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.113, allocations: 2.909 MB / 0.685 GB, free: 110.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001973/1.115, allocations: 1.517 MB / 0.6865 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/1.118, allocations: 1.297 MB / 0.6878 GB, free: 107.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/1.118, allocations: 309.2 kB / 0.6881 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006648/1.124, allocations: 6.017 MB / 0.6939 GB, free: 101.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007775/1.132, allocations: 8.116 MB / 0.7019 GB, free: 92.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/1.149, allocations: 14.64 MB / 0.7162 GB, free: 76.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/1.149, allocations: 20 kB / 0.7162 GB, free: 76.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.05321/1.202, allocations: 27 MB / 0.7425 GB, free: 49.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/1.202, allocations: 32 kB / 0.7426 GB, free: 49.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-05/1.202, allocations: 63.98 kB / 0.7426 GB, free: 49.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04354/1.246, allocations: 16.78 MB / 0.759 GB, free: 32.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/1.25, allocations: 1.119 MB / 0.7601 GB, free: 31.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2617/1.512, allocations: 71.12 MB / 0.8296 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/1.519, allocations: 0.8007 MB / 0.8303 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.521, allocations: 294.2 kB / 0.8306 GB, free: 120.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 281 * 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 (576): * Single equations (assignments): 567 * 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,116,57.0%), (4,22,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,54)} Notification: Performance of prepare postOptimizeDAE: time 0.00412/1.525, allocations: 2.281 MB / 0.8328 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001974/1.527, allocations: 0.5785 MB / 0.8334 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05073/1.577, allocations: 25.67 MB / 0.8585 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04752/1.625, allocations: 23.96 MB / 0.8819 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.431e-05/1.625, allocations: 32 kB / 0.8819 GB, free: 80.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/1.625, allocations: 19.92 kB / 0.8819 GB, free: 80.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07877/1.704, allocations: 43.25 MB / 0.9242 GB, free: 37.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.333e-05/1.704, allocations: 4 kB / 0.9242 GB, free: 37.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.706, allocations: 443.3 kB / 0.9246 GB, free: 37.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04518/1.751, allocations: 17.12 MB / 0.9413 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001686/1.753, allocations: 75.98 kB / 0.9414 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3052/2.058, allocations: 71.85 MB / 1.012 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02077/2.079, allocations: 14.49 MB / 1.026 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05934/2.138, allocations: 33.8 MB / 1.059 GB, free: 73.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/2.14, allocations: 0.5204 MB / 1.059 GB, free: 72.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/2.142, allocations: 75.98 kB / 1.059 GB, free: 72.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/2.147, allocations: 0.6668 MB / 1.06 GB, free: 71.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002312/2.15, allocations: 362.5 kB / 1.06 GB, free: 71.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000524/2.15, allocations: 104 kB / 1.06 GB, free: 71.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00352/2.154, allocations: 2.782 MB / 1.063 GB, free: 68.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/2.154, allocations: 0 / 1.063 GB, free: 68.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009459/2.163, allocations: 2.825 MB / 1.066 GB, free: 65.92 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 (212): * Single equations (assignments): 209 * 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,111,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/2.164, allocations: 212.1 kB / 1.066 GB, free: 65.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02286/2.187, allocations: 15.09 MB / 1.081 GB, free: 50.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/2.187, allocations: 0 / 1.081 GB, free: 50.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01645/2.204, allocations: 8.195 MB / 1.089 GB, free: 42.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008258/2.212, allocations: 0.7695 MB / 1.09 GB, free: 41.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/2.24, allocations: 17.99 MB / 1.107 GB, free: 23.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/2.245, allocations: 3.666 MB / 1.111 GB, free: 19.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003754/2.249, allocations: 1.605 MB / 1.112 GB, free: 18.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/2.25, allocations: 296.3 kB / 1.113 GB, free: 17.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/2.25, allocations: 0 / 1.113 GB, free: 17.97 MB / 474.7 MB Notification: Performance of Templates: time 0.3642/2.614, allocations: 153.5 MB / 1.262 GB, free: 29.57 MB / 474.7 MB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.596685227006674]