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.001846/0.001846, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.00142/0.00142, allocations: 212.1 kB / 24.46 MB, free: 4.195 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.524/1.524, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001981/0.001981, allocations: 75.77 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01661/0.3013, allocations: 13.29 MB / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.312, allocations: 4.696 MB / 450 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.3141, allocations: 83.75 kB / 450.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00818/0.3223, allocations: 4.139 MB / 454.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.3285, allocations: 2.077 MB / 456.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.3311, allocations: 0.8422 MB / 457.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009159/0.3403, allocations: 4.766 MB / 462 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005798/0.3461, allocations: 3.682 MB / 465.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.3498, allocations: 1.935 MB / 467.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.3545, allocations: 2.87 MB / 470.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.3557, allocations: 456 kB / 470.9 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.3582, allocations: 1.354 MB / 472.2 MB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.3607, allocations: 2.353 MB / 474.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003621/0.3643, allocations: 2.711 MB / 477.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.3757, allocations: 8.721 MB / 486 MB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3757, allocations: 7.922 kB / 486 MB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3757, allocations: 0 / 486 MB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001929/0.3759, allocations: 0 / 486 MB, free: 1.156 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.03153/0.4074, allocations: 7.116 MB / 493.1 MB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4075, allocations: 16.03 kB / 493.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.4251, allocations: 2.595 MB / 495.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/0.4338, allocations: 3.133 MB / 498.9 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.434, allocations: 299.8 kB / 499.2 MB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.4354, allocations: 403.8 kB / 499.6 MB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02849/0.4639, allocations: 13.26 MB / 0.5008 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.464, allocations: 47.58 kB / 0.5009 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007538/0.4648, allocations: 191.9 kB / 0.501 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004833/0.4696, allocations: 2.202 MB / 0.5032 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02915/0.4987, allocations: 12.66 MB / 0.5156 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3125/0.8113, allocations: 49.14 MB / 0.5635 GB, free: 69.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/0.8348, allocations: 6.239 MB / 0.5696 GB, free: 67.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/0.8385, allocations: 3.668 MB / 0.5732 GB, free: 66.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.8392, allocations: 427.3 kB / 0.5736 GB, free: 65.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8392, allocations: 59 kB / 0.5737 GB, free: 65.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 3.967e-06/0.8392, allocations: 0 / 0.5737 GB, free: 65.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09096/0.9302, allocations: 36.3 MB / 0.6091 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.9303, allocations: 213.9 kB / 0.6093 GB, free: 32.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005346/0.9356, allocations: 4.412 MB / 0.6136 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.9367, allocations: 65.06 kB / 0.6137 GB, free: 28.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.9387, allocations: 3.594 MB / 0.6172 GB, free: 24.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001519/0.9402, allocations: 0.9893 MB / 0.6182 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/0.9425, allocations: 1.596 MB / 0.6197 GB, free: 22.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.9426, allocations: 305.1 kB / 0.62 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/0.9472, allocations: 4.323 MB / 0.6243 GB, free: 17.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006495/0.9536, allocations: 8.219 MB / 0.6323 GB, free: 7.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/0.969, allocations: 13.36 MB / 0.6453 GB, free: 8.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.9691, allocations: 40 kB / 0.6454 GB, free: 8.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03025/0.9994, allocations: 14.75 MB / 0.6598 GB, free: 9.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.9995, allocations: 60 kB / 0.6598 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/0.9997, allocations: 136.9 kB / 0.66 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007382/1.007, allocations: 2.457 MB / 0.6624 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007248/1.014, allocations: 1.786 MB / 0.6641 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.039, allocations: 17.04 MB / 0.6807 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006629/1.046, allocations: 475.4 kB / 0.6812 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.047, allocations: 0.4958 MB / 0.6817 GB, free: 2.613 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.004749/1.052, allocations: 2.372 MB / 0.684 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.053, allocations: 417.4 kB / 0.6844 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.072, allocations: 9.602 MB / 0.6938 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.827e-05/1.072, allocations: 24 kB / 0.6938 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/1.072, allocations: 16 kB / 0.6938 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/1.072, allocations: 15.89 kB / 0.6938 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03798/1.11, allocations: 17.98 MB / 0.7114 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.11, allocations: 4 kB / 0.7114 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.113, allocations: 0.581 MB / 0.7119 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006857/1.12, allocations: 2.237 MB / 0.7141 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007633/1.121, allocations: 135.5 kB / 0.7143 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/1.143, allocations: 15.68 MB / 0.7296 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.143, allocations: 0 / 0.7296 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02536/1.169, allocations: 15.12 MB / 0.7443 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.17, allocations: 486 kB / 0.7448 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.171, allocations: 39.98 kB / 0.7448 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.174, allocations: 223.7 kB / 0.7451 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007214/1.175, allocations: 241.5 kB / 0.7453 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003598/1.175, allocations: 145.8 kB / 0.7454 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2432/1.418, allocations: 2.772 MB / 0.7481 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/1.418, allocations: 1.656 kB / 0.7481 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00678/1.425, allocations: 1.411 MB / 0.7495 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.0007097/1.426, allocations: 192.5 kB / 0.7497 GB, free: 192.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.44, allocations: 10.04 MB / 0.7595 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.44, allocations: 0 / 0.7595 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005723/1.446, allocations: 4.39 MB / 0.7638 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.003112/1.449, allocations: 0.4953 MB / 0.7643 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.466, allocations: 13.4 MB / 0.7774 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.469, allocations: 3.746 MB / 0.781 GB, free: 176.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00534/1.475, allocations: 2.372 MB / 0.7833 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/1.477, allocations: 0.5386 MB / 0.7839 GB, free: 174.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.477, allocations: 0 / 0.7839 GB, free: 174.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1116/1.588, allocations: 79.32 MB / 0.8613 GB, free: 96 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.049271803814918]