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.001171/0.001171, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.001243/0.001243, allocations: 162.3 kB / 24.82 MB, free: 9.258 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.058/1.058, allocations: 177 MB / 205.1 MB, free: 5.438 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.2695/0.2695, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.756e-06/2.756e-06, allocations: 4 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/2.053e-05, allocations: 2.312 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01264/0.01266, allocations: 17.42 MB / 396.7 MB, free: 300 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009739/0.02239, allocations: 5.205 MB / 401.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.02408, allocations: 139.4 kB / 402 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.0285, allocations: 5.046 MB / 407.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.03316, allocations: 3.254 MB / 410.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.03448, allocations: 1.006 MB / 411.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006915/0.0414, allocations: 9.22 MB / 420.5 MB, free: 8.359 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004507/0.0459, allocations: 5.931 MB / 426.5 MB, free: 2.352 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/0.051, allocations: 5.454 MB / 431.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.05472, allocations: 4.357 MB / 436.3 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007066/0.05542, allocations: 0.6289 MB / 436.9 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.05744, allocations: 1.467 MB / 438.4 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.05969, allocations: 3.9 MB / 442.3 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002/0.06169, allocations: 2.402 MB / 444.7 MB, free: 100 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1831/0.2448, allocations: 8.45 MB / 453.1 MB, free: 62.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2448, allocations: 0 / 453.1 MB, free: 62.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2448, allocations: 0 / 453.1 MB, free: 62.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003485/0.2451, allocations: 2.906 kB / 453.1 MB, free: 62.92 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.009928/0.2551, allocations: 9.34 MB / 462.5 MB, free: 59.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2551, allocations: 9.375 kB / 462.5 MB, free: 59.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008674/0.2638, allocations: 3.709 MB / 466.2 MB, free: 58.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/0.2679, allocations: 3.804 MB / 470 MB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.2681, allocations: 444.1 kB / 470.4 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006837/0.2688, allocations: 0.5685 MB / 471 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009477/0.2783, allocations: 9.977 MB / 481 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.2785, allocations: 70.2 kB / 481 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.2789, allocations: 273.6 kB / 481.3 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003608/0.2826, allocations: 3.683 MB / 485 MB, free: 52.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.2934, allocations: 4.708 MB / 489.7 MB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/0.3452, allocations: 74.26 MB / 0.5507 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/0.3509, allocations: 2.803 MB / 0.5535 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.352, allocations: 0.9469 MB / 0.5544 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009338/0.3613, allocations: 7.143 MB / 0.5614 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.3614, allocations: 70.47 kB / 0.5614 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 5.049e-06/0.3614, allocations: 0 / 0.5614 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of matching and sorting (n=364): time 0.02828/0.3897, allocations: 13.77 MB / 0.5749 GB, free: 3.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.3897, allocations: 221.7 kB / 0.5751 GB, free: 2.852 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00512/0.3949, allocations: 5.786 MB / 0.5808 GB, free: 14.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.395, allocations: 69.7 kB / 0.5808 GB, free: 13.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003086/0.3981, allocations: 6.213 MB / 0.5869 GB, free: 8.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009715/0.3991, allocations: 1.481 MB / 0.5883 GB, free: 6.613 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.4013, allocations: 2.365 MB / 0.5906 GB, free: 4.484 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.4014, allocations: 480.8 kB / 0.5911 GB, free: 4.012 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4029, allocations: 1.087 MB / 0.5922 GB, free: 2.922 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/0.4088, allocations: 10.31 MB / 0.6022 GB, free: 4.871 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2114/0.6202, allocations: 12.39 MB / 0.6143 GB, free: 120.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002273/0.6204, allocations: 64.91 kB / 0.6144 GB, free: 120.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1415) (initialization): time 0.01555/0.636, allocations: 8.53 MB / 0.6227 GB, free: 118.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.6361, allocations: 99 kB / 0.6228 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/0.6363, allocations: 212.1 kB / 0.623 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.6374, allocations: 0.5944 MB / 0.6236 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/0.6423, allocations: 2.326 MB / 0.6259 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/0.6465, allocations: 9.131 MB / 0.6348 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/0.6523, allocations: 432.2 kB / 0.6352 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/0.6539, allocations: 0.5408 MB / 0.6357 GB, free: 110.6 MB / 474.7 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.00348/0.6574, allocations: 1.007 MB / 0.6367 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/0.6586, allocations: 0.6456 MB / 0.6373 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.6619, allocations: 2.279 MB / 0.6396 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.662, allocations: 42.39 kB / 0.6396 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.662, allocations: 5.031 kB / 0.6396 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.662, allocations: 16.38 kB / 0.6396 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.6777, allocations: 9.693 MB / 0.6491 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.6777, allocations: 12 kB / 0.6491 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.6789, allocations: 464.4 kB / 0.6495 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000631/0.6795, allocations: 294.2 kB / 0.6498 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.6797, allocations: 75.45 kB / 0.6499 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.6824, allocations: 8.01 MB / 0.6577 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.6825, allocations: 21.41 kB / 0.6577 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.6866, allocations: 3.936 MB / 0.6616 GB, free: 98.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/0.6876, allocations: 0.5462 MB / 0.6621 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.688, allocations: 69.81 kB / 0.6622 GB, free: 97.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.689, allocations: 66.14 kB / 0.6622 GB, free: 97.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.6894, allocations: 248.8 kB / 0.6625 GB, free: 97.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.6895, allocations: 95.48 kB / 0.6626 GB, free: 97.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002854/0.6924, allocations: 2.246 MB / 0.6648 GB, free: 96.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6924, allocations: 0 / 0.6648 GB, free: 96.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007634/0.7, allocations: 1.837 MB / 0.6666 GB, free: 96.72 MB / 474.7 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.0006591/0.7007, allocations: 237.4 kB / 0.6668 GB, free: 96.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008047/0.7087, allocations: 5.421 MB / 0.6721 GB, free: 94.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.7088, allocations: 4 kB / 0.6721 GB, free: 94.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.711, allocations: 1.784 MB / 0.6738 GB, free: 92.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.7145, allocations: 0.647 MB / 0.6745 GB, free: 92.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/0.7389, allocations: 14.93 MB / 0.689 GB, free: 78.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003759/0.7426, allocations: 2.46 MB / 0.6914 GB, free: 76.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003378/0.746, allocations: 0.8571 MB / 0.6923 GB, free: 75.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.7475, allocations: 0.9563 MB / 0.6932 GB, free: 74.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/0.7475, allocations: 0 / 0.6932 GB, free: 74.73 MB / 474.7 MB Notification: Performance of Templates: time 0.0877/0.8352, allocations: 55.14 MB / 0.7471 GB, free: 22.97 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.370863578282297]