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.0009999/0.0009999, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001146/0.001146, allocations: 162.4 kB / 24.99 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.9389/0.9389, allocations: 177 MB / 205.2 MB, free: 5.613 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.793e-06/1.793e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.671e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.009479/0.009496, allocations: 12.84 MB / 285.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.0167, allocations: 4.591 MB / 290.4 MB, free: 276 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.01821, allocations: 99.5 kB / 290.5 MB, free: 176 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1121/0.1303, allocations: 4.362 MB / 294.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.1347, allocations: 2.17 MB / 297.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1362, allocations: 0.9146 MB / 298 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.1411, allocations: 5.195 MB / 303.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.1441, allocations: 4.299 MB / 307.5 MB, free: 10 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.1466, allocations: 2.923 MB / 310.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.1486, allocations: 2.838 MB / 313.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.1491, allocations: 463.8 kB / 313.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1502, allocations: 1.264 MB / 314.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.1512, allocations: 2.472 MB / 317.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.1523, allocations: 1.619 MB / 319 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.1561, allocations: 5.563 MB / 324.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1561, allocations: 4 kB / 324.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1561, allocations: 0 / 324.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.1562, allocations: 0 / 324.6 MB, free: 12.39 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.01465/0.1708, allocations: 7.751 MB / 332.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1709, allocations: 11.98 kB / 332.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/0.1794, allocations: 3.158 MB / 335.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/0.183, allocations: 2.868 MB / 338.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.1832, allocations: 300.6 kB / 338.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/0.1837, allocations: 421.3 kB / 339.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.1941, allocations: 7.878 MB / 347 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.129e-05/0.1942, allocations: 43.17 kB / 347 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.1946, allocations: 191.4 kB / 347.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002355/0.197, allocations: 2.198 MB / 349.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009775/0.2067, allocations: 4.771 MB / 354.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.2399, allocations: 49.73 MB / 403.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.251, allocations: 3.221 MB / 407.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.2524, allocations: 1.015 MB / 408.1 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/0.2528, allocations: 197.1 kB / 408.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.2529, allocations: 66.67 kB / 408.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=214): time 4.919e-06/0.2529, allocations: 0 / 408.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.04782/0.3007, allocations: 21.57 MB / 430 MB, free: 1.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3008, allocations: 205.9 kB / 430.2 MB, free: 1.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1094/0.4102, allocations: 3.806 MB / 434 MB, free: 118.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000675/0.4109, allocations: 73.08 kB / 434 MB, free: 118.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.4124, allocations: 3.739 MB / 437.8 MB, free: 117.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007603/0.4131, allocations: 1.038 MB / 438.8 MB, free: 116.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.415, allocations: 1.745 MB / 440.6 MB, free: 116.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.415, allocations: 481.2 kB / 441 MB, free: 115.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.4171, allocations: 1.154 MB / 442.2 MB, free: 115.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.4205, allocations: 6.961 MB / 449.1 MB, free: 108.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/0.4263, allocations: 8.952 MB / 458.1 MB, free: 99.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.023e-05/0.4263, allocations: 41.25 kB / 458.1 MB, free: 99.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01144/0.4378, allocations: 8.131 MB / 466.3 MB, free: 97.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.4378, allocations: 68.03 kB / 466.3 MB, free: 97.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.084e-05/0.4379, allocations: 136.2 kB / 466.5 MB, free: 97.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/0.4412, allocations: 1.623 MB / 468.1 MB, free: 97.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/0.4443, allocations: 1.852 MB / 469.9 MB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.4515, allocations: 9.569 MB / 479.5 MB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.4548, allocations: 0.5058 MB / 480 MB, free: 86.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.4552, allocations: 0.5269 MB / 480.5 MB, free: 85.86 MB / 378.7 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.001409/0.4566, allocations: 0.719 MB / 481.3 MB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.4573, allocations: 465.5 kB / 481.7 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/0.4632, allocations: 4.367 MB / 486.1 MB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.4633, allocations: 28 kB / 486.1 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.4633, allocations: 8 kB / 486.1 MB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4633, allocations: 15.34 kB / 486.1 MB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.4751, allocations: 9.656 MB / 495.8 MB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4751, allocations: 0 / 495.8 MB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.4766, allocations: 0.6475 MB / 496.4 MB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.4797, allocations: 1.422 MB / 497.9 MB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.4799, allocations: 147.8 kB / 498 MB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00651/0.4864, allocations: 8.506 MB / 0.4946 GB, free: 59.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4864, allocations: 7.766 kB / 0.4946 GB, free: 59.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007751/0.4942, allocations: 5.535 MB / 0.5001 GB, free: 54.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/0.4948, allocations: 373.3 kB / 0.5004 GB, free: 53.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.4952, allocations: 55.94 kB / 0.5005 GB, free: 53.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.4967, allocations: 267.5 kB / 0.5007 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/0.4972, allocations: 281.3 kB / 0.501 GB, free: 53.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/0.4974, allocations: 175.8 kB / 0.5012 GB, free: 53.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001682/0.4991, allocations: 1.702 MB / 0.5028 GB, free: 51.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4991, allocations: 0 / 0.5028 GB, free: 51.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004455/0.5036, allocations: 1.504 MB / 0.5043 GB, free: 49.87 MB / 378.7 MB 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.0004701/0.504, allocations: 215 kB / 0.5045 GB, free: 49.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006092/0.5101, allocations: 5.044 MB / 0.5094 GB, free: 44.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5101, allocations: 4 kB / 0.5094 GB, free: 44.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.5125, allocations: 2.288 MB / 0.5117 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.5142, allocations: 0.5651 MB / 0.5122 GB, free: 41.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5252, allocations: 9.719 MB / 0.5217 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/0.5262, allocations: 1.481 MB / 0.5231 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002783/0.5289, allocations: 1.968 MB / 0.5251 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.5302, allocations: 0.6365 MB / 0.5257 GB, free: 27.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5302, allocations: 0 / 0.5257 GB, free: 27.77 MB / 378.7 MB Notification: Performance of Templates: time 0.1726/0.7027, allocations: 76.43 MB / 0.6003 GB, free: 99.17 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.766990256961435]