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.001496/0.001496, allocations: 91.5 kB / 21.19 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.001665/0.001665, allocations: 156.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.9426/0.9426, allocations: 177 MB / 204.8 MB, free: 5.195 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.583e-06/1.583e-06, allocations: 3.938 kB / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.882e-05, allocations: 5.266 kB / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01045/0.01048, allocations: 12.89 MB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1325/0.1429, allocations: 4.591 MB / 290.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.1453, allocations: 100.4 kB / 290.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005869/0.1512, allocations: 4.381 MB / 294.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.1553, allocations: 2.176 MB / 297.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1567, allocations: 0.9083 MB / 298 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.1614, allocations: 5.196 MB / 303.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.1646, allocations: 4.303 MB / 307.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.1671, allocations: 2.923 MB / 310.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.1692, allocations: 2.836 MB / 313.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004665/0.1696, allocations: 456.8 kB / 313.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1708, allocations: 1.266 MB / 314.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009774/0.1718, allocations: 2.468 MB / 317.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.1728, allocations: 1.623 MB / 319 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.1766, allocations: 5.575 MB / 324.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1766, allocations: 0 / 324.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1766, allocations: 0 / 324.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.605e-05/0.1767, allocations: 0 / 324.6 MB, free: 12.03 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.01398/0.1906, allocations: 7.737 MB / 332.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1907, allocations: 15.98 kB / 332.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00823/0.1989, allocations: 3.157 MB / 335.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.2024, allocations: 2.872 MB / 338.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.2025, allocations: 301.6 kB / 338.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.203, allocations: 417.6 kB / 339.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2131, allocations: 7.883 MB / 347 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-05/0.2132, allocations: 48.09 kB / 347 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.2135, allocations: 192.1 kB / 347.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.2159, allocations: 2.195 MB / 349.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.2269, allocations: 4.774 MB / 354.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0376/0.2645, allocations: 49.72 MB / 403.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.2755, allocations: 3.229 MB / 407.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.2769, allocations: 1.012 MB / 408.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.2774, allocations: 196 kB / 408.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2774, allocations: 62.64 kB / 408.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=214): time 4.098e-06/0.2774, allocations: 0 / 408.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.05023/0.3276, allocations: 21.57 MB / 430 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.3277, allocations: 209.9 kB / 430.2 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1383/0.466, allocations: 3.796 MB / 434 MB, free: 112.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007586/0.4668, allocations: 71.48 kB / 434 MB, free: 112.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.4685, allocations: 3.747 MB / 437.8 MB, free: 111 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009512/0.4694, allocations: 1.037 MB / 438.8 MB, free: 110.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/0.4715, allocations: 1.741 MB / 440.6 MB, free: 110.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.4715, allocations: 478.8 kB / 441 MB, free: 109.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.4736, allocations: 1.157 MB / 442.2 MB, free: 109.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.4774, allocations: 6.967 MB / 449.1 MB, free: 102.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006723/0.4841, allocations: 8.957 MB / 458.1 MB, free: 94.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/0.4842, allocations: 40.88 kB / 458.1 MB, free: 94.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01062/0.4948, allocations: 8.136 MB / 466.3 MB, free: 92.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.4949, allocations: 66.5 kB / 466.3 MB, free: 92.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.876e-05/0.4949, allocations: 134.8 kB / 466.5 MB, free: 92.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.4983, allocations: 1.627 MB / 468.1 MB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.5013, allocations: 1.851 MB / 469.9 MB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.5084, allocations: 9.57 MB / 479.5 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.5118, allocations: 0.5109 MB / 480 MB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/0.5123, allocations: 0.5128 MB / 480.5 MB, free: 81.99 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.001469/0.5137, allocations: 0.722 MB / 481.3 MB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.5144, allocations: 472.1 kB / 481.7 MB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/0.5205, allocations: 4.363 MB / 486.1 MB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.5205, allocations: 31.98 kB / 486.1 MB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.5206, allocations: 12 kB / 486.1 MB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5206, allocations: 11.16 kB / 486.1 MB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.5323, allocations: 9.647 MB / 495.8 MB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5323, allocations: 4 kB / 495.8 MB, free: 67.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.5337, allocations: 0.6474 MB / 496.4 MB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/0.5367, allocations: 1.421 MB / 497.9 MB, free: 65.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.537, allocations: 158.4 kB / 498 MB, free: 65.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006448/0.5434, allocations: 8.495 MB / 0.4946 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5434, allocations: 0 / 0.4946 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007838/0.5512, allocations: 5.533 MB / 0.5 GB, free: 50.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.5519, allocations: 377.3 kB / 0.5004 GB, free: 50.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/0.5523, allocations: 55.98 kB / 0.5005 GB, free: 50.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.5537, allocations: 259.1 kB / 0.5007 GB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/0.5542, allocations: 277.4 kB / 0.501 GB, free: 49.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.5544, allocations: 175.8 kB / 0.5011 GB, free: 49.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00162/0.556, allocations: 1.702 MB / 0.5028 GB, free: 48.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.556, allocations: 0 / 0.5028 GB, free: 48.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004056/0.56, allocations: 1.516 MB / 0.5043 GB, free: 46.56 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.000447/0.5605, allocations: 206.4 kB / 0.5045 GB, free: 46.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006038/0.5665, allocations: 5.05 MB / 0.5094 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5665, allocations: 7.672 kB / 0.5094 GB, free: 41.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.5689, allocations: 2.275 MB / 0.5116 GB, free: 38.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.5706, allocations: 0.563 MB / 0.5122 GB, free: 38.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5811, allocations: 9.732 MB / 0.5217 GB, free: 28.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.5821, allocations: 1.485 MB / 0.5231 GB, free: 27.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002815/0.5849, allocations: 1.971 MB / 0.5251 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.5861, allocations: 0.6287 MB / 0.5257 GB, free: 24.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.986e-06/0.5861, allocations: 0 / 0.5257 GB, free: 24.48 MB / 378.7 MB Notification: Performance of Templates: time 0.197/0.7831, allocations: 76.44 MB / 0.6003 GB, free: 95.06 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.930319522041827]