Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001337/0.001337, allocations: 70.11 kB / 21.24 MB, free: 0.5547 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.001363/0.001363, allocations: 149.7 kB / 24.49 MB, free: 3.855 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.391/1.391, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 43.14 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08479, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01278/0.09757, allocations: 10.04 MB / 381.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007814/0.1054, allocations: 3.878 MB / 385.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.1064, allocations: 79.69 kB / 385.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005844/0.1122, allocations: 3.111 MB / 388.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.1169, allocations: 2.031 MB / 390.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1187, allocations: 0.8188 MB / 391.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005916/0.1246, allocations: 4.46 MB / 396 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/0.1282, allocations: 3.067 MB / 399.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.1304, allocations: 1.69 MB / 400.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.1333, allocations: 2.176 MB / 402.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006036/0.134, allocations: 356 kB / 403.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.136, allocations: 1.159 MB / 404.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.1381, allocations: 2.123 MB / 406.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.1401, allocations: 1.739 MB / 408.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008376/0.1485, allocations: 7.692 MB / 416 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1485, allocations: 0 / 416 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1485, allocations: 0 / 416 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.1487, allocations: 0 / 416 MB, free: 10.73 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.009427/0.1581, allocations: 5.243 MB / 421.2 MB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1581, allocations: 8.922 kB / 421.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008953/0.1671, allocations: 2.268 MB / 423.5 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.1731, allocations: 2.802 MB / 426.3 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.1733, allocations: 250.3 kB / 426.6 MB, free: 44 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007071/0.174, allocations: 323.8 kB / 426.9 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.1922, allocations: 10.86 MB / 437.7 MB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.1923, allocations: 43.64 kB / 437.8 MB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005682/0.1929, allocations: 159.8 kB / 437.9 MB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00381/0.1967, allocations: 2.15 MB / 440.1 MB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/0.2155, allocations: 9.199 MB / 449.3 MB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2174/0.4328, allocations: 39.2 MB / 488.5 MB, free: 63.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.4439, allocations: 4.001 MB / 492.5 MB, free: 63.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.4463, allocations: 2.288 MB / 494.8 MB, free: 62.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008691/0.455, allocations: 6.23 MB / 0.4893 GB, free: 59.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4551, allocations: 50.84 kB / 0.4893 GB, free: 59.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=177): time 4.339e-06/0.4551, allocations: 0 / 0.4893 GB, free: 59.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=198): time 0.04054/0.4956, allocations: 19.23 MB / 0.5081 GB, free: 46.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4957, allocations: 174.7 kB / 0.5082 GB, free: 46.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.4993, allocations: 3.961 MB / 0.5121 GB, free: 42.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.4995, allocations: 53.33 kB / 0.5122 GB, free: 42.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.5006, allocations: 3.378 MB / 0.5155 GB, free: 39.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.5011, allocations: 0.7811 MB / 0.5162 GB, free: 38.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.5023, allocations: 1.309 MB / 0.5175 GB, free: 37.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.5023, allocations: 301.1 kB / 0.5178 GB, free: 37.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.5049, allocations: 2.386 MB / 0.5201 GB, free: 34.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.5085, allocations: 6.163 MB / 0.5261 GB, free: 26.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.5156, allocations: 9.215 MB / 0.5351 GB, free: 16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.032e-05/0.5157, allocations: 40 kB / 0.5352 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01226/0.5279, allocations: 9.289 MB / 0.5442 GB, free: 6.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.528, allocations: 62.81 kB / 0.5443 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-05/0.5281, allocations: 132.1 kB / 0.5444 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.5306, allocations: 1.199 MB / 0.5456 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/0.5344, allocations: 1.454 MB / 0.547 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008707/0.5431, allocations: 7.091 MB / 0.5539 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.5472, allocations: 359.5 kB / 0.5543 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/0.5478, allocations: 380 kB / 0.5547 GB, free: 11.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 49 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.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.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[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 (772): * Single equations (assignments): 766 * 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.003544/0.5514, allocations: 2.237 MB / 0.5568 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.5521, allocations: 345.6 kB / 0.5572 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/0.5598, allocations: 3.974 MB / 0.561 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.5598, allocations: 23.59 kB / 0.5611 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.5599, allocations: 4 kB / 0.5611 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.5599, allocations: 11.97 kB / 0.5611 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.577, allocations: 8.316 MB / 0.5692 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.577, allocations: 16.02 kB / 0.5692 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.5786, allocations: 316.8 kB / 0.5695 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/0.5815, allocations: 1.019 MB / 0.5705 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.5817, allocations: 43.98 kB / 0.5706 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.5918, allocations: 6.677 MB / 0.5771 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.5918, allocations: 8 kB / 0.5771 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.6033, allocations: 6.961 MB / 0.5839 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/0.6042, allocations: 317.4 kB / 0.5842 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/0.6048, allocations: 40 kB / 0.5842 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.6065, allocations: 131.7 kB / 0.5844 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.6069, allocations: 136.8 kB / 0.5845 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.607, allocations: 55.98 kB / 0.5845 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003894/0.6109, allocations: 2.283 MB / 0.5868 GB, free: 10.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6109, allocations: 0 / 0.5868 GB, free: 10.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004783/0.6157, allocations: 1.078 MB / 0.5878 GB, free: 9.691 MB / 478.1 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.0004302/0.6161, allocations: 183 kB / 0.588 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008734/0.6249, allocations: 5.498 MB / 0.5934 GB, free: 4.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.6249, allocations: 4 kB / 0.5934 GB, free: 4.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.6284, allocations: 1.919 MB / 0.5952 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.6308, allocations: 422.6 kB / 0.5956 GB, free: 1.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.6482, allocations: 10.4 MB / 0.6058 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004062/0.6523, allocations: 2.922 MB / 0.6087 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004498/0.6568, allocations: 1.965 MB / 0.6106 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/0.6575, allocations: 240.5 kB / 0.6108 GB, free: 2.035 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6575, allocations: 4 kB / 0.6108 GB, free: 2.031 MB / 494.1 MB Notification: Performance of Templates: time 0.07086/0.7284, allocations: 33.95 MB / 0.644 GB, free: 0.5703 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.948825216968544]