Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.0009164/0.0009164, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003907/0.003907, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.885/0.885, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.781e-05, allocations: 4.812 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.006941/0.006959, allocations: 9.871 MB / 335.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.01093, allocations: 3.863 MB / 339.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.01139, allocations: 79.62 kB / 339.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.01423, allocations: 3.243 MB / 342.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.01613, allocations: 2.002 MB / 344.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.01712, allocations: 0.8925 MB / 345.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.02016, allocations: 4.801 MB / 350.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.02218, allocations: 3.305 MB / 353.9 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.02391, allocations: 2.428 MB / 356.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.02537, allocations: 2.221 MB / 358.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.02564, allocations: 352 kB / 358.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.02665, allocations: 1.194 MB / 360.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.02791, allocations: 2.127 MB / 362.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007769/0.02868, allocations: 1.308 MB / 363.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.03304, allocations: 7.442 MB / 371 MB, free: 1.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.03305, allocations: 4 kB / 371 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03305, allocations: 0 / 371 MB, free: 1.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.646e-05/0.03308, allocations: 0 / 371 MB, free: 1.977 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.004979/0.03806, allocations: 5.121 MB / 376.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.03809, allocations: 8.031 kB / 376.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.04215, allocations: 2.209 MB / 378.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.04494, allocations: 2.712 MB / 381 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.04505, allocations: 242.3 kB / 381.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.04539, allocations: 327.8 kB / 381.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009031/0.05442, allocations: 10.48 MB / 392 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-05/0.05449, allocations: 47.64 kB / 392.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.05474, allocations: 151.9 kB / 392.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/0.05644, allocations: 2.029 MB / 394.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008948/0.06538, allocations: 8.897 MB / 403.2 MB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02545/0.09083, allocations: 38.5 MB / 441.7 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005869/0.0967, allocations: 4.01 MB / 445.7 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.0987, allocations: 2.294 MB / 448 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1526/0.2513, allocations: 6.341 MB / 454.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2513, allocations: 51.09 kB / 454.4 MB, free: 112.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 5.7e-06/0.2513, allocations: 0 / 454.4 MB, free: 112.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.02299/0.2743, allocations: 19.22 MB / 473.6 MB, free: 101.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2744, allocations: 179.5 kB / 473.8 MB, free: 101.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.2772, allocations: 3.986 MB / 477.7 MB, free: 97.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.2773, allocations: 49.7 kB / 477.8 MB, free: 97.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.278, allocations: 3.247 MB / 481 MB, free: 94.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.2783, allocations: 0.7773 MB / 481.8 MB, free: 93.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000845/0.2792, allocations: 1.274 MB / 483.1 MB, free: 92.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.435e-05/0.2792, allocations: 304.8 kB / 483.4 MB, free: 92.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.281, allocations: 2.382 MB / 485.8 MB, free: 89.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.2836, allocations: 6.1 MB / 491.9 MB, free: 81.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/0.2885, allocations: 9.145 MB / 0.4893 GB, free: 70.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-05/0.2885, allocations: 40 kB / 0.4893 GB, free: 70.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.007548/0.296, allocations: 9.222 MB / 0.4983 GB, free: 61.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.2961, allocations: 60 kB / 0.4984 GB, free: 61.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.2961, allocations: 135.9 kB / 0.4985 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.2976, allocations: 1.195 MB / 0.4997 GB, free: 60.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.2995, allocations: 1.435 MB / 0.5011 GB, free: 58.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/0.3042, allocations: 7.126 MB / 0.508 GB, free: 51.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.3061, allocations: 380.4 kB / 0.5084 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.3063, allocations: 391.8 kB / 0.5088 GB, free: 50.73 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.001658/0.308, allocations: 2.174 MB / 0.5109 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.3082, allocations: 337.8 kB / 0.5112 GB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.3116, allocations: 3.985 MB / 0.5151 GB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3117, allocations: 20 kB / 0.5151 GB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3117, allocations: 11.06 kB / 0.5151 GB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3117, allocations: 9.562 kB / 0.5151 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/0.3192, allocations: 8.33 MB / 0.5233 GB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3192, allocations: 8 kB / 0.5233 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.3199, allocations: 315.6 kB / 0.5236 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.3212, allocations: 1.022 MB / 0.5246 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-05/0.3213, allocations: 43.92 kB / 0.5246 GB, free: 34.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.3259, allocations: 6.74 MB / 0.5312 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3259, allocations: 8 kB / 0.5312 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/0.3313, allocations: 6.965 MB / 0.538 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.3315, allocations: 341.5 kB / 0.5383 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.3317, allocations: 39.98 kB / 0.5384 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.3325, allocations: 147.8 kB / 0.5385 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.3327, allocations: 144.8 kB / 0.5387 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.3327, allocations: 59.83 kB / 0.5387 GB, free: 19.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.3344, allocations: 2.325 MB / 0.541 GB, free: 17.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3344, allocations: 0 / 0.541 GB, free: 17.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002557/0.3369, allocations: 1.133 MB / 0.5421 GB, free: 16.34 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.0003321/0.3372, allocations: 192.2 kB / 0.5423 GB, free: 16.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004094/0.3413, allocations: 5.495 MB / 0.5476 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3413, allocations: 4 kB / 0.5476 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.3429, allocations: 1.92 MB / 0.5495 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3442, allocations: 409.1 kB / 0.5499 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.3532, allocations: 10.51 MB / 0.5602 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.3559, allocations: 2.825 MB / 0.5629 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.3565, allocations: 276.5 kB / 0.5632 GB, free: 10.57 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3565, allocations: 4 kB / 0.5632 GB, free: 10.57 MB / 426.7 MB Notification: Performance of Templates: time 0.2254/0.5819, allocations: 79.95 MB / 0.6413 GB, free: 143.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.631152065470815]