Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.0009389/0.0009389, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001009/0.001009, allocations: 159.2 kB / 25.61 MB, free: 8.582 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.8615/0.8615, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.811e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01168/0.0117, allocations: 12.48 MB / 286.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02192, allocations: 4.548 MB / 291.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.02478, allocations: 103.5 kB / 291.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005727/0.0305, allocations: 4.314 MB / 295.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.03543, allocations: 2.169 MB / 297.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.03714, allocations: 0.916 MB / 298.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.04259, allocations: 5.199 MB / 303.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/0.04695, allocations: 4.301 MB / 308.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/0.05187, allocations: 3.622 MB / 311.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.05564, allocations: 2.619 MB / 314.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.05669, allocations: 444 kB / 314.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.05863, allocations: 1.256 MB / 316.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.06027, allocations: 2.443 MB / 318.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.0622, allocations: 1.593 MB / 320.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005829/0.06803, allocations: 5.481 MB / 325.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.06804, allocations: 0 / 325.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06804, allocations: 0 / 325.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.06823, allocations: 4 kB / 325.6 MB, free: 0.5977 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.01023/0.07846, allocations: 7.083 MB / 332.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.0785, allocations: 12.03 kB / 332.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008162/0.08667, allocations: 2.222 MB / 334.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/0.0908, allocations: 2.413 MB / 337.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.09097, allocations: 299.8 kB / 337.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/0.09165, allocations: 407.8 kB / 338 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007997/0.09965, allocations: 6.339 MB / 344.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.775e-05/0.09974, allocations: 47.62 kB / 344.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.1001, allocations: 187.9 kB / 344.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001414/0.1015, allocations: 1.738 MB / 346.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.1066, allocations: 2.733 MB / 349.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/0.2679, allocations: 47.3 MB / 396.4 MB, free: 37.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.272, allocations: 1.534 MB / 397.9 MB, free: 37.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.2728, allocations: 0.4916 MB / 398.4 MB, free: 37.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004996/0.2778, allocations: 3.707 MB / 402.1 MB, free: 35.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2778, allocations: 54 kB / 402.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=155): time 3.556e-06/0.2778, allocations: 0 / 402.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=165): time 0.01806/0.2959, allocations: 7.348 MB / 409.5 MB, free: 32.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.2959, allocations: 200.6 kB / 409.7 MB, free: 32.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.2993, allocations: 3.923 MB / 413.6 MB, free: 29.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.2995, allocations: 53.7 kB / 413.7 MB, free: 29.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.3009, allocations: 3.926 MB / 417.6 MB, free: 25.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.3015, allocations: 0.7253 MB / 418.3 MB, free: 24.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.3025, allocations: 1.439 MB / 419.8 MB, free: 23.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.3025, allocations: 488.2 kB / 420.2 MB, free: 23.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.3035, allocations: 0.6529 MB / 420.9 MB, free: 22.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.306, allocations: 6.766 MB / 427.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/0.3104, allocations: 8.063 MB / 435.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.423e-05/0.3105, allocations: 42.81 kB / 435.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.008128/0.3187, allocations: 5.584 MB / 441.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.3187, allocations: 68 kB / 441.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.3189, allocations: 144 kB / 441.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.3205, allocations: 0.6246 MB / 442.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.3232, allocations: 1.462 MB / 443.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.3266, allocations: 3.254 MB / 446.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/0.3303, allocations: 293 kB / 447.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/0.3308, allocations: 352 kB / 447.5 MB, free: 6.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.3322, allocations: 0.7039 MB / 448.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/0.3329, allocations: 405.6 kB / 448.6 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.3352, allocations: 1.444 MB / 450.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.3352, allocations: 18.91 kB / 450.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.3352, allocations: 15.92 kB / 450.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3352, allocations: 3.984 kB / 450.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007277/0.3425, allocations: 4.272 MB / 454.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3425, allocations: 4 kB / 454.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.3432, allocations: 235.8 kB / 454.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3448, allocations: 428.2 kB / 455 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3449, allocations: 35.98 kB / 455.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.3477, allocations: 2.677 MB / 457.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3477, allocations: 4 kB / 457.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.3511, allocations: 2.444 MB / 460.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.3518, allocations: 355.3 kB / 460.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.3521, allocations: 27.98 kB / 460.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.3528, allocations: 32 kB / 460.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.353, allocations: 100.8 kB / 460.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.3531, allocations: 39.98 kB / 460.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.3548, allocations: 1.603 MB / 462.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3548, allocations: 7.281 kB / 462.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004122/0.3589, allocations: 1.164 MB / 463.5 MB, free: 6.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (132): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,8,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/0.3593, allocations: 198.2 kB / 463.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004049/0.3634, allocations: 3.118 MB / 466.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.3634, allocations: 0 / 466.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.3649, allocations: 0.9503 MB / 467.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.3666, allocations: 428.1 kB / 468.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.3783, allocations: 8.601 MB / 476.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.3797, allocations: 1.409 MB / 478.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001733/0.3814, allocations: 0.5307 MB / 478.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.3826, allocations: 0.6152 MB / 479.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3826, allocations: 0 / 479.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of Templates: time 0.1816/0.5642, allocations: 38.63 MB / 0.5058 GB, free: 121.1 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.273461406584829]