Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001389/0.001389, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001502/0.001502, allocations: 209.9 kB / 24.54 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 64.55 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.254, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.0161/0.2701, allocations: 13.29 MB / 445.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2804, allocations: 4.712 MB / 450.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.283, allocations: 99.5 kB / 450.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008123/0.2912, allocations: 4.131 MB / 454.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.2974, allocations: 2.085 MB / 456.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.2999, allocations: 0.8538 MB / 457.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008338/0.3082, allocations: 4.772 MB / 462.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00728/0.3155, allocations: 3.945 MB / 466.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.3197, allocations: 1.959 MB / 468.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.3251, allocations: 2.874 MB / 471.1 MB, free: 44 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.3266, allocations: 452 kB / 471.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.3299, allocations: 1.35 MB / 472.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.3331, allocations: 2.357 MB / 475.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003722/0.3368, allocations: 2.711 MB / 478 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.3472, allocations: 8.724 MB / 486.7 MB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3472, allocations: 3.938 kB / 486.7 MB, free: 408 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3472, allocations: 4 kB / 486.7 MB, free: 404 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002/0.3474, allocations: 0 / 486.7 MB, free: 404 kB / 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.02942/0.3768, allocations: 7.041 MB / 493.8 MB, free: 9.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3769, allocations: 12.03 kB / 493.8 MB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.3938, allocations: 2.603 MB / 496.4 MB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008944/0.4028, allocations: 3.046 MB / 499.4 MB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.4031, allocations: 295.8 kB / 499.7 MB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.4051, allocations: 411.8 kB / 0.4884 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/0.4362, allocations: 13.26 MB / 0.5013 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/0.4364, allocations: 47.64 kB / 0.5014 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.4376, allocations: 187.9 kB / 0.5016 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004751/0.4424, allocations: 2.198 MB / 0.5037 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03055/0.473, allocations: 12.66 MB / 0.5161 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3074/0.7803, allocations: 48.98 MB / 0.5639 GB, free: 68.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02234/0.8027, allocations: 5.785 MB / 0.5696 GB, free: 67.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004384/0.8071, allocations: 3.691 MB / 0.5732 GB, free: 66.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.8078, allocations: 199.9 kB / 0.5734 GB, free: 66.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.8078, allocations: 54.72 kB / 0.5734 GB, free: 66.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 5.651e-06/0.8078, allocations: 0 / 0.5734 GB, free: 66.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.0894/0.8972, allocations: 35.95 MB / 0.6085 GB, free: 33.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.8973, allocations: 205.9 kB / 0.6087 GB, free: 33.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/0.9029, allocations: 4.418 MB / 0.613 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007717/0.9037, allocations: 62.83 kB / 0.6131 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.9054, allocations: 3.588 MB / 0.6166 GB, free: 25.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.9065, allocations: 0.9967 MB / 0.6176 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.9083, allocations: 1.592 MB / 0.6191 GB, free: 23.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.9084, allocations: 309.1 kB / 0.6194 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/0.9132, allocations: 4.32 MB / 0.6236 GB, free: 18.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00607/0.9192, allocations: 8.215 MB / 0.6317 GB, free: 8.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/0.934, allocations: 13.36 MB / 0.6447 GB, free: 9.207 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-05/0.9341, allocations: 40 kB / 0.6447 GB, free: 9.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02912/0.9632, allocations: 14.75 MB / 0.6591 GB, free: 10.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.9634, allocations: 64 kB / 0.6592 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/0.9636, allocations: 137.4 kB / 0.6593 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/0.9709, allocations: 2.453 MB / 0.6617 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007546/0.9785, allocations: 1.782 MB / 0.6635 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/1.004, allocations: 16.73 MB / 0.6798 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.011, allocations: 467.4 kB / 0.6803 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.012, allocations: 0.4997 MB / 0.6808 GB, free: 3.945 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.005846/1.018, allocations: 2.383 MB / 0.6831 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.02, allocations: 421.2 kB / 0.6835 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.04, allocations: 9.594 MB / 0.6929 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.544e-05/1.04, allocations: 28 kB / 0.6929 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-05/1.04, allocations: 8 kB / 0.6929 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/1.04, allocations: 15.95 kB / 0.6929 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03903/1.079, allocations: 17.94 MB / 0.7104 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/1.079, allocations: 4 kB / 0.7104 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/1.082, allocations: 0.585 MB / 0.711 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006895/1.089, allocations: 2.241 MB / 0.7132 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006316/1.09, allocations: 127.8 kB / 0.7133 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/1.112, allocations: 15.36 MB / 0.7283 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.112, allocations: 4 kB / 0.7283 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02785/1.14, allocations: 15.14 MB / 0.7431 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.142, allocations: 405 kB / 0.7435 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.143, allocations: 40 kB / 0.7435 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00386/1.147, allocations: 219.7 kB / 0.7437 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/1.148, allocations: 249.4 kB / 0.744 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000681/1.149, allocations: 143.8 kB / 0.7441 GB, free: 2.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2817/1.431, allocations: 2.773 MB / 0.7468 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.92e-07/1.431, allocations: 3.969 kB / 0.7468 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01012/1.441, allocations: 1.422 MB / 0.7482 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.00101/1.442, allocations: 188 kB / 0.7484 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.456, allocations: 10.04 MB / 0.7582 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.456, allocations: 0 / 0.7582 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005514/1.462, allocations: 4.384 MB / 0.7625 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.465, allocations: 0.4919 MB / 0.7629 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.482, allocations: 13.41 MB / 0.776 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003093/1.485, allocations: 3.741 MB / 0.7797 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0048/1.49, allocations: 2.378 MB / 0.782 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.492, allocations: 0.5371 MB / 0.7825 GB, free: 175.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.492, allocations: 4 kB / 0.7825 GB, free: 175.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1223/1.614, allocations: 82.16 MB / 0.8628 GB, free: 94.67 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.175894817337394]