Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.0008375/0.0008375, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003378/0.003378, allocations: 154.5 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8951/0.8951, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.542e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.007777/0.007803, allocations: 9.851 MB / 335.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.01342, allocations: 3.862 MB / 339.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.01418, allocations: 79.62 kB / 339.6 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.01727, allocations: 3.243 MB / 342.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.01973, allocations: 2.006 MB / 344.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.02073, allocations: 0.8925 MB / 345.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.02422, allocations: 4.804 MB / 350.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.02647, allocations: 3.305 MB / 353.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.02835, allocations: 2.428 MB / 356.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.03038, allocations: 2.221 MB / 358.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.0307, allocations: 352 kB / 358.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.03191, allocations: 1.19 MB / 360 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.03298, allocations: 2.139 MB / 362.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.03386, allocations: 1.305 MB / 363.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.03877, allocations: 7.442 MB / 370.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.03878, allocations: 0 / 370.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03878, allocations: 0 / 370.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.954e-05/0.03885, allocations: 0 / 370.9 MB, free: 2.062 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.006088/0.04494, allocations: 5.118 MB / 376 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.04498, allocations: 15.98 kB / 376 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.04942, allocations: 2.209 MB / 378.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.0532, allocations: 2.701 MB / 380.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.05332, allocations: 250.3 kB / 381.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.05371, allocations: 323.8 kB / 381.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.06418, allocations: 10.48 MB / 392 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.411e-05/0.06426, allocations: 47.62 kB / 392 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.06455, allocations: 151.8 kB / 392.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.0667, allocations: 2.029 MB / 394.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.07761, allocations: 8.897 MB / 403.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.1101, allocations: 38.5 MB / 441.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006615/0.1167, allocations: 4.006 MB / 445.6 MB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.1186, allocations: 2.301 MB / 447.9 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1775/0.2961, allocations: 6.33 MB / 454.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2961, allocations: 56.27 kB / 454.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 5.099e-06/0.2961, allocations: 0 / 454.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.02379/0.3199, allocations: 19.22 MB / 473.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.32, allocations: 179.5 kB / 473.7 MB, free: 101.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.3226, allocations: 3.985 MB / 477.7 MB, free: 97.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/0.3227, allocations: 50.88 kB / 477.7 MB, free: 97.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/0.3235, allocations: 3.243 MB / 481 MB, free: 94.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3238, allocations: 0.7929 MB / 481.8 MB, free: 93.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/0.3247, allocations: 1.262 MB / 483 MB, free: 92.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.3247, allocations: 305.1 kB / 483.3 MB, free: 92.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.3265, allocations: 2.386 MB / 485.7 MB, free: 89.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.329, allocations: 6.1 MB / 491.8 MB, free: 81.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005127/0.3341, allocations: 9.143 MB / 0.4892 GB, free: 70.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.3341, allocations: 44 kB / 0.4893 GB, free: 70.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.007624/0.3418, allocations: 9.226 MB / 0.4983 GB, free: 61.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3418, allocations: 64 kB / 0.4983 GB, free: 61.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-05/0.3419, allocations: 128.1 kB / 0.4985 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.3433, allocations: 1.187 MB / 0.4996 GB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.3454, allocations: 1.435 MB / 0.501 GB, free: 58.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/0.3504, allocations: 7.132 MB / 0.508 GB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.3527, allocations: 383.5 kB / 0.5083 GB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.353, allocations: 383.7 kB / 0.5087 GB, free: 50.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002188/0.3552, allocations: 2.171 MB / 0.5108 GB, free: 48.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.3555, allocations: 337.8 kB / 0.5112 GB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.3592, allocations: 3.985 MB / 0.515 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3592, allocations: 20 kB / 0.5151 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3592, allocations: 11.94 kB / 0.5151 GB, free: 44.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3592, allocations: 11.95 kB / 0.5151 GB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/0.3674, allocations: 8.329 MB / 0.5232 GB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3674, allocations: 12.09 kB / 0.5232 GB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.3681, allocations: 320.3 kB / 0.5235 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.3694, allocations: 1.022 MB / 0.5245 GB, free: 34.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.3695, allocations: 43.94 kB / 0.5246 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/0.3742, allocations: 6.737 MB / 0.5312 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3742, allocations: 11.94 kB / 0.5312 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.3797, allocations: 6.964 MB / 0.538 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.3802, allocations: 343.2 kB / 0.5383 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.3804, allocations: 39.98 kB / 0.5383 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.3812, allocations: 147.8 kB / 0.5385 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.3814, allocations: 140.9 kB / 0.5386 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.3815, allocations: 56 kB / 0.5387 GB, free: 19.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0018/0.3833, allocations: 2.321 MB / 0.5409 GB, free: 17.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3833, allocations: 0 / 0.5409 GB, free: 17.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003261/0.3865, allocations: 1.136 MB / 0.542 GB, free: 16.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.3869, allocations: 190.8 kB / 0.5422 GB, free: 16.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.3915, allocations: 5.486 MB / 0.5476 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3915, allocations: 4 kB / 0.5476 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.3931, allocations: 1.924 MB / 0.5495 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3944, allocations: 415.7 kB / 0.5499 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/0.4039, allocations: 10.52 MB / 0.5601 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.4062, allocations: 2.826 MB / 0.5629 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.4069, allocations: 284.4 kB / 0.5632 GB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4069, allocations: 0 / 0.5632 GB, free: 10.64 MB / 426.7 MB Notification: Performance of Templates: time 0.2233/0.6302, allocations: 79.95 MB / 0.6412 GB, free: 143.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.493326171301305]