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.001303/0.001303, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001421/0.001421, allocations: 210.6 kB / 22.99 MB, free: 5.609 MB / 14.72 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.425/1.425, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 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 0.002024/0.002024, allocations: 67.88 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2718, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01509/0.2869, allocations: 13.28 MB / 443.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009914/0.2968, allocations: 4.708 MB / 447.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.2991, allocations: 83.75 kB / 447.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007959/0.307, allocations: 4.131 MB / 452 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.3127, allocations: 2.081 MB / 454.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.3148, allocations: 0.8422 MB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007086/0.3219, allocations: 4.771 MB / 459.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005751/0.3277, allocations: 3.67 MB / 463.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.3313, allocations: 1.947 MB / 465.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004593/0.3359, allocations: 2.866 MB / 468.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.3371, allocations: 452 kB / 468.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.3399, allocations: 1.35 MB / 470 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002987/0.3429, allocations: 2.357 MB / 472.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.3462, allocations: 2.715 MB / 475 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.3565, allocations: 8.721 MB / 483.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3565, allocations: 4 kB / 483.8 MB, free: 1.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3565, allocations: 0 / 483.8 MB, free: 1.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002195/0.3568, allocations: 0 / 483.8 MB, free: 1.324 MB / 382.1 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.02785/0.3846, allocations: 7.124 MB / 490.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.3847, allocations: 8.031 kB / 490.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.4002, allocations: 2.599 MB / 493.5 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007961/0.4082, allocations: 3.133 MB / 496.6 MB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.4084, allocations: 299.8 kB / 496.9 MB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.4098, allocations: 399.8 kB / 497.3 MB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/0.4376, allocations: 13.26 MB / 0.4986 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.4377, allocations: 47.58 kB / 0.4987 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005758/0.4383, allocations: 191.8 kB / 0.4988 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004542/0.4428, allocations: 2.198 MB / 0.501 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02823/0.4711, allocations: 12.67 MB / 0.5134 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2853/0.7564, allocations: 49.13 MB / 0.5613 GB, free: 69.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/0.7784, allocations: 6.242 MB / 0.5674 GB, free: 67.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003796/0.7822, allocations: 3.67 MB / 0.571 GB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/0.7831, allocations: 419.6 kB / 0.5714 GB, free: 65.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.7831, allocations: 57.69 kB / 0.5715 GB, free: 65.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.979e-06/0.7831, allocations: 3 kB / 0.5715 GB, free: 65.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08931/0.8724, allocations: 36.31 MB / 0.6069 GB, free: 32.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.8725, allocations: 205.9 kB / 0.6071 GB, free: 32.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/0.8774, allocations: 4.42 MB / 0.6114 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007437/0.8782, allocations: 61.7 kB / 0.6115 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.8797, allocations: 3.592 MB / 0.615 GB, free: 24.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.881, allocations: 0.9876 MB / 0.616 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/0.883, allocations: 1.604 MB / 0.6175 GB, free: 22.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.8831, allocations: 301.1 kB / 0.6178 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/0.8878, allocations: 4.32 MB / 0.622 GB, free: 17.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006489/0.8943, allocations: 8.226 MB / 0.6301 GB, free: 7.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/0.9105, allocations: 13.35 MB / 0.6431 GB, free: 8.344 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/0.9106, allocations: 40 kB / 0.6432 GB, free: 8.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03106/0.9417, allocations: 14.75 MB / 0.6576 GB, free: 9.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.9418, allocations: 63.98 kB / 0.6576 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000269/0.9421, allocations: 139.9 kB / 0.6578 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007256/0.9493, allocations: 2.453 MB / 0.6602 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/0.9566, allocations: 1.778 MB / 0.6619 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/0.9814, allocations: 17.04 MB / 0.6785 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/0.9879, allocations: 471.4 kB / 0.679 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/0.9896, allocations: 0.4919 MB / 0.6795 GB, free: 2.699 MB / 494.1 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.005096/0.9947, allocations: 2.388 MB / 0.6818 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.996, allocations: 421.2 kB / 0.6822 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.014, allocations: 9.598 MB / 0.6916 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/1.014, allocations: 24 kB / 0.6916 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/1.014, allocations: 12 kB / 0.6916 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-05/1.014, allocations: 11.95 kB / 0.6916 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03512/1.049, allocations: 17.98 MB / 0.7092 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/1.049, allocations: 0 / 0.7092 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/1.053, allocations: 0.5849 MB / 0.7097 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006802/1.059, allocations: 2.23 MB / 0.7119 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008895/1.06, allocations: 135.2 kB / 0.7121 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/1.084, allocations: 15.68 MB / 0.7274 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.084, allocations: 0 / 0.7274 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02738/1.111, allocations: 15.13 MB / 0.7421 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.112, allocations: 486.1 kB / 0.7426 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.113, allocations: 39.94 kB / 0.7426 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.116, allocations: 219.7 kB / 0.7428 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008722/1.117, allocations: 237.6 kB / 0.7431 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/1.118, allocations: 145.7 kB / 0.7432 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2278/1.345, allocations: 2.777 MB / 0.7459 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/1.345, allocations: 4.688 kB / 0.7459 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0068/1.352, allocations: 1.414 MB / 0.7473 GB, free: 192.6 MB / 0.545 GB 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.0005377/1.353, allocations: 188.8 kB / 0.7475 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.366, allocations: 10.04 MB / 0.7573 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.366, allocations: 0 / 0.7573 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005629/1.372, allocations: 4.382 MB / 0.7616 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.375, allocations: 0.4979 MB / 0.7621 GB, free: 188.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.393, allocations: 13.41 MB / 0.7752 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/1.396, allocations: 3.743 MB / 0.7788 GB, free: 176.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004879/1.401, allocations: 2.374 MB / 0.7811 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.402, allocations: 0.5432 MB / 0.7817 GB, free: 174.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/1.402, allocations: 0 / 0.7817 GB, free: 174.4 MB / 0.545 GB Notification: Performance of Templates: time 0.113/1.515, allocations: 79.3 MB / 0.8591 GB, free: 96.12 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] 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: 8.023894431069493]