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.001316/0.001316, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.001434/0.001434, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001927/0.001927, allocations: 63.89 kB / 378.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 53.36 MB / 432.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01572/0.2852, allocations: 13.27 MB / 445.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009902/0.2951, allocations: 4.726 MB / 450.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.2971, allocations: 99.5 kB / 450.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007566/0.3046, allocations: 4.124 MB / 454.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.3101, allocations: 2.097 MB / 456.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.3121, allocations: 0.8461 MB / 457.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006895/0.319, allocations: 4.773 MB / 462.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006407/0.3254, allocations: 3.682 MB / 465.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.329, allocations: 1.963 MB / 467.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004701/0.3337, allocations: 2.874 MB / 470.6 MB, free: 456 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.335, allocations: 452 kB / 471.1 MB, free: 4 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.3383, allocations: 1.35 MB / 472.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002907/0.3412, allocations: 2.357 MB / 474.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003417/0.3446, allocations: 2.711 MB / 477.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.356, allocations: 8.724 MB / 486.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.356, allocations: 0 / 486.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.356, allocations: 4 kB / 486.2 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000288/0.3563, allocations: 0 / 486.2 MB, free: 0.8008 MB / 382.1 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.03148/0.3878, allocations: 7.045 MB / 493.2 MB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3878, allocations: 8.031 kB / 493.3 MB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.4056, allocations: 2.603 MB / 495.9 MB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008461/0.4141, allocations: 3.05 MB / 498.9 MB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.4144, allocations: 295.8 kB / 499.2 MB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.4157, allocations: 407.8 kB / 499.6 MB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/0.4459, allocations: 13.25 MB / 0.5008 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.4461, allocations: 55.56 kB / 0.5009 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007839/0.4468, allocations: 191.9 kB / 0.5011 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004981/0.4518, allocations: 2.198 MB / 0.5032 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/0.4811, allocations: 12.66 MB / 0.5156 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2838/0.7649, allocations: 48.98 MB / 0.5634 GB, free: 69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/0.7885, allocations: 5.786 MB / 0.5691 GB, free: 67.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/0.7926, allocations: 3.691 MB / 0.5727 GB, free: 66.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/0.7934, allocations: 197.6 kB / 0.5729 GB, free: 66.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7934, allocations: 50.75 kB / 0.5729 GB, free: 66.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.438e-06/0.7934, allocations: 4 kB / 0.5729 GB, free: 66.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09331/0.8867, allocations: 35.95 MB / 0.608 GB, free: 33.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.8868, allocations: 209.9 kB / 0.6082 GB, free: 33.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/0.8914, allocations: 4.425 MB / 0.6125 GB, free: 29.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006222/0.892, allocations: 61.7 kB / 0.6126 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.8933, allocations: 3.586 MB / 0.6161 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008144/0.8942, allocations: 0.9827 MB / 0.6171 GB, free: 25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/0.896, allocations: 1.6 MB / 0.6186 GB, free: 23.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.896, allocations: 301.1 kB / 0.6189 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/0.9005, allocations: 4.323 MB / 0.6231 GB, free: 18.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00572/0.9062, allocations: 8.219 MB / 0.6312 GB, free: 8.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.9206, allocations: 13.36 MB / 0.6442 GB, free: 9.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-05/0.9207, allocations: 36 kB / 0.6442 GB, free: 9.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03073/0.9514, allocations: 14.76 MB / 0.6586 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.9515, allocations: 66.81 kB / 0.6587 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/0.9517, allocations: 136 kB / 0.6588 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007707/0.9594, allocations: 2.45 MB / 0.6612 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007338/0.9668, allocations: 1.79 MB / 0.663 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02628/0.9931, allocations: 16.73 MB / 0.6793 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/0.9997, allocations: 467.4 kB / 0.6798 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/1.001, allocations: 0.4998 MB / 0.6802 GB, free: 4.098 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (826): * Single equations (assignments): 820 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005498/1.007, allocations: 2.376 MB / 0.6826 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.008, allocations: 421.2 kB / 0.683 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/1.029, allocations: 9.603 MB / 0.6923 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/1.029, allocations: 24 kB / 0.6924 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/1.029, allocations: 12 kB / 0.6924 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.031e-05/1.029, allocations: 11.95 kB / 0.6924 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/1.068, allocations: 17.94 MB / 0.7099 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/1.068, allocations: 0 / 0.7099 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.071, allocations: 0.5772 MB / 0.7105 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007364/1.079, allocations: 2.243 MB / 0.7127 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008404/1.08, allocations: 135.1 kB / 0.7128 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/1.104, allocations: 15.36 MB / 0.7278 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.104, allocations: 288 / 0.7278 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02894/1.132, allocations: 15.13 MB / 0.7426 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.134, allocations: 412.9 kB / 0.743 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/1.136, allocations: 43.94 kB / 0.743 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/1.14, allocations: 227.4 kB / 0.7432 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.141, allocations: 241.7 kB / 0.7435 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006412/1.141, allocations: 151.8 kB / 0.7436 GB, free: 2.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2527/1.394, allocations: 2.773 MB / 0.7463 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/1.394, allocations: 0 / 0.7463 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009272/1.403, allocations: 1.415 MB / 0.7477 GB, free: 192.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/1.404, allocations: 186.5 kB / 0.7479 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.419, allocations: 10.05 MB / 0.7577 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.419, allocations: 0 / 0.7577 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00597/1.425, allocations: 4.384 MB / 0.762 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/1.429, allocations: 499.3 kB / 0.7624 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/1.448, allocations: 13.41 MB / 0.7755 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.451, allocations: 3.732 MB / 0.7792 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004912/1.456, allocations: 2.385 MB / 0.7815 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/1.458, allocations: 0.5374 MB / 0.782 GB, free: 175.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.458, allocations: 4 kB / 0.782 GB, free: 175.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1196/1.578, allocations: 82.17 MB / 0.8623 GB, free: 94.81 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",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: 8.146570669487119]