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.001706/0.001706, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002067/0.002067, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001489/0.001489, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.217, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01502/0.2321, allocations: 11.53 MB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009215/0.2413, allocations: 4.471 MB / 448.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.2426, allocations: 99.5 kB / 448.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007732/0.2504, allocations: 3.952 MB / 452.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.2554, allocations: 2.097 MB / 454.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.2572, allocations: 0.8423 MB / 455.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.263, allocations: 4.771 MB / 460.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.2675, allocations: 3.933 MB / 464 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.27, allocations: 1.963 MB / 466 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.2736, allocations: 2.882 MB / 468.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007312/0.2743, allocations: 452 kB / 469.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.2765, allocations: 1.233 MB / 470.5 MB, free: 312 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.2788, allocations: 2.349 MB / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.281, allocations: 2.035 MB / 474.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009273/0.2903, allocations: 8.767 MB / 483.7 MB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2903, allocations: 0 / 483.7 MB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2903, allocations: 4 kB / 483.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001227/0.2904, allocations: 0 / 483.7 MB, free: 3.098 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.3207, allocations: 7.045 MB / 490.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3207, allocations: 11.97 kB / 490.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.3377, allocations: 2.599 MB / 493.4 MB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007973/0.3457, allocations: 3.061 MB / 496.4 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.3459, allocations: 299.8 kB / 496.7 MB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.3468, allocations: 407.7 kB / 497.1 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/0.3741, allocations: 13.33 MB / 0.4985 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.3743, allocations: 43.64 kB / 0.4985 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006003/0.3749, allocations: 191.8 kB / 0.4987 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004686/0.3795, allocations: 2.202 MB / 0.5009 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02803/0.4076, allocations: 12.63 MB / 0.5132 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2434/0.651, allocations: 45.89 MB / 0.558 GB, free: 70.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/0.6753, allocations: 5.779 MB / 0.5636 GB, free: 69.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/0.6788, allocations: 3.693 MB / 0.5672 GB, free: 68.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/0.6795, allocations: 184.4 kB / 0.5674 GB, free: 68.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.6795, allocations: 59.14 kB / 0.5675 GB, free: 68.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.87e-06/0.6795, allocations: 0 / 0.5675 GB, free: 68.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09037/0.7699, allocations: 35.97 MB / 0.6026 GB, free: 36.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.77, allocations: 211.5 kB / 0.6028 GB, free: 35.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.7737, allocations: 4.189 MB / 0.6069 GB, free: 31.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.774, allocations: 61.7 kB / 0.607 GB, free: 31.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.7752, allocations: 3.608 MB / 0.6105 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006679/0.7759, allocations: 0.9912 MB / 0.6114 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.7777, allocations: 1.6 MB / 0.613 GB, free: 25.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.89e-05/0.7777, allocations: 301.1 kB / 0.6133 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004347/0.7821, allocations: 4.331 MB / 0.6175 GB, free: 21.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/0.7877, allocations: 8.261 MB / 0.6256 GB, free: 11.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/0.8008, allocations: 13.36 MB / 0.6386 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.8009, allocations: 40 kB / 0.6387 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02577/0.8267, allocations: 14.71 MB / 0.653 GB, free: 13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.8268, allocations: 64 kB / 0.6531 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.8269, allocations: 136 kB / 0.6532 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/0.8337, allocations: 2.451 MB / 0.6556 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006348/0.8401, allocations: 1.782 MB / 0.6574 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/0.863, allocations: 16.49 MB / 0.6735 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/0.869, allocations: 467.4 kB / 0.6739 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008823/0.8699, allocations: 0.4919 MB / 0.6744 GB, free: 6.84 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.00374/0.8736, allocations: 2.398 MB / 0.6767 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008462/0.8745, allocations: 377.5 kB / 0.6771 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/0.8919, allocations: 9.575 MB / 0.6865 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.8919, allocations: 24 kB / 0.6865 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.892, allocations: 12 kB / 0.6865 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.892, allocations: 11.95 kB / 0.6865 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/0.9228, allocations: 16.37 MB / 0.7025 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9228, allocations: 0 / 0.7025 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/0.9262, allocations: 0.5889 MB / 0.7031 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006721/0.9329, allocations: 2.234 MB / 0.7052 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/0.9333, allocations: 127.8 kB / 0.7054 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/0.9547, allocations: 15.13 MB / 0.7201 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9547, allocations: 3.938 kB / 0.7201 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/0.9797, allocations: 15.09 MB / 0.7349 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.9808, allocations: 365.3 kB / 0.7352 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/0.9814, allocations: 36 kB / 0.7353 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/0.9844, allocations: 227.7 kB / 0.7355 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007727/0.9852, allocations: 241.4 kB / 0.7357 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/0.9856, allocations: 151.8 kB / 0.7359 GB, free: 7.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003668/0.9892, allocations: 2.448 MB / 0.7382 GB, free: 5.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9892, allocations: 0 / 0.7382 GB, free: 5.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005588/0.9948, allocations: 1.414 MB / 0.7396 GB, free: 3.633 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.0005474/0.9954, allocations: 182.4 kB / 0.7398 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1871/1.182, allocations: 10.04 MB / 0.7496 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.182, allocations: 0 / 0.7496 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005162/1.188, allocations: 4.393 MB / 0.7539 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.19, allocations: 436.3 kB / 0.7543 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.205, allocations: 13.35 MB / 0.7674 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/1.208, allocations: 3.217 MB / 0.7705 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004723/1.213, allocations: 2.342 MB / 0.7728 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.215, allocations: 0.5182 MB / 0.7733 GB, free: 183.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.215, allocations: 0 / 0.7733 GB, free: 183.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1058/1.32, allocations: 83.22 MB / 0.8546 GB, free: 101.1 MB / 0.545 GB " [Timeout remaining time 659] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/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: 9.765606131011737]