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.0007979/0.0007979, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001907, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007337/0.0007337, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001647, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9541/0.9541, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07778/1.032, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.423e-06/1.423e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.144e-05/5.286e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01206/0.01211, allocations: 12.64 MB / 257.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006427/0.01854, allocations: 4.799 MB / 262.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009203/0.01946, allocations: 99.5 kB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005872/0.02533, allocations: 4.123 MB / 266.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.02808, allocations: 2.15 MB / 269 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.0292, allocations: 0.8458 MB / 269.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1139/0.1431, allocations: 4.915 MB / 274.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004444/0.1476, allocations: 4.089 MB / 278.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.1515, allocations: 3.522 MB / 282.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.1542, allocations: 2.509 MB / 284.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.1548, allocations: 441.8 kB / 285.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1563, allocations: 1.289 MB / 286.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009734/0.1572, allocations: 2.169 MB / 288.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.1581, allocations: 1.303 MB / 290.1 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.1614, allocations: 5.112 MB / 295.2 MB, free: 0 / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.1614, allocations: 160 / 295.2 MB, free: 0 / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1614, allocations: 1.062 kB / 295.2 MB, free: 0 / 266.7 MB Notification: Performance of Transformations before backend: time 5.841e-05/0.1615, allocations: 0 / 295.2 MB, free: 0 / 266.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.006718/0.1682, allocations: 7.043 MB / 302.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1682, allocations: 16.27 kB / 302.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.1719, allocations: 1.348 MB / 303.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.1742, allocations: 2.216 MB / 305.8 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.1744, allocations: 300.6 kB / 306.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004389/0.1748, allocations: 412 kB / 306.5 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/0.1804, allocations: 5.772 MB / 312.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.754e-05/0.1805, allocations: 47.48 kB / 312.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/0.1808, allocations: 190.4 kB / 312.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001302/0.1821, allocations: 1.621 MB / 314.1 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/0.187, allocations: 2.806 MB / 317 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/0.215, allocations: 34.37 MB / 351.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/0.2197, allocations: 1.527 MB / 352.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.2203, allocations: 390.1 kB / 353.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004787/0.2251, allocations: 3.452 MB / 356.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2251, allocations: 47.56 kB / 356.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=155): time 3.306e-06/0.2251, allocations: 0 / 356.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=165): time 0.01919/0.2443, allocations: 6.724 MB / 363.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2443, allocations: 141.5 kB / 363.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.2473, allocations: 3.515 MB / 367.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.2476, allocations: 49.7 kB / 367.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.2492, allocations: 3.5 MB / 370.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.2496, allocations: 0.6862 MB / 371.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.2509, allocations: 1.249 MB / 372.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.251, allocations: 305.1 kB / 372.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.2524, allocations: 0.8409 MB / 373.7 MB, free: 6.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/0.2561, allocations: 4.803 MB / 378.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006041/0.2621, allocations: 6.633 MB / 385.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/0.2622, allocations: 40 kB / 385.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.00683/0.269, allocations: 4.755 MB / 390 MB, free: 2.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.2691, allocations: 71.98 kB / 390 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/0.2692, allocations: 148 kB / 390.2 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.271, allocations: 0.6087 MB / 390.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.2735, allocations: 1.634 MB / 392.4 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.2765, allocations: 2.647 MB / 395.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.2786, allocations: 303.7 kB / 395.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.2789, allocations: 352 kB / 395.7 MB, free: 12.9 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.001218/0.2801, allocations: 0.6532 MB / 396.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.2804, allocations: 230.7 kB / 396.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.2824, allocations: 1.281 MB / 397.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.2824, allocations: 16 kB / 397.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2824, allocations: 15.92 kB / 397.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2824, allocations: 7.984 kB / 397.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.2875, allocations: 3.908 MB / 401.8 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.2876, allocations: 8 kB / 401.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.2884, allocations: 452 kB / 402.3 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.2887, allocations: 321.4 kB / 402.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.2898, allocations: 434.3 kB / 403 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.2899, allocations: 35.92 kB / 403 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.2922, allocations: 2.1 MB / 405.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2922, allocations: 0 / 405.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.2945, allocations: 2.07 MB / 407.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2947, allocations: 31.98 kB / 407.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.2954, allocations: 43.98 kB / 407.3 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.2956, allocations: 100.7 kB / 407.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.2957, allocations: 35.98 kB / 407.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.2969, allocations: 1.33 MB / 408.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2969, allocations: 0 / 408.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002796/0.2997, allocations: 1.168 MB / 409.9 MB, free: 14.68 MB / 394.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.0002984/0.3, allocations: 172 kB / 410.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.3028, allocations: 2.949 MB / 413 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001586/0.303, allocations: 116.1 kB / 413.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.3042, allocations: 0.8947 MB / 414 MB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.3068, allocations: 3.17 MB / 417.2 MB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1169/0.4237, allocations: 8.567 MB / 425.8 MB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.4252, allocations: 1.415 MB / 427.2 MB, free: 111 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001522/0.4268, allocations: 0.5256 MB / 427.7 MB, free: 110.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/0.4276, allocations: 0.5737 MB / 428.3 MB, free: 110.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4276, allocations: 4 kB / 428.3 MB, free: 110.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04894/0.4766, allocations: 36.82 MB / 465.1 MB, free: 95.78 MB / 394.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.52007341850549]