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.001069/0.001069, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001083/0.001083, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9148/0.9148, allocations: 177 MB / 204.8 MB, free: 5.574 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.352e-06/1.352e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.331e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.009058/0.009071, allocations: 12.89 MB / 285.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1115/0.1206, allocations: 4.596 MB / 290.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.1229, allocations: 97.31 kB / 290.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005662/0.1285, allocations: 4.384 MB / 294.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.1327, allocations: 2.18 MB / 297.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.134, allocations: 0.9104 MB / 298 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004572/0.1386, allocations: 5.196 MB / 303.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.1422, allocations: 4.299 MB / 307.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.1468, allocations: 3.606 MB / 311.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.1496, allocations: 2.655 MB / 313.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006421/0.1503, allocations: 440 kB / 314.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.1515, allocations: 1.255 MB / 315.4 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1525, allocations: 2.447 MB / 317.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.1536, allocations: 1.595 MB / 319.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.1574, allocations: 5.478 MB / 324.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1574, allocations: 0 / 324.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1574, allocations: 0 / 324.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.1575, allocations: 0 / 324.9 MB, free: 11.82 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.008198/0.1657, allocations: 7.309 MB / 332.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1658, allocations: 15.98 kB / 332.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008101/0.1739, allocations: 3.114 MB / 335.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.1766, allocations: 2.652 MB / 338 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.1767, allocations: 301.8 kB / 338.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004194/0.1771, allocations: 412.2 kB / 338.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007668/0.1848, allocations: 6.982 MB / 345.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.66e-05/0.1849, allocations: 47.64 kB / 345.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/0.1853, allocations: 186.4 kB / 345.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001695/0.187, allocations: 1.905 MB / 347.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/0.1935, allocations: 3.489 MB / 351.3 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.2229, allocations: 48.03 MB / 399.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.2268, allocations: 1.756 MB / 401.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.2275, allocations: 0.5757 MB / 401.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004544/0.232, allocations: 4.044 MB / 405.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2321, allocations: 54.39 kB / 405.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 3.407e-06/0.2321, allocations: 0 / 405.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=165): time 0.02011/0.2522, allocations: 11.8 MB / 417.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.2523, allocations: 200.9 kB / 417.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.2561, allocations: 3.958 MB / 421.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-05/0.2561, allocations: 49.7 kB / 421.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.2584, allocations: 3.895 MB / 425.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000471/0.2588, allocations: 0.7151 MB / 426.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.26, allocations: 1.423 MB / 427.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.2601, allocations: 484.7 kB / 428.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.2612, allocations: 0.7232 MB / 429 MB, free: 1.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1239/0.3851, allocations: 6.808 MB / 435.8 MB, free: 103.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005872/0.391, allocations: 8.261 MB / 444.1 MB, free: 95.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.834e-05/0.3911, allocations: 41.25 kB / 444.1 MB, free: 95.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.009555/0.4006, allocations: 6.244 MB / 450.4 MB, free: 94.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.4007, allocations: 75.81 kB / 450.4 MB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.4008, allocations: 147.2 kB / 450.6 MB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.4027, allocations: 0.82 MB / 451.4 MB, free: 94.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.4051, allocations: 1.511 MB / 452.9 MB, free: 94.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.4081, allocations: 3.463 MB / 456.4 MB, free: 92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.4107, allocations: 406.3 kB / 456.8 MB, free: 92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/0.4111, allocations: 405.6 kB / 457.2 MB, free: 92 MB / 378.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.001173/0.4123, allocations: 0.6918 MB / 457.9 MB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.4126, allocations: 410.2 kB / 458.3 MB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.4152, allocations: 1.815 MB / 460.1 MB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.4152, allocations: 19.78 kB / 460.1 MB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4152, allocations: 7.781 kB / 460.1 MB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4152, allocations: 11.59 kB / 460.1 MB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007047/0.4223, allocations: 5.846 MB / 466 MB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4223, allocations: 0 / 466 MB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.4229, allocations: 262 kB / 466.2 MB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4244, allocations: 0.6115 MB / 466.8 MB, free: 90.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.703e-05/0.4245, allocations: 33.45 kB / 466.9 MB, free: 90.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.4271, allocations: 2.935 MB / 469.8 MB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4271, allocations: 4 kB / 469.8 MB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.4301, allocations: 2.882 MB / 472.7 MB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.4304, allocations: 351.9 kB / 473 MB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.4307, allocations: 29.97 kB / 473.1 MB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.4314, allocations: 123.4 kB / 473.2 MB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.4316, allocations: 101.1 kB / 473.3 MB, free: 85.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.4317, allocations: 50.58 kB / 473.3 MB, free: 85.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001481/0.4332, allocations: 1.743 MB / 475.1 MB, free: 84.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4332, allocations: 0 / 475.1 MB, free: 84.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002957/0.4361, allocations: 1.167 MB / 476.2 MB, free: 83.14 MB / 378.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.0003124/0.4364, allocations: 190.4 kB / 476.4 MB, free: 82.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.4402, allocations: 3.392 MB / 479.8 MB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4402, allocations: 4 kB / 479.8 MB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.4416, allocations: 1.169 MB / 481 MB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4428, allocations: 439.3 kB / 481.4 MB, free: 78.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/0.4507, allocations: 8.624 MB / 490 MB, free: 69.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/0.4516, allocations: 1.414 MB / 491.5 MB, free: 68.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002045/0.4536, allocations: 1.675 MB / 493.1 MB, free: 66.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.454, allocations: 248.5 kB / 493.4 MB, free: 66.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.113e-06/0.454, allocations: 0 / 493.4 MB, free: 66.63 MB / 378.7 MB Notification: Performance of Templates: time 0.04291/0.497, allocations: 35.81 MB / 0.5168 GB, free: 31.4 MB / 378.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: 3.9660247918218374]