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.002018/0.002018, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002027/0.002027, allocations: 160.8 kB / 24.27 MB, free: 156 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.62/1.62, allocations: 177 MB / 204.5 MB, free: 5.613 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.3642/0.3642, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.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.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.175e-05, allocations: 4.703 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02401/0.02405, allocations: 17.8 MB / 395 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.03785, allocations: 5.224 MB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/0.04164, allocations: 139.4 kB / 400.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01534/0.05698, allocations: 5.097 MB / 405.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.07111, allocations: 3.247 MB / 408.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.07515, allocations: 1.01 MB / 409.7 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.09502, allocations: 9.226 MB / 419 MB, free: 9.004 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.1084, allocations: 5.92 MB / 424.9 MB, free: 3.012 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01497/0.1234, allocations: 4.475 MB / 429.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.1358, allocations: 4.384 MB / 433.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003574/0.1393, allocations: 0.6289 MB / 434.4 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.1464, allocations: 1.463 MB / 435.8 MB, free: 8.039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008735/0.1551, allocations: 3.896 MB / 439.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00989/0.165, allocations: 2.402 MB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2274/0.3925, allocations: 13.53 MB / 455.7 MB, free: 61.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3925, allocations: 0 / 455.7 MB, free: 61.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3925, allocations: 0 / 455.7 MB, free: 61.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006522/0.3931, allocations: 0 / 455.7 MB, free: 61.65 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.02734/0.4205, allocations: 10.52 MB / 466.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4205, allocations: 10 kB / 466.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02525/0.4458, allocations: 6.477 MB / 472.7 MB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.4607, allocations: 4.462 MB / 477.1 MB, free: 56.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004719/0.4612, allocations: 447 kB / 477.6 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003663/0.4648, allocations: 0.5678 MB / 478.1 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/0.5012, allocations: 11.89 MB / 490 MB, free: 49.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.5015, allocations: 77.59 kB / 490.1 MB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002158/0.5037, allocations: 274 kB / 490.4 MB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006336/0.51, allocations: 4.168 MB / 494.5 MB, free: 48.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/0.5327, allocations: 6.957 MB / 0.4897 GB, free: 47.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/0.6491, allocations: 87.56 MB / 0.5752 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/0.6641, allocations: 3.697 MB / 0.5789 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.6688, allocations: 1.556 MB / 0.5804 GB, free: 8.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.6691, allocations: 69.62 kB / 0.5804 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/0.6692, allocations: 75.92 kB / 0.5805 GB, free: 7.941 MB / 458.7 MB Notification: Performance of pre-optimization done (n=429): time 7.023e-06/0.6692, allocations: 0 / 0.5805 GB, free: 7.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=476): time 0.2812/0.9504, allocations: 27.15 MB / 0.607 GB, free: 143.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/0.9505, allocations: 223.5 kB / 0.6072 GB, free: 143.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009499/0.96, allocations: 7.058 MB / 0.6141 GB, free: 142.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/0.9612, allocations: 91.23 kB / 0.6142 GB, free: 142.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003319/0.9645, allocations: 6.278 MB / 0.6204 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003043/0.9676, allocations: 2 MB / 0.6223 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004493/0.972, allocations: 2.838 MB / 0.6251 GB, free: 137.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.9721, allocations: 480.7 kB / 0.6255 GB, free: 137.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/0.976, allocations: 1.699 MB / 0.6272 GB, free: 137.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007738/0.9837, allocations: 11.08 MB / 0.638 GB, free: 125.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1, allocations: 14.18 MB / 0.6519 GB, free: 111.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005483/1.001, allocations: 58.84 kB / 0.6519 GB, free: 111.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.03332/1.034, allocations: 11.23 MB / 0.6629 GB, free: 107.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/1.034, allocations: 96.09 kB / 0.663 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004119/1.035, allocations: 208.4 kB / 0.6632 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00643/1.041, allocations: 1.661 MB / 0.6648 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00951/1.051, allocations: 2.559 MB / 0.6673 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.064, allocations: 12.1 MB / 0.6791 GB, free: 97.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009669/1.074, allocations: 0.7124 MB / 0.6798 GB, free: 96.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/1.076, allocations: 0.6181 MB / 0.6804 GB, free: 95.88 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.007984/1.084, allocations: 1.238 MB / 0.6816 GB, free: 94.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004241/1.089, allocations: 0.7031 MB / 0.6823 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/1.105, allocations: 5.529 MB / 0.6877 GB, free: 88.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/1.105, allocations: 93.92 kB / 0.6878 GB, free: 88.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-05/1.105, allocations: 12 kB / 0.6878 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/1.105, allocations: 27.86 kB / 0.6878 GB, free: 88.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04228/1.147, allocations: 15.45 MB / 0.7029 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/1.148, allocations: 12 kB / 0.7029 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.151, allocations: 0.7301 MB / 0.7037 GB, free: 72.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/1.157, allocations: 1.384 MB / 0.705 GB, free: 70.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009374/1.158, allocations: 83.92 kB / 0.7051 GB, free: 70.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.169, allocations: 11 MB / 0.7158 GB, free: 59.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.169, allocations: 19.88 kB / 0.7158 GB, free: 59.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.185, allocations: 7.179 MB / 0.7229 GB, free: 51.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.187, allocations: 0.5584 MB / 0.7234 GB, free: 51.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.189, allocations: 83.98 kB / 0.7235 GB, free: 51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004257/1.193, allocations: 373.6 kB / 0.7238 GB, free: 50.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.194, allocations: 301.7 kB / 0.7241 GB, free: 50.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005591/1.195, allocations: 125.3 kB / 0.7242 GB, free: 50.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00621/1.201, allocations: 2.847 MB / 0.727 GB, free: 47.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.201, allocations: 0 / 0.727 GB, free: 47.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01227/1.213, allocations: 2.132 MB / 0.7291 GB, free: 45.27 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.001502/1.215, allocations: 263.4 kB / 0.7294 GB, free: 45.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01677/1.231, allocations: 7.447 MB / 0.7366 GB, free: 37.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/1.231, allocations: 0 / 0.7366 GB, free: 37.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00595/1.237, allocations: 2.791 MB / 0.7394 GB, free: 34.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/1.244, allocations: 0.6649 MB / 0.74 GB, free: 34.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/1.275, allocations: 16.19 MB / 0.7558 GB, free: 17.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006977/1.282, allocations: 4.863 MB / 0.7606 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006822/1.289, allocations: 3.198 MB / 0.7637 GB, free: 9.414 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.29, allocations: 428.3 kB / 0.7641 GB, free: 8.996 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/1.29, allocations: 0 / 0.7641 GB, free: 8.996 MB / 474.7 MB Notification: Performance of Templates: time 0.326/1.616, allocations: 65.2 MB / 0.8278 GB, free: 111.7 MB / 490.7 MB " [Timeout remaining time 658] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.160534452996217]