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.001541/0.001541, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001605/0.001605, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.002318/0.002318, allocations: 67.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2759, allocations: 53.39 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.02348/0.2994, allocations: 11.53 MB / 443.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.313, allocations: 4.474 MB / 447.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.3153, allocations: 99.5 kB / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008301/0.3236, allocations: 3.952 MB / 451.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.3299, allocations: 2.101 MB / 453.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.3324, allocations: 0.8384 MB / 454.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007889/0.3403, allocations: 4.775 MB / 459.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007446/0.3477, allocations: 3.895 MB / 463.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.3532, allocations: 1.971 MB / 465.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005621/0.3589, allocations: 2.675 MB / 467.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.3607, allocations: 452 kB / 468.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.3646, allocations: 1.217 MB / 469.6 MB, free: 424 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004291/0.3689, allocations: 2.361 MB / 472 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005279/0.3742, allocations: 2.027 MB / 474 MB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.3865, allocations: 8.766 MB / 482.8 MB, free: 3.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3865, allocations: 4 kB / 482.8 MB, free: 3.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3865, allocations: 0 / 482.8 MB, free: 3.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002995/0.3868, allocations: 0 / 482.8 MB, free: 3.207 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.03028/0.417, allocations: 7.041 MB / 489.8 MB, free: 12.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4171, allocations: 11.98 kB / 489.8 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.4349, allocations: 2.599 MB / 492.4 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009378/0.4443, allocations: 3.073 MB / 495.5 MB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/0.4446, allocations: 299.8 kB / 495.8 MB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.4465, allocations: 407.8 kB / 496.2 MB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04307/0.4896, allocations: 13.33 MB / 0.4976 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002827/0.4898, allocations: 47.58 kB / 0.4976 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/0.4916, allocations: 187.9 kB / 0.4978 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007249/0.4989, allocations: 2.194 MB / 0.4999 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04077/0.5396, allocations: 12.63 MB / 0.5123 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3253/0.865, allocations: 45.89 MB / 0.5571 GB, free: 70.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02279/0.8878, allocations: 5.783 MB / 0.5627 GB, free: 69.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/0.8924, allocations: 3.684 MB / 0.5663 GB, free: 68.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009689/0.8934, allocations: 187 kB / 0.5665 GB, free: 68.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/0.8934, allocations: 58.14 kB / 0.5666 GB, free: 68.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 6.803e-06/0.8934, allocations: 0 / 0.5666 GB, free: 68.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09719/0.9906, allocations: 35.96 MB / 0.6017 GB, free: 35.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.9907, allocations: 219.9 kB / 0.6019 GB, free: 35.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/0.9967, allocations: 4.185 MB / 0.606 GB, free: 31.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008205/0.9975, allocations: 68.36 kB / 0.606 GB, free: 31.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.9993, allocations: 3.609 MB / 0.6096 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.001, allocations: 0.9911 MB / 0.6105 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00335/1.004, allocations: 1.604 MB / 0.6121 GB, free: 25.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/1.004, allocations: 301.1 kB / 0.6124 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005025/1.009, allocations: 4.32 MB / 0.6166 GB, free: 21.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/1.016, allocations: 8.264 MB / 0.6247 GB, free: 10.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/1.03, allocations: 13.37 MB / 0.6377 GB, free: 11.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.031, allocations: 36 kB / 0.6378 GB, free: 11.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03028/1.061, allocations: 14.71 MB / 0.6521 GB, free: 12.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/1.061, allocations: 68.17 kB / 0.6522 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002647/1.061, allocations: 140 kB / 0.6523 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007445/1.069, allocations: 2.445 MB / 0.6547 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00715/1.076, allocations: 1.786 MB / 0.6565 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/1.101, allocations: 16.5 MB / 0.6726 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.108, allocations: 467.5 kB / 0.673 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.109, allocations: 0.4958 MB / 0.6735 GB, free: 6.715 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.005149/1.114, allocations: 2.383 MB / 0.6758 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.116, allocations: 381.5 kB / 0.6762 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/1.136, allocations: 9.566 MB / 0.6855 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.104e-05/1.136, allocations: 28 kB / 0.6855 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-05/1.136, allocations: 12 kB / 0.6856 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/1.136, allocations: 11.95 kB / 0.6856 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.171, allocations: 16.38 MB / 0.7016 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.171, allocations: 0 / 0.7016 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003487/1.175, allocations: 0.5849 MB / 0.7021 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/1.182, allocations: 2.253 MB / 0.7043 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007008/1.183, allocations: 119.8 kB / 0.7045 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.206, allocations: 15.13 MB / 0.7192 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.206, allocations: 0 / 0.7192 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02754/1.233, allocations: 15.11 MB / 0.734 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.234, allocations: 353.3 kB / 0.7343 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/1.236, allocations: 43.98 kB / 0.7344 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0037/1.24, allocations: 219.7 kB / 0.7346 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.241, allocations: 245.5 kB / 0.7348 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006061/1.241, allocations: 147.8 kB / 0.7349 GB, free: 7.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004924/1.246, allocations: 2.456 MB / 0.7373 GB, free: 4.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/1.246, allocations: 0 / 0.7373 GB, free: 4.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007648/1.254, allocations: 1.41 MB / 0.7387 GB, free: 3.512 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.001047/1.255, allocations: 190.7 kB / 0.7389 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2375/1.492, allocations: 10.04 MB / 0.7487 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/1.492, allocations: 0 / 0.7487 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007075/1.499, allocations: 4.388 MB / 0.753 GB, free: 194.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.502, allocations: 440.3 kB / 0.7534 GB, free: 193.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.522, allocations: 13.35 MB / 0.7664 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004865/1.527, allocations: 3.222 MB / 0.7696 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006535/1.534, allocations: 2.333 MB / 0.7719 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/1.536, allocations: 0.527 MB / 0.7724 GB, free: 182.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.536, allocations: 0 / 0.7724 GB, free: 182.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1101/1.646, allocations: 80.22 MB / 0.8507 GB, free: 103.7 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.298415256664157]