Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 49.42 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01502/0.1189, allocations: 13.3 MB / 421.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1291, allocations: 4.634 MB / 426 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.1319, allocations: 83.75 kB / 426.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007742/0.1397, allocations: 4.077 MB / 430.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2157/0.3555, allocations: 2.061 MB / 432.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.3575, allocations: 0.8071 MB / 433.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007273/0.3648, allocations: 4.746 MB / 437.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006831/0.3717, allocations: 5.12 MB / 442.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.3758, allocations: 1.915 MB / 444.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.3805, allocations: 2.705 MB / 447.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.3822, allocations: 451.4 kB / 448 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003836/0.3861, allocations: 1.337 MB / 449.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00342/0.3895, allocations: 2.324 MB / 451.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005029/0.3946, allocations: 2.727 MB / 454.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.4063, allocations: 8.767 MB / 463.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.4064, allocations: 3.984 kB / 463.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4064, allocations: 0 / 463.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003321/0.4067, allocations: 3.375 kB / 463.2 MB, free: 13.2 MB / 366.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.03152/0.4382, allocations: 7.096 MB / 470.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4383, allocations: 8.031 kB / 470.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.4561, allocations: 2.561 MB / 472.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008503/0.4647, allocations: 3.138 MB / 476 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.465, allocations: 306.8 kB / 476.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.4666, allocations: 408 kB / 476.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.4979, allocations: 13.25 MB / 489.9 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.4981, allocations: 51.56 kB / 490 MB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.4992, allocations: 193.2 kB / 490.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004713/0.5039, allocations: 2.193 MB / 492.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/0.5341, allocations: 12.67 MB / 0.4932 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07748/0.6116, allocations: 49.14 MB / 0.5412 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02532/0.637, allocations: 6.409 MB / 0.5474 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/0.6427, allocations: 3.908 MB / 0.5512 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.6438, allocations: 430.8 kB / 0.5516 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.6439, allocations: 59.81 kB / 0.5517 GB, free: 8.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 5.761e-06/0.6439, allocations: 0 / 0.5517 GB, free: 8.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.1145/0.7583, allocations: 36.34 MB / 0.5872 GB, free: 3.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.7585, allocations: 205.9 kB / 0.5874 GB, free: 3.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008603/0.7672, allocations: 4.423 MB / 0.5917 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/0.7684, allocations: 64.44 kB / 0.5918 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003137/0.7716, allocations: 3.58 MB / 0.5953 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/0.7733, allocations: 0.991 MB / 0.5962 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003304/0.7767, allocations: 1.599 MB / 0.5978 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7768, allocations: 309.1 kB / 0.5981 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006885/0.7837, allocations: 4.323 MB / 0.6023 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2298/1.014, allocations: 8.215 MB / 0.6103 GB, free: 153 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/1.03, allocations: 13.36 MB / 0.6234 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/1.03, allocations: 38.75 kB / 0.6234 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=899) (initialization): time 0.0292/1.059, allocations: 14.78 MB / 0.6379 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/1.059, allocations: 63.72 kB / 0.6379 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.06, allocations: 139.9 kB / 0.638 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006174/1.066, allocations: 2.456 MB / 0.6404 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006403/1.072, allocations: 1.782 MB / 0.6422 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/1.089, allocations: 17.03 MB / 0.6588 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00689/1.096, allocations: 472.4 kB / 0.6593 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.098, allocations: 0.4986 MB / 0.6598 GB, free: 131.5 MB / 0.4981 GB 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.004676/1.102, allocations: 2.381 MB / 0.6621 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.103, allocations: 417.2 kB / 0.6625 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.117, allocations: 9.634 MB / 0.6719 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/1.117, allocations: 28.7 kB / 0.6719 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.117, allocations: 15.56 kB / 0.6719 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.941e-05/1.117, allocations: 11.95 kB / 0.6719 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/1.143, allocations: 18.01 MB / 0.6895 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.143, allocations: 0 / 0.6895 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.146, allocations: 0.5888 MB / 0.6901 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005704/1.152, allocations: 2.245 MB / 0.6923 GB, free: 99.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007601/1.153, allocations: 127.8 kB / 0.6924 GB, free: 99.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.168, allocations: 15.67 MB / 0.7077 GB, free: 83.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.168, allocations: 7.938 kB / 0.7077 GB, free: 83.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.187, allocations: 15.15 MB / 0.7225 GB, free: 67.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.189, allocations: 486 kB / 0.723 GB, free: 67.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.19, allocations: 37.41 kB / 0.723 GB, free: 67.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.193, allocations: 224.8 kB / 0.7232 GB, free: 67.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009221/1.194, allocations: 248.2 kB / 0.7235 GB, free: 66.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/1.195, allocations: 143.8 kB / 0.7236 GB, free: 66.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003786/1.198, allocations: 2.775 MB / 0.7263 GB, free: 63.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.198, allocations: 0 / 0.7263 GB, free: 63.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007048/1.206, allocations: 1.426 MB / 0.7277 GB, free: 62.55 MB / 0.4981 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.0008504/1.206, allocations: 204.2 kB / 0.7279 GB, free: 62.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.22, allocations: 10.38 MB / 0.738 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.22, allocations: 4 kB / 0.738 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005574/1.225, allocations: 4.633 MB / 0.7426 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.229, allocations: 498.7 kB / 0.743 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.248, allocations: 13.82 MB / 0.7565 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/1.251, allocations: 3.736 MB / 0.7602 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/1.254, allocations: 0.5808 MB / 0.7608 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/1.254, allocations: 0 / 0.7608 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.3932/1.647, allocations: 147 MB / 0.9043 GB, free: 74.59 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inertia2.phi,inertia2.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w Variables in the result:inertia2.phi,inertia2.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w,time [Calling sys.exit(0), Time elapsed: 24.996059321099892]