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.00189/0.00189, allocations: 91.61 kB / 20.97 MB, free: 3.434 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.001963/0.001963, allocations: 160.9 kB / 24.27 MB, free: 136 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 1.622/1.622, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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 1.753e-06/1.753e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.642e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01852/0.01854, allocations: 12.79 MB / 285 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.02954, allocations: 4.583 MB / 289.6 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.03194, allocations: 103.5 kB / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1224/0.1543, allocations: 4.362 MB / 294.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.1595, allocations: 2.169 MB / 296.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1613, allocations: 0.9118 MB / 297.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005954/0.1672, allocations: 5.189 MB / 302.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.1713, allocations: 4.298 MB / 306.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.1747, allocations: 2.933 MB / 309.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.1778, allocations: 2.835 MB / 312.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006844/0.1784, allocations: 460.8 kB / 312.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.1803, allocations: 1.272 MB / 314.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.1817, allocations: 2.47 MB / 316.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.1832, allocations: 1.622 MB / 318.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.1938, allocations: 8.835 MB / 327 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1938, allocations: 3.984 kB / 327 MB, free: 9.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1938, allocations: 4 kB / 327 MB, free: 9.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001724/0.194, allocations: 0 / 327 MB, free: 9.285 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.03269/0.2266, allocations: 8.259 MB / 335.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2267, allocations: 15.98 kB / 335.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.2459, allocations: 3.158 MB / 338.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009202/0.2551, allocations: 2.907 MB / 341.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.2554, allocations: 300.6 kB / 341.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.2566, allocations: 417.6 kB / 342.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.2804, allocations: 8.493 MB / 350.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.2805, allocations: 45.14 kB / 350.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006206/0.2811, allocations: 196.6 kB / 350.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005035/0.2862, allocations: 2.196 MB / 353 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.3071, allocations: 5.273 MB / 358.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08065/0.3878, allocations: 53.82 MB / 412.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/0.4113, allocations: 3.372 MB / 415.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.414, allocations: 1.06 MB / 416.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008465/0.4148, allocations: 189 kB / 416.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/0.4149, allocations: 62.64 kB / 416.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 5.44e-06/0.4149, allocations: 0 / 416.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.2153/0.6302, allocations: 22.14 MB / 438.9 MB, free: 111.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.6303, allocations: 207.3 kB / 439.1 MB, free: 111 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006353/0.6367, allocations: 4.805 MB / 443.9 MB, free: 110.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007005/0.6374, allocations: 76.06 kB / 444 MB, free: 110.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.6394, allocations: 3.966 MB / 448 MB, free: 108.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.6409, allocations: 1.1 MB / 449.1 MB, free: 107.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/0.6435, allocations: 2.005 MB / 451.1 MB, free: 106.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.6435, allocations: 484.7 kB / 451.5 MB, free: 106.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.6462, allocations: 1.287 MB / 452.8 MB, free: 106 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/0.6507, allocations: 7.324 MB / 460.2 MB, free: 97.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008798/0.6595, allocations: 9.608 MB / 469.8 MB, free: 88.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/0.6597, allocations: 36.91 kB / 469.8 MB, free: 88.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01781/0.6775, allocations: 8.428 MB / 478.2 MB, free: 84.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.6775, allocations: 60 kB / 478.3 MB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.6777, allocations: 136 kB / 478.4 MB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006287/0.6839, allocations: 1.664 MB / 480.1 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/0.6903, allocations: 1.848 MB / 481.9 MB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.7024, allocations: 9.998 MB / 491.9 MB, free: 71.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006963/0.7094, allocations: 0.4994 MB / 492.4 MB, free: 70.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/0.7107, allocations: 0.5205 MB / 492.9 MB, free: 70.1 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.00267/0.7134, allocations: 0.8296 MB / 493.8 MB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/0.7147, allocations: 469.4 kB / 494.2 MB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.7256, allocations: 4.52 MB / 498.8 MB, free: 64.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.7257, allocations: 32 kB / 498.8 MB, free: 64.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.7257, allocations: 12 kB / 498.8 MB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.7257, allocations: 15.89 kB / 498.8 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/0.7489, allocations: 10.91 MB / 0.4978 GB, free: 53.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.7489, allocations: 0.5 kB / 0.4978 GB, free: 53.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/0.752, allocations: 0.6474 MB / 0.4984 GB, free: 52.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005816/0.7578, allocations: 1.448 MB / 0.4998 GB, free: 51.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007396/0.7586, allocations: 159.7 kB / 0.5 GB, free: 51.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.7699, allocations: 8.888 MB / 0.5087 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.7699, allocations: 3.984 kB / 0.5087 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.7833, allocations: 5.882 MB / 0.5144 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.7847, allocations: 381.2 kB / 0.5148 GB, free: 35.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007259/0.7854, allocations: 55.92 kB / 0.5148 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/0.7886, allocations: 263.7 kB / 0.5151 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008127/0.7894, allocations: 277.4 kB / 0.5153 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/0.7897, allocations: 175.5 kB / 0.5155 GB, free: 34.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002999/0.7927, allocations: 2.05 MB / 0.5175 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7927, allocations: 3.938 kB / 0.5175 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006787/0.7995, allocations: 1.508 MB / 0.519 GB, free: 31.18 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.0006118/0.8001, allocations: 218.5 kB / 0.5192 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009017/0.8091, allocations: 5.52 MB / 0.5246 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8091, allocations: 0 / 0.5246 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004035/0.8132, allocations: 2.424 MB / 0.5269 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.8161, allocations: 0.5618 MB / 0.5275 GB, free: 22.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.8306, allocations: 9.849 MB / 0.5371 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.8335, allocations: 2.937 MB / 0.54 GB, free: 9.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004541/0.838, allocations: 1.97 MB / 0.5419 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/0.8399, allocations: 0.6326 MB / 0.5425 GB, free: 6.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.8399, allocations: 0 / 0.5425 GB, free: 6.895 MB / 378.7 MB Notification: Performance of Templates: time 0.2665/1.106, allocations: 75.52 MB / 0.6163 GB, free: 75.07 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","/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: 7.8770217730198056]