Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.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.001408/0.001408, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00166/0.00166, allocations: 160.3 kB / 24.91 MB, free: 8.758 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.9689/0.9689, allocations: 177 MB / 205.2 MB, free: 5.434 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.2794/0.2794, allocations: 34.86 MB / 296.6 MB, free: 456 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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.755e-05, allocations: 4.281 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01221/0.01223, allocations: 17.48 MB / 343.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009893/0.02212, allocations: 5.439 MB / 348.9 MB, free: 64 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.0252, allocations: 143.4 kB / 349 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005/0.0302, allocations: 5.026 MB / 354.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.03551, allocations: 3.235 MB / 357.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.03691, allocations: 1.014 MB / 358.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007741/0.04465, allocations: 9.198 MB / 367.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005419/0.05007, allocations: 5.857 MB / 373.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00537/0.05544, allocations: 5.368 MB / 378.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.06012, allocations: 4.154 MB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.06136, allocations: 0.6328 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.06341, allocations: 1.494 MB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002309/0.06571, allocations: 3.896 MB / 388.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.06812, allocations: 2.402 MB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.07468, allocations: 8.457 MB / 399.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.07468, allocations: 4 kB / 399.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07469, allocations: 0 / 399.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002753/0.07496, allocations: 0 / 399.8 MB, free: 12.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.008616/0.08358, allocations: 8.268 MB / 408 MB, free: 4.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.08361, allocations: 8.031 kB / 408 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/0.09006, allocations: 2.572 MB / 410.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.09547, allocations: 3.483 MB / 414.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.09574, allocations: 435.5 kB / 414.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008787/0.09662, allocations: 0.5819 MB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.1078, allocations: 9.168 MB / 424.3 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.1079, allocations: 63.45 kB / 424.3 MB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004722/0.1084, allocations: 279.7 kB / 424.6 MB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003135/0.1115, allocations: 3.685 MB / 428.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008455/0.12, allocations: 4.801 MB / 433.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3121/0.4321, allocations: 54.9 MB / 488 MB, free: 66.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/0.4375, allocations: 2.802 MB / 490.8 MB, free: 65.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.4384, allocations: 0.7712 MB / 491.6 MB, free: 65.45 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008788/0.4472, allocations: 6.745 MB / 498.3 MB, free: 60.34 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.4473, allocations: 72.72 kB / 498.4 MB, free: 60.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 5.2e-06/0.4473, allocations: 0 / 498.4 MB, free: 60.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=364): time 0.02284/0.4701, allocations: 11.59 MB / 0.498 GB, free: 49.39 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.4702, allocations: 220.5 kB / 0.4982 GB, free: 49.13 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.4738, allocations: 5.19 MB / 0.5033 GB, free: 44.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4739, allocations: 77.69 kB / 0.5034 GB, free: 44.33 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4752, allocations: 5.568 MB / 0.5088 GB, free: 38.88 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/0.4757, allocations: 1.407 MB / 0.5102 GB, free: 37.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.477, allocations: 2.01 MB / 0.5122 GB, free: 35.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.331e-05/0.477, allocations: 305.1 kB / 0.5124 GB, free: 35.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.4789, allocations: 1.395 MB / 0.5138 GB, free: 33.75 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.4818, allocations: 7.336 MB / 0.521 GB, free: 23.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/0.4868, allocations: 9.524 MB / 0.5303 GB, free: 11.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.517e-05/0.4869, allocations: 64 kB / 0.5303 GB, free: 11.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=1415) (initialization): time 0.006809/0.4937, allocations: 7.193 MB / 0.5374 GB, free: 3.949 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.4938, allocations: 100.2 kB / 0.5375 GB, free: 3.852 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-05/0.4938, allocations: 216 kB / 0.5377 GB, free: 3.641 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/0.4947, allocations: 0.5838 MB / 0.5382 GB, free: 3.051 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.4984, allocations: 2.437 MB / 0.5406 GB, free: 0.6094 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.5022, allocations: 6.6 MB / 0.5471 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/0.5057, allocations: 435.9 kB / 0.5475 GB, free: 9.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004945/0.5062, allocations: 0.5273 MB / 0.548 GB, free: 8.723 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 980 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1319): * Single equations (assignments): 1306 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (2,13,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.5081, allocations: 0.9668 MB / 0.5489 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/0.5086, allocations: 387.5 kB / 0.5493 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.5112, allocations: 1.932 MB / 0.5512 GB, free: 5.371 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.5113, allocations: 40 kB / 0.5512 GB, free: 5.332 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5113, allocations: 4 kB / 0.5512 GB, free: 5.328 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.5113, allocations: 15.94 kB / 0.5512 GB, free: 5.312 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.523, allocations: 8.15 MB / 0.5592 GB, free: 12.85 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.523, allocations: 13 kB / 0.5592 GB, free: 12.84 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.5247, allocations: 0.4991 MB / 0.5597 GB, free: 12.34 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.5259, allocations: 0.5677 MB / 0.5603 GB, free: 11.76 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.5261, allocations: 76.11 kB / 0.5603 GB, free: 11.68 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/0.5298, allocations: 5.685 MB / 0.5659 GB, free: 5.645 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/0.5298, allocations: 27 kB / 0.5659 GB, free: 5.621 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.5344, allocations: 3.268 MB / 0.5691 GB, free: 1.977 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/0.5352, allocations: 0.5156 MB / 0.5696 GB, free: 1.457 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/0.5358, allocations: 75.98 kB / 0.5697 GB, free: 1.383 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5371, allocations: 64 kB / 0.5697 GB, free: 1.32 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/0.5376, allocations: 245.2 kB / 0.57 GB, free: 1.082 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/0.5378, allocations: 95.92 kB / 0.5701 GB, free: 0.9883 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002265/0.5401, allocations: 1.879 MB / 0.5719 GB, free: 15.14 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5401, allocations: 0 / 0.5719 GB, free: 15.14 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007155/0.5472, allocations: 1.832 MB / 0.5737 GB, free: 13.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * 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 (283): * Single equations (assignments): 270 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,10,100.0%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/0.5477, allocations: 223.6 kB / 0.5739 GB, free: 13.08 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.5547, allocations: 4.778 MB / 0.5786 GB, free: 8.277 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002819/0.5549, allocations: 129.9 kB / 0.5787 GB, free: 8.145 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.5568, allocations: 1.419 MB / 0.5801 GB, free: 6.664 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/0.5612, allocations: 1.145 MB / 0.5812 GB, free: 5.539 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/0.5823, allocations: 14.66 MB / 0.5955 GB, free: 6.57 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.5845, allocations: 2.439 MB / 0.5979 GB, free: 4.094 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002344/0.5868, allocations: 0.8685 MB / 0.5987 GB, free: 3.223 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.5883, allocations: 0.8956 MB / 0.5996 GB, free: 2.324 MB / 474.8 MB Notification: Performance of SimCode: time 1.553e-06/0.5883, allocations: 4 kB / 0.5996 GB, free: 2.32 MB / 474.8 MB Notification: Performance of Templates: time 0.2032/0.7914, allocations: 54.95 MB / 0.6533 GB, free: 146.6 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.971782683860511]