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.001385/0.001385, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.00152/0.00152, allocations: 165.6 kB / 24.91 MB, free: 8.77 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.9411/0.9411, allocations: 177 MB / 205.2 MB, free: 5.078 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.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.504e-05, allocations: 5.406 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01433/0.01435, allocations: 12.53 MB / 286 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1159/0.1302, allocations: 4.75 MB / 290.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.1326, allocations: 97.81 kB / 290.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.1381, allocations: 4.291 MB / 295.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004965/0.143, allocations: 2.172 MB / 297.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.145, allocations: 0.9128 MB / 298.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.1512, allocations: 5.179 MB / 303.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004319/0.1555, allocations: 4.285 MB / 307.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/0.1599, allocations: 3.538 MB / 311.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.1629, allocations: 2.529 MB / 313.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008766/0.1638, allocations: 444 kB / 314.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.1657, allocations: 1.289 MB / 315.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.1672, allocations: 2.439 MB / 317.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.1692, allocations: 1.595 MB / 319.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.1741, allocations: 5.477 MB / 325 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1741, allocations: 7.094 kB / 325 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1741, allocations: 0 / 325 MB, free: 11.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001227/0.1742, allocations: 0 / 325 MB, free: 11.89 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.006613/0.1809, allocations: 5.919 MB / 330.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1809, allocations: 15.98 kB / 330.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.1842, allocations: 1.319 MB / 332.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.1867, allocations: 2.224 MB / 334.4 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.1869, allocations: 301.2 kB / 334.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.1873, allocations: 410.2 kB / 335.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/0.1934, allocations: 5.772 MB / 340.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-05/0.1934, allocations: 45.52 kB / 340.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.1937, allocations: 188.8 kB / 341.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.1951, allocations: 1.735 MB / 342.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004873/0.1999, allocations: 2.786 MB / 345.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.2288, allocations: 34.38 MB / 380 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.2338, allocations: 1.549 MB / 381.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.2345, allocations: 394.2 kB / 382 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005863/0.2404, allocations: 3.461 MB / 385.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.2404, allocations: 55.5 kB / 385.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 4.759e-06/0.2404, allocations: 0 / 385.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=165): time 0.02065/0.2611, allocations: 6.734 MB / 392.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.2611, allocations: 196.9 kB / 392.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.2647, allocations: 3.52 MB / 395.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.2648, allocations: 49.7 kB / 396 MB, free: 4.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.2665, allocations: 3.501 MB / 399.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.267, allocations: 0.6824 MB / 400.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.2681, allocations: 1.247 MB / 401.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2682, allocations: 308.9 kB / 401.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.2693, allocations: 0.838 MB / 402.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.272, allocations: 4.803 MB / 407.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.2763, allocations: 6.152 MB / 413.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.642e-05/0.2763, allocations: 40 kB / 413.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.005601/0.2819, allocations: 4.756 MB / 418.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.282, allocations: 68.03 kB / 418.4 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.595e-05/0.2821, allocations: 148 kB / 418.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.2834, allocations: 0.6059 MB / 419.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.2858, allocations: 1.533 MB / 420.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.2885, allocations: 2.647 MB / 423.3 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.291, allocations: 299.6 kB / 423.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/0.2913, allocations: 344 kB / 423.9 MB, free: 3.895 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.001278/0.2926, allocations: 0.6611 MB / 424.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.2929, allocations: 231.8 kB / 424.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.2949, allocations: 1.282 MB / 426.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.2949, allocations: 20 kB / 426.1 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.2949, allocations: 7.938 kB / 426.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2949, allocations: 7.969 kB / 426.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/0.3006, allocations: 3.895 MB / 430 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3006, allocations: 0 / 430 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.3014, allocations: 450.8 kB / 430.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3026, allocations: 418.4 kB / 430.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.3027, allocations: 32 kB / 430.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.3051, allocations: 2.107 MB / 433 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3051, allocations: 4 kB / 433 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.3077, allocations: 2.061 MB / 435.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3082, allocations: 325.4 kB / 435.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.3085, allocations: 24 kB / 435.4 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.3091, allocations: 39.97 kB / 435.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.3093, allocations: 104.7 kB / 435.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.3094, allocations: 32 kB / 435.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.3105, allocations: 1.33 MB / 436.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3105, allocations: 0 / 436.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003106/0.3136, allocations: 1.164 MB / 438.1 MB, free: 5.473 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.0003196/0.3139, allocations: 172 kB / 438.2 MB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.317, allocations: 2.825 MB / 441.1 MB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001482/0.3172, allocations: 104.1 kB / 441.2 MB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3184, allocations: 0.8083 MB / 442 MB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.3203, allocations: 0.6697 MB / 442.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1041/0.4244, allocations: 8.4 MB / 451.1 MB, free: 126.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.4262, allocations: 1.405 MB / 452.5 MB, free: 126.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001553/0.4277, allocations: 0.5271 MB / 453 MB, free: 126.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.4288, allocations: 0.583 MB / 453.6 MB, free: 126 MB / 394.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4288, allocations: 1.375 kB / 453.6 MB, free: 126 MB / 394.7 MB Notification: Performance of Templates: time 0.04986/0.4786, allocations: 37.61 MB / 491.2 MB, free: 102 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 -s gbode -gbm=radauIIA3 -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: 3.9104329547844827]