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.00158/0.00158, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001723/0.001723, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.001599/0.001599, allocations: 43.94 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2687, allocations: 53.37 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01632/0.285, allocations: 13.28 MB / 444.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.2957, allocations: 4.712 MB / 449.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.2978, allocations: 99.5 kB / 449.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008203/0.306, allocations: 4.131 MB / 453.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.3118, allocations: 2.093 MB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3144, allocations: 0.8422 MB / 456.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008131/0.3225, allocations: 4.78 MB / 461.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005538/0.328, allocations: 3.939 MB / 465.5 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.3322, allocations: 1.963 MB / 467.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/0.3372, allocations: 2.874 MB / 470.4 MB, free: 56 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3384, allocations: 456 kB / 470.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.3411, allocations: 1.346 MB / 472.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.344, allocations: 2.361 MB / 474.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003898/0.3479, allocations: 2.708 MB / 477.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3622, allocations: 8.724 MB / 485.9 MB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3622, allocations: 4 kB / 485.9 MB, free: 420 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3622, allocations: 0 / 485.9 MB, free: 420 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.3625, allocations: 0 / 485.9 MB, free: 420 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.03142/0.3939, allocations: 7.041 MB / 493 MB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3939, allocations: 12.03 kB / 493 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.4109, allocations: 2.603 MB / 495.6 MB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.4211, allocations: 3.049 MB / 498.6 MB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.4215, allocations: 295.8 kB / 498.9 MB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.4232, allocations: 403.8 kB / 499.3 MB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/0.4542, allocations: 13.25 MB / 0.5006 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.4544, allocations: 51.56 kB / 0.5006 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006387/0.455, allocations: 195.8 kB / 0.5008 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004989/0.46, allocations: 2.194 MB / 0.5029 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03182/0.4918, allocations: 12.66 MB / 0.5153 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/0.8221, allocations: 48.99 MB / 0.5632 GB, free: 68.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/0.8444, allocations: 5.791 MB / 0.5688 GB, free: 67.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/0.8482, allocations: 3.688 MB / 0.5724 GB, free: 66.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.849, allocations: 194 kB / 0.5726 GB, free: 66.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.849, allocations: 61.91 kB / 0.5727 GB, free: 66.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.438e-06/0.849, allocations: 0 / 0.5727 GB, free: 66.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08893/0.938, allocations: 35.95 MB / 0.6078 GB, free: 33.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.9381, allocations: 209.9 kB / 0.608 GB, free: 33.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.9431, allocations: 4.414 MB / 0.6123 GB, free: 29.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008148/0.9439, allocations: 61.7 kB / 0.6123 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.9455, allocations: 3.585 MB / 0.6158 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009131/0.9465, allocations: 0.9948 MB / 0.6168 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.9483, allocations: 1.6 MB / 0.6184 GB, free: 23.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.9483, allocations: 305.1 kB / 0.6187 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/0.9531, allocations: 4.327 MB / 0.6229 GB, free: 18.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006116/0.9592, allocations: 8.215 MB / 0.6309 GB, free: 8.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/0.9745, allocations: 13.36 MB / 0.644 GB, free: 9.219 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.9747, allocations: 40 kB / 0.644 GB, free: 9.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03036/1.005, allocations: 14.74 MB / 0.6584 GB, free: 10.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.005, allocations: 64 kB / 0.6585 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/1.005, allocations: 136 kB / 0.6586 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007187/1.012, allocations: 2.448 MB / 0.661 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00719/1.02, allocations: 1.786 MB / 0.6627 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02474/1.044, allocations: 16.75 MB / 0.6791 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/1.051, allocations: 467.4 kB / 0.6795 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.052, allocations: 0.4958 MB / 0.68 GB, free: 3.961 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.004938/1.057, allocations: 2.38 MB / 0.6823 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.059, allocations: 421.2 kB / 0.6827 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/1.077, allocations: 9.598 MB / 0.6921 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/1.077, allocations: 31.94 kB / 0.6921 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/1.077, allocations: 8 kB / 0.6921 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.077, allocations: 15.95 kB / 0.6922 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03385/1.111, allocations: 17.94 MB / 0.7097 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.111, allocations: 0 / 0.7097 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.114, allocations: 0.5811 MB / 0.7102 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006406/1.12, allocations: 2.242 MB / 0.7124 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005446/1.121, allocations: 127.8 kB / 0.7125 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/1.143, allocations: 15.36 MB / 0.7275 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.143, allocations: 7.922 kB / 0.7276 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/1.169, allocations: 15.13 MB / 0.7423 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.17, allocations: 405 kB / 0.7427 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000835/1.171, allocations: 40 kB / 0.7428 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.174, allocations: 223.7 kB / 0.743 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/1.175, allocations: 245.5 kB / 0.7432 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003589/1.175, allocations: 143.8 kB / 0.7433 GB, free: 2.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2521/1.427, allocations: 2.772 MB / 0.746 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.7e-07/1.427, allocations: 2.625 kB / 0.746 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01005/1.437, allocations: 1.421 MB / 0.7474 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.0006844/1.438, allocations: 192.3 kB / 0.7476 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.452, allocations: 10.04 MB / 0.7574 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.452, allocations: 0 / 0.7574 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005398/1.457, allocations: 4.386 MB / 0.7617 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.002927/1.46, allocations: 490.6 kB / 0.7622 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.479, allocations: 13.41 MB / 0.7753 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.482, allocations: 3.751 MB / 0.7789 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004842/1.487, allocations: 2.369 MB / 0.7813 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.489, allocations: 0.5357 MB / 0.7818 GB, free: 175.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.489, allocations: 0 / 0.7818 GB, free: 175.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1174/1.606, allocations: 82.17 MB / 0.862 GB, free: 94.7 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.245700593106449]