Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 211.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 53.38 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01524/0.2925, allocations: 11.52 MB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3046, allocations: 4.474 MB / 447.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.3079, allocations: 99.5 kB / 447.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008623/0.3165, allocations: 3.956 MB / 451.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.3227, allocations: 2.101 MB / 453.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.3252, allocations: 0.8384 MB / 454.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007732/0.3329, allocations: 4.774 MB / 459.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006219/0.3391, allocations: 3.93 MB / 463.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.3431, allocations: 1.967 MB / 465.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.348, allocations: 2.874 MB / 468.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.3493, allocations: 456 kB / 468.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.3523, allocations: 1.229 MB / 469.8 MB, free: 360 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.3553, allocations: 2.361 MB / 472.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004182/0.3595, allocations: 2.031 MB / 474.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3714, allocations: 8.766 MB / 483 MB, free: 3.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3714, allocations: 0 / 483 MB, free: 3.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3714, allocations: 0 / 483 MB, free: 3.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003486/0.3717, allocations: 0 / 483 MB, free: 3.145 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.03103/0.4028, allocations: 7.041 MB / 490 MB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4028, allocations: 12.03 kB / 490 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.419, allocations: 2.595 MB / 492.6 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.4278, allocations: 3.073 MB / 495.7 MB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.4281, allocations: 299.8 kB / 496 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.4293, allocations: 399.8 kB / 496.4 MB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/0.4605, allocations: 13.34 MB / 0.4977 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.4606, allocations: 43.64 kB / 0.4978 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006018/0.4612, allocations: 183.9 kB / 0.498 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005539/0.4668, allocations: 2.202 MB / 0.5001 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03994/0.5067, allocations: 12.64 MB / 0.5125 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3037/0.8104, allocations: 45.89 MB / 0.5573 GB, free: 70.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02731/0.8377, allocations: 5.783 MB / 0.5629 GB, free: 69.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006061/0.8438, allocations: 3.687 MB / 0.5665 GB, free: 68.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.845, allocations: 181 kB / 0.5667 GB, free: 68.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.845, allocations: 65.86 kB / 0.5668 GB, free: 68.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 7.785e-06/0.845, allocations: 0 / 0.5668 GB, free: 68.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.119/0.964, allocations: 35.96 MB / 0.6019 GB, free: 36.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.9641, allocations: 208.5 kB / 0.6021 GB, free: 35.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007935/0.9721, allocations: 4.189 MB / 0.6062 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001283/0.9734, allocations: 65.53 kB / 0.6062 GB, free: 31.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.976, allocations: 3.603 MB / 0.6097 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/0.9779, allocations: 0.9935 MB / 0.6107 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003086/0.981, allocations: 1.604 MB / 0.6123 GB, free: 25.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.9811, allocations: 301.1 kB / 0.6126 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007291/0.9884, allocations: 4.327 MB / 0.6168 GB, free: 21.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/0.9987, allocations: 8.258 MB / 0.6249 GB, free: 11.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02195/1.021, allocations: 13.37 MB / 0.6379 GB, free: 11.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/1.021, allocations: 40 kB / 0.6379 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.047/1.068, allocations: 14.7 MB / 0.6523 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.068, allocations: 64 kB / 0.6524 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002529/1.068, allocations: 136 kB / 0.6525 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/1.08, allocations: 2.459 MB / 0.6549 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/1.092, allocations: 1.79 MB / 0.6566 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03596/1.128, allocations: 16.48 MB / 0.6727 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/1.139, allocations: 475.5 kB / 0.6732 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002165/1.141, allocations: 499.7 kB / 0.6737 GB, free: 6.906 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.007449/1.149, allocations: 2.391 MB / 0.676 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/1.15, allocations: 377.5 kB / 0.6764 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02785/1.178, allocations: 9.567 MB / 0.6857 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.65e-05/1.178, allocations: 24 kB / 0.6857 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/1.178, allocations: 12 kB / 0.6857 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/1.178, allocations: 15.8 kB / 0.6858 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0433/1.222, allocations: 16.39 MB / 0.7018 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/1.222, allocations: 0 / 0.7018 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003839/1.226, allocations: 0.581 MB / 0.7023 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007139/1.233, allocations: 2.238 MB / 0.7045 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007369/1.233, allocations: 135.2 kB / 0.7046 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/1.256, allocations: 15.12 MB / 0.7194 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.256, allocations: 3.938 kB / 0.7194 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02885/1.285, allocations: 15.09 MB / 0.7341 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.286, allocations: 357.3 kB / 0.7345 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.287, allocations: 40 kB / 0.7345 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.29, allocations: 223.7 kB / 0.7347 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009492/1.291, allocations: 241.4 kB / 0.735 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004325/1.292, allocations: 155.4 kB / 0.7351 GB, free: 7.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004509/1.296, allocations: 2.449 MB / 0.7375 GB, free: 5.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.296, allocations: 4 kB / 0.7375 GB, free: 5.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007113/1.303, allocations: 1.41 MB / 0.7389 GB, free: 3.711 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.0007783/1.304, allocations: 199.3 kB / 0.7391 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2369/1.541, allocations: 10.04 MB / 0.7489 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.541, allocations: 0.6094 kB / 0.7489 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/1.547, allocations: 4.381 MB / 0.7532 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.55, allocations: 442.6 kB / 0.7536 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.568, allocations: 13.34 MB / 0.7666 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/1.571, allocations: 3.22 MB / 0.7698 GB, free: 185.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004761/1.576, allocations: 2.334 MB / 0.772 GB, free: 183.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.578, allocations: 0.5179 MB / 0.7725 GB, free: 183.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.031e-06/1.578, allocations: 0 / 0.7725 GB, free: 183.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1083/1.686, allocations: 83.23 MB / 0.8538 GB, free: 101.2 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.265980527270585]