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.001078/0.001078, allocations: 81.81 kB / 21.42 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.001746/0.001746, allocations: 164.5 kB / 24.82 MB, free: 9.281 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.914/0.914, allocations: 177 MB / 205.1 MB, free: 5.473 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.082e-06/1.082e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.278e-06/1.036e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.009061/0.009071, allocations: 12.48 MB / 285.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.01401, allocations: 4.567 MB / 290.4 MB, free: 108 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.0146, allocations: 99.5 kB / 290.5 MB, free: 8 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1138/0.1284, allocations: 4.299 MB / 294.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.1336, allocations: 2.172 MB / 297 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1352, allocations: 0.9168 MB / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006096/0.1413, allocations: 5.189 MB / 303.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.1454, allocations: 4.294 MB / 307.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.1495, allocations: 3.616 MB / 311 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.1522, allocations: 2.629 MB / 313.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007395/0.1529, allocations: 444 kB / 314 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1545, allocations: 1.257 MB / 315.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.1556, allocations: 2.44 MB / 317.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.157, allocations: 1.593 MB / 319.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.162, allocations: 5.484 MB / 324.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.162, allocations: 4 kB / 324.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.162, allocations: 0 / 324.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.00024/0.1622, allocations: 0 / 324.8 MB, free: 12.02 MB / 282.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.01355/0.1758, allocations: 7.085 MB / 331.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1758, allocations: 11.98 kB / 331.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.1869, allocations: 2.219 MB / 334.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.1917, allocations: 2.413 MB / 336.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.1918, allocations: 300.3 kB / 336.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007285/0.1926, allocations: 410.7 kB / 337.2 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.2044, allocations: 6.351 MB / 343.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.2046, allocations: 43.89 kB / 343.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004541/0.205, allocations: 191.8 kB / 343.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/0.2067, allocations: 1.737 MB / 345.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005391/0.2121, allocations: 2.734 MB / 348.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03339/0.2455, allocations: 47.3 MB / 395.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.2502, allocations: 1.537 MB / 397.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.2509, allocations: 493.5 kB / 397.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004932/0.2558, allocations: 3.719 MB / 401.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.2558, allocations: 54.39 kB / 401.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 3.487e-06/0.2558, allocations: 4 kB / 401.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=165): time 0.02107/0.2769, allocations: 7.35 MB / 408.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.277, allocations: 204.9 kB / 408.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.2808, allocations: 3.917 MB / 412.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.2809, allocations: 49.69 kB / 412.9 MB, free: 2.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.2826, allocations: 3.928 MB / 416.8 MB, free: 14.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.2831, allocations: 0.7213 MB / 417.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.2842, allocations: 1.454 MB / 419 MB, free: 12.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2843, allocations: 480.7 kB / 419.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2853, allocations: 0.649 MB / 420.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/0.2888, allocations: 6.772 MB / 426.9 MB, free: 1.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.2936, allocations: 8.057 MB / 434.9 MB, free: 7.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.2937, allocations: 40 kB / 435 MB, free: 6.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.006024/0.2997, allocations: 5.589 MB / 440.6 MB, free: 1.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.2998, allocations: 68 kB / 440.6 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-05/0.2998, allocations: 144 kB / 440.8 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.3012, allocations: 0.6123 MB / 441.4 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.127/0.4282, allocations: 1.46 MB / 442.9 MB, free: 119.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.4319, allocations: 3.253 MB / 446.1 MB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.4354, allocations: 293.1 kB / 446.4 MB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006628/0.4361, allocations: 352.8 kB / 446.7 MB, free: 117.2 MB / 394.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.001695/0.4378, allocations: 0.6975 MB / 447.4 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.4384, allocations: 407.2 kB / 447.8 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.441, allocations: 1.458 MB / 449.3 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.441, allocations: 19.06 kB / 449.3 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.441, allocations: 5.875 kB / 449.3 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.441, allocations: 8.484 kB / 449.3 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/0.4491, allocations: 4.28 MB / 453.6 MB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4491, allocations: 3.031 kB / 453.6 MB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.4498, allocations: 235.2 kB / 453.8 MB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.4511, allocations: 431.2 kB / 454.3 MB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.4512, allocations: 33.8 kB / 454.3 MB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.4539, allocations: 2.694 MB / 457 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4539, allocations: 0 / 457 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.4572, allocations: 2.435 MB / 459.4 MB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/0.4581, allocations: 350.2 kB / 459.8 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.4584, allocations: 29.75 kB / 459.8 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/0.4592, allocations: 35.12 kB / 459.8 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.4594, allocations: 108.3 kB / 459.9 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.4595, allocations: 37.95 kB / 460 MB, free: 113.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00175/0.4612, allocations: 1.599 MB / 461.6 MB, free: 113.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4612, allocations: 0 / 461.6 MB, free: 113.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004398/0.4656, allocations: 1.17 MB / 462.7 MB, free: 113.7 MB / 394.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.0004754/0.4661, allocations: 190.1 kB / 462.9 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004498/0.4706, allocations: 3.121 MB / 466 MB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4706, allocations: 0 / 466 MB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.472, allocations: 0.9448 MB / 467 MB, free: 112.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.4739, allocations: 437.7 kB / 467.4 MB, free: 112.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.4855, allocations: 8.597 MB / 476 MB, free: 108.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.4867, allocations: 1.411 MB / 477.4 MB, free: 107 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001466/0.4882, allocations: 0.5272 MB / 478 MB, free: 106.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008609/0.489, allocations: 0.6169 MB / 478.6 MB, free: 106.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.462e-06/0.489, allocations: 4 kB / 478.6 MB, free: 106.1 MB / 394.7 MB Notification: Performance of Templates: time 0.0531/0.5421, allocations: 37.76 MB / 0.5042 GB, free: 69.73 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.0392444133758545]