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.001031/0.001031, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009909/0.0009909, allocations: 156.5 kB / 24.55 MB, free: 16 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.064/1.064, allocations: 177 MB / 204.8 MB, free: 5.582 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.2731/0.2731, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 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.813e-06/1.813e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.621e-05, allocations: 2.875 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0159/0.01593, allocations: 16.22 MB / 395 MB, free: 1.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008811/0.02474, allocations: 5.428 MB / 400.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.02654, allocations: 159.1 kB / 400.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.03142, allocations: 4.992 MB / 405.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.03523, allocations: 2.605 MB / 408.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.03715, allocations: 1.493 MB / 409.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007981/0.04513, allocations: 10.06 MB / 419.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.04899, allocations: 5.467 MB / 425.2 MB, free: 3.461 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.05243, allocations: 3.949 MB / 429.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.05534, allocations: 3.812 MB / 433 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.05585, allocations: 0.5117 MB / 433.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.05752, allocations: 1.287 MB / 434.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.05925, allocations: 3.113 MB / 437.9 MB, free: 6.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.06071, allocations: 1.944 MB / 439.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1739/0.2346, allocations: 6.128 MB / 445.9 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2346, allocations: 0 / 445.9 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2346, allocations: 0 / 445.9 MB, free: 67.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003429/0.2349, allocations: 0 / 445.9 MB, free: 67.46 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.01118/0.2461, allocations: 7.765 MB / 453.7 MB, free: 64.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2462, allocations: 8.844 kB / 453.7 MB, free: 64.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.2524, allocations: 2.469 MB / 456.2 MB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005601/0.258, allocations: 4.831 MB / 461 MB, free: 63.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.2582, allocations: 349.5 kB / 461.4 MB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.2586, allocations: 410.1 kB / 461.8 MB, free: 63.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007707/0.2663, allocations: 6.907 MB / 468.7 MB, free: 61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2664, allocations: 60.22 kB / 468.7 MB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.2667, allocations: 177.8 kB / 468.9 MB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/0.2683, allocations: 1.728 MB / 470.6 MB, free: 60.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00724/0.2756, allocations: 4.18 MB / 474.8 MB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.304, allocations: 41.91 MB / 0.5046 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008981/0.313, allocations: 4.946 MB / 0.5094 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.3147, allocations: 1.571 MB / 0.511 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007421/0.3221, allocations: 7.295 MB / 0.5181 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3221, allocations: 71.42 kB / 0.5182 GB, free: 24.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 4.008e-06/0.3221, allocations: 0 / 0.5182 GB, free: 24.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.1102/0.4323, allocations: 53.47 MB / 0.5704 GB, free: 5.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008123/0.4405, allocations: 6.049 MB / 0.5763 GB, free: 15.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00504/0.4455, allocations: 3.604 MB / 0.5798 GB, free: 12.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005491/0.4461, allocations: 96.67 kB / 0.5799 GB, free: 12.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.4479, allocations: 3.098 MB / 0.5829 GB, free: 8.984 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.4493, allocations: 1.54 MB / 0.5844 GB, free: 7.465 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/0.4515, allocations: 1.293 MB / 0.5857 GB, free: 6.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4516, allocations: 480.7 kB / 0.5861 GB, free: 5.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.4544, allocations: 1.624 MB / 0.5877 GB, free: 4.059 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/0.4591, allocations: 4.735 MB / 0.5924 GB, free: 14.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/0.467, allocations: 7.038 MB / 0.5992 GB, free: 6.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/0.467, allocations: 20 kB / 0.5993 GB, free: 6.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.1977/0.6647, allocations: 11.63 MB / 0.6106 GB, free: 136.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.6647, allocations: 34.19 kB / 0.6106 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/0.6648, allocations: 64.31 kB / 0.6107 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.6799, allocations: 7.264 MB / 0.6178 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.6826, allocations: 1.127 MB / 0.6189 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03043/0.713, allocations: 21.64 MB / 0.64 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/0.7178, allocations: 0.6409 MB / 0.6407 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.7183, allocations: 295.9 kB / 0.6409 GB, free: 129.7 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.001889/0.7202, allocations: 0.5782 MB / 0.6415 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009773/0.7212, allocations: 0.5672 MB / 0.6421 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/0.7408, allocations: 10.42 MB / 0.6522 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01915/0.76, allocations: 8.98 MB / 0.661 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/0.76, allocations: 31.28 kB / 0.661 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.7601, allocations: 19.92 kB / 0.6611 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03581/0.7959, allocations: 22.35 MB / 0.6829 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.7959, allocations: 4 kB / 0.6829 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.797, allocations: 455.3 kB / 0.6833 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01393/0.8109, allocations: 7.162 MB / 0.6903 GB, free: 94.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/0.8112, allocations: 79.98 kB / 0.6904 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/0.8361, allocations: 20.52 MB / 0.7104 GB, free: 73.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0053/0.8414, allocations: 5.221 MB / 0.7155 GB, free: 68.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/0.8603, allocations: 11.65 MB / 0.7269 GB, free: 56.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.8616, allocations: 0.5086 MB / 0.7274 GB, free: 56.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/0.8621, allocations: 72 kB / 0.7275 GB, free: 56.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/0.8641, allocations: 0.5264 MB / 0.728 GB, free: 55.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/0.8651, allocations: 339.9 kB / 0.7283 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/0.8654, allocations: 100 kB / 0.7284 GB, free: 55.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001947/0.8673, allocations: 1.811 MB / 0.7302 GB, free: 53.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8673, allocations: 0 / 0.7302 GB, free: 53.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00539/0.8727, allocations: 2.553 MB / 0.7327 GB, free: 50.93 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.000506/0.8732, allocations: 205.4 kB / 0.7329 GB, free: 50.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00911/0.8823, allocations: 7.003 MB / 0.7397 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8823, allocations: 1.125 kB / 0.7397 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00517/0.8875, allocations: 4.394 MB / 0.744 GB, free: 39.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.89, allocations: 0.7417 MB / 0.7447 GB, free: 38.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.9054, allocations: 12.62 MB / 0.757 GB, free: 25.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.9071, allocations: 1.764 MB / 0.7588 GB, free: 23.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002591/0.9097, allocations: 1.204 MB / 0.7599 GB, free: 22.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.9108, allocations: 292.4 kB / 0.7602 GB, free: 22.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9108, allocations: 0 / 0.7602 GB, free: 22.45 MB / 474.7 MB Notification: Performance of Templates: time 0.2594/1.17, allocations: 129.1 MB / 0.8863 GB, free: 59.99 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.038228320889175]