Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001269/0.001269, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0009515/0.0009515, allocations: 162 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8427/0.8427, allocations: 158.6 MB / 187.2 MB, free: 3.012 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.7 MB, free: 3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.27e-05, allocations: 6.281 kB / 299.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.1341/0.1341, allocations: 12.19 MB / 311.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.143, allocations: 4.53 MB / 316.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.1459, allocations: 97.69 kB / 316.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006924/0.1528, allocations: 4.186 MB / 320.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.1584, allocations: 2.21 MB / 322.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.1604, allocations: 0.8736 MB / 323.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005929/0.1663, allocations: 4.999 MB / 328.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.172, allocations: 4.193 MB / 333 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007457/0.1794, allocations: 2.936 MB / 335.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.183, allocations: 2.751 MB / 338.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007013/0.1837, allocations: 460 kB / 339.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.1855, allocations: 1.276 MB / 340.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.187, allocations: 2.482 MB / 342.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.1888, allocations: 1.636 MB / 344.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007424/0.1962, allocations: 8.891 MB / 353.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1962, allocations: 0 / 353.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1962, allocations: 4 kB / 353.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002285/0.1964, allocations: 4 kB / 353.4 MB, free: 8.547 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.0166/0.213, allocations: 7.322 MB / 360.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2131, allocations: 19.92 kB / 360.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007782/0.2209, allocations: 2.622 MB / 363.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/0.2264, allocations: 3.109 MB / 366.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.2265, allocations: 303.8 kB / 366.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.2277, allocations: 420.6 kB / 367.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.2457, allocations: 13.52 MB / 380.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.2459, allocations: 43.64 kB / 380.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005502/0.2464, allocations: 195.9 kB / 380.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0024/0.2488, allocations: 2.205 MB / 383.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.267, allocations: 12.84 MB / 396 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/0.3152, allocations: 46.35 MB / 442.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.3282, allocations: 6.173 MB / 448.5 MB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/0.3318, allocations: 3.725 MB / 452.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.3323, allocations: 189.2 kB / 452.4 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3323, allocations: 51.88 kB / 452.5 MB, free: 3.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 6.221e-06/0.3323, allocations: 4 kB / 452.5 MB, free: 3.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1905/0.5228, allocations: 37.31 MB / 489.8 MB, free: 130.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/0.5229, allocations: 205.3 kB / 490 MB, free: 130.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.5272, allocations: 4.325 MB / 494.3 MB, free: 128.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008361/0.528, allocations: 69.42 kB / 494.4 MB, free: 128.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.5293, allocations: 3.586 MB / 498 MB, free: 126.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.5304, allocations: 0.9952 MB / 499 MB, free: 125.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.5318, allocations: 1.65 MB / 0.4889 GB, free: 124.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.5319, allocations: 308.6 kB / 0.4892 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003251/0.5351, allocations: 4.371 MB / 0.4934 GB, free: 123 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.5395, allocations: 8.319 MB / 0.5016 GB, free: 116.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/0.5491, allocations: 13.47 MB / 0.5147 GB, free: 102.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.276e-05/0.5491, allocations: 36 kB / 0.5148 GB, free: 102.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.01657/0.5657, allocations: 14.86 MB / 0.5293 GB, free: 87.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.5658, allocations: 60 kB / 0.5293 GB, free: 87.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.583e-05/0.5659, allocations: 136 kB / 0.5295 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/0.5694, allocations: 2.446 MB / 0.5318 GB, free: 84.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/0.5732, allocations: 1.86 MB / 0.5337 GB, free: 82.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.5842, allocations: 16.49 MB / 0.5498 GB, free: 66.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004625/0.5888, allocations: 0.515 MB / 0.5503 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009667/0.5898, allocations: 0.5229 MB / 0.5508 GB, free: 65.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (830): * Single equations (assignments): 824 * 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.003247/0.593, allocations: 2.401 MB / 0.5531 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008595/0.5939, allocations: 393.4 kB / 0.5535 GB, free: 62.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/0.6024, allocations: 9.735 MB / 0.563 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/0.6024, allocations: 28 kB / 0.563 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.6024, allocations: 12.56 kB / 0.563 GB, free: 52.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.6025, allocations: 15.95 kB / 0.5631 GB, free: 52.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.6206, allocations: 16.68 MB / 0.5793 GB, free: 35.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.6206, allocations: 7.938 kB / 0.5794 GB, free: 35.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.6224, allocations: 0.6552 MB / 0.58 GB, free: 35.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.6256, allocations: 2.249 MB / 0.5822 GB, free: 32.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005269/0.6261, allocations: 155.8 kB / 0.5823 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.6363, allocations: 15.14 MB / 0.5971 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6363, allocations: 3.938 kB / 0.5971 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.6495, allocations: 15.3 MB / 0.6121 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.6516, allocations: 1.008 MB / 0.6131 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/0.6524, allocations: 51.94 kB / 0.6131 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.6541, allocations: 275.6 kB / 0.6134 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/0.6546, allocations: 281.3 kB / 0.6136 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/0.6548, allocations: 175.8 kB / 0.6138 GB, free: 180 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003002/0.6578, allocations: 2.553 MB / 0.6163 GB, free: 13.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6578, allocations: 0 / 0.6163 GB, free: 13.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006137/0.664, allocations: 1.535 MB / 0.6178 GB, free: 12.11 MB / 442.7 MB 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 (198): * Single equations (assignments): 192 * 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.000735/0.6647, allocations: 218.7 kB / 0.618 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1372/0.8019, allocations: 10.16 MB / 0.6279 GB, free: 145.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8019, allocations: 1.469 kB / 0.6279 GB, free: 145.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005093/0.807, allocations: 4.455 MB / 0.6323 GB, free: 143.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.8094, allocations: 464.1 kB / 0.6327 GB, free: 143.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.8265, allocations: 13.8 MB / 0.6462 GB, free: 138.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/0.8292, allocations: 3.22 MB / 0.6493 GB, free: 137.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/0.831, allocations: 0.6795 MB / 0.65 GB, free: 137.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.244e-06/0.831, allocations: 0 / 0.65 GB, free: 137.1 MB / 442.7 MB Notification: Performance of Templates: time 0.2514/1.082, allocations: 148.6 MB / 0.7951 GB, free: 138.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 19.81767880450934]