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.001094/0.001094, 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.001229/0.001229, allocations: 167.7 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.523 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.2688/0.2688, allocations: 34.87 MB / 296.6 MB, free: 0.5352 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.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 2.234e-06/2.234e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.012e-05, allocations: 2.312 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01925/0.01928, allocations: 17.84 MB / 396.6 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.03326, allocations: 5.225 MB / 401.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0052/0.03846, allocations: 139.4 kB / 402 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009144/0.04761, allocations: 5.101 MB / 407.1 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009034/0.05664, allocations: 3.25 MB / 410.3 MB, free: 2.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.05924, allocations: 1.006 MB / 411.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.07193, allocations: 9.213 MB / 420.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008749/0.08068, allocations: 5.92 MB / 426.5 MB, free: 2.488 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.0908, allocations: 4.475 MB / 430.9 MB, free: 14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007328/0.09812, allocations: 4.38 MB / 435.3 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002009/0.1001, allocations: 0.6328 MB / 435.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.1032, allocations: 1.455 MB / 437.4 MB, free: 7.523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003544/0.1067, allocations: 3.904 MB / 441.3 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003614/0.1103, allocations: 2.395 MB / 443.7 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1917/0.3021, allocations: 8.441 MB / 452.1 MB, free: 61.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3021, allocations: 3.062 kB / 452.1 MB, free: 61.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3021, allocations: 3.969 kB / 452.1 MB, free: 61.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004645/0.3026, allocations: 0 / 452.1 MB, free: 61.57 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: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.01513/0.3177, allocations: 9.627 MB / 461.8 MB, free: 58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3177, allocations: 9.625 kB / 461.8 MB, free: 58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.331, allocations: 6.477 MB / 468.3 MB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008951/0.34, allocations: 4.423 MB / 472.7 MB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.3403, allocations: 439.7 kB / 473.1 MB, free: 56.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.3431, allocations: 0.5695 MB / 473.7 MB, free: 56.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/0.3686, allocations: 10.95 MB / 484.6 MB, free: 51.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003766/0.369, allocations: 71.36 kB / 484.7 MB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.3704, allocations: 275.8 kB / 485 MB, free: 51.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005227/0.3756, allocations: 4.178 MB / 489.1 MB, free: 50.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.3975, allocations: 6.096 MB / 495.2 MB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/0.4629, allocations: 74.47 MB / 0.5564 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00969/0.4725, allocations: 3.653 MB / 0.5599 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.4756, allocations: 1.501 MB / 0.5614 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.4758, allocations: 70.53 kB / 0.5615 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/0.4759, allocations: 75.86 kB / 0.5615 GB, free: 13.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=429): time 7.264e-06/0.4759, allocations: 3.188 kB / 0.5615 GB, free: 13.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=476): time 0.05829/0.5342, allocations: 26.51 MB / 0.5874 GB, free: 2.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5343, allocations: 226.3 kB / 0.5876 GB, free: 2.543 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007865/0.5422, allocations: 5.614 MB / 0.5931 GB, free: 12.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/0.5433, allocations: 85.7 kB / 0.5932 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003888/0.5471, allocations: 5.943 MB / 0.599 GB, free: 6.949 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002613/0.5498, allocations: 1.877 MB / 0.6008 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00345/0.5532, allocations: 2.401 MB / 0.6032 GB, free: 2.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5533, allocations: 480.8 kB / 0.6036 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.5566, allocations: 1.541 MB / 0.6051 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1692/0.7258, allocations: 10.55 MB / 0.6154 GB, free: 132.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/0.7394, allocations: 13.32 MB / 0.6285 GB, free: 120.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003977/0.7398, allocations: 64.47 kB / 0.6285 GB, free: 120.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.02296/0.7628, allocations: 10.87 MB / 0.6391 GB, free: 118.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.763, allocations: 95.59 kB / 0.6392 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003817/0.7634, allocations: 208.6 kB / 0.6394 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/0.7681, allocations: 1.621 MB / 0.641 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006612/0.7747, allocations: 2.559 MB / 0.6435 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.7851, allocations: 11.56 MB / 0.6548 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/0.792, allocations: 0.7166 MB / 0.6555 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/0.7935, allocations: 0.6267 MB / 0.6561 GB, free: 110.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 955 * 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 (1359): * Single equations (assignments): 1346 * 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%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003625/0.7971, allocations: 1.022 MB / 0.6571 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/0.7985, allocations: 0.6994 MB / 0.6578 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007474/0.8059, allocations: 5.116 MB / 0.6628 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/0.806, allocations: 85.33 kB / 0.6629 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.261e-05/0.8061, allocations: 9 kB / 0.6629 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-05/0.8061, allocations: 27.66 kB / 0.6629 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/0.8309, allocations: 13.12 MB / 0.6757 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/0.8309, allocations: 12 kB / 0.6757 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.8328, allocations: 0.7344 MB / 0.6764 GB, free: 99.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.8358, allocations: 1.34 MB / 0.6778 GB, free: 99.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.8361, allocations: 85.88 kB / 0.6778 GB, free: 98.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/0.8429, allocations: 10.5 MB / 0.6881 GB, free: 88.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.8429, allocations: 27.81 kB / 0.6881 GB, free: 88.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008997/0.8519, allocations: 6.682 MB / 0.6946 GB, free: 82.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.8532, allocations: 0.5584 MB / 0.6952 GB, free: 82.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/0.8538, allocations: 81.11 kB / 0.6953 GB, free: 82.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.8555, allocations: 367.2 kB / 0.6956 GB, free: 82.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/0.8561, allocations: 306.5 kB / 0.6959 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.8563, allocations: 122.7 kB / 0.696 GB, free: 81.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003167/0.8595, allocations: 2.346 MB / 0.6983 GB, free: 79.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8595, allocations: 0.9844 kB / 0.6983 GB, free: 79.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00844/0.8679, allocations: 2.144 MB / 0.7004 GB, free: 77.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (359): * Single equations (assignments): 346 * 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 {(3,37,77.8%), (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.0009334/0.8688, allocations: 256.8 kB / 0.7007 GB, free: 77.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.8805, allocations: 6.794 MB / 0.7073 GB, free: 71.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.8805, allocations: 0 / 0.7073 GB, free: 71.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.8843, allocations: 2.572 MB / 0.7098 GB, free: 69.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.888, allocations: 0.6605 MB / 0.7104 GB, free: 68.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/0.9109, allocations: 15.94 MB / 0.726 GB, free: 52.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/0.9133, allocations: 2.47 MB / 0.7284 GB, free: 50.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00525/0.9186, allocations: 3.203 MB / 0.7315 GB, free: 47.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.9199, allocations: 420.4 kB / 0.7319 GB, free: 46.75 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/0.9199, allocations: 0 / 0.7319 GB, free: 46.75 MB / 474.7 MB Notification: Performance of Templates: time 0.2666/1.186, allocations: 65.26 MB / 0.7957 GB, free: 129.9 MB / 474.7 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 -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: 5.828970761038363]