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.001857/0.001857, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.002477/0.002477, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.554/1.554, allocations: 230.2 MB / 254.5 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 59.89 kB / 373.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 53.32 MB / 427.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2145/0.3303, allocations: 11.23 MB / 438.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.3387, allocations: 4.078 MB / 442.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.3405, allocations: 69.41 kB / 442.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005636/0.3461, allocations: 3.207 MB / 445.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.3513, allocations: 1.918 MB / 447.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3534, allocations: 0.8313 MB / 448.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007384/0.3608, allocations: 4.399 MB / 452.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004283/0.3651, allocations: 3.343 MB / 456.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.3679, allocations: 1.621 MB / 457.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.3711, allocations: 2.287 MB / 460.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006849/0.3717, allocations: 345.5 kB / 460.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.3741, allocations: 1.268 MB / 461.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3761, allocations: 2.048 MB / 463.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002545/0.3786, allocations: 2.275 MB / 466.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009022/0.3876, allocations: 7.401 MB / 473.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3876, allocations: 0 / 473.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3876, allocations: 3.938 kB / 473.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001766/0.3878, allocations: 0 / 473.5 MB, free: 2.402 MB / 366.1 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.01191/0.3997, allocations: 5.193 MB / 478.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3998, allocations: 8.031 kB / 478.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008879/0.4086, allocations: 2.154 MB / 480.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.4148, allocations: 2.777 MB / 483.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.415, allocations: 250.1 kB / 483.8 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009407/0.4159, allocations: 323.8 kB / 484.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.4371, allocations: 10.44 MB / 494.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.4373, allocations: 52.39 kB / 494.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000464/0.4377, allocations: 151.9 kB / 494.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003688/0.4414, allocations: 2.027 MB / 496.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.4605, allocations: 8.91 MB / 0.4939 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05854/0.5191, allocations: 40.87 MB / 0.5338 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.5314, allocations: 4.319 MB / 0.538 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.5347, allocations: 2.296 MB / 0.5403 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.5474, allocations: 7.354 MB / 0.5474 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.5474, allocations: 59.5 kB / 0.5475 GB, free: 8.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 5.651e-06/0.5474, allocations: 0 / 0.5475 GB, free: 8.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.05122/0.5987, allocations: 18.87 MB / 0.5659 GB, free: 5.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5988, allocations: 175.5 kB / 0.5661 GB, free: 5.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/0.6054, allocations: 4.565 MB / 0.5706 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/0.6057, allocations: 53.7 kB / 0.5706 GB, free: 1.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002767/0.6084, allocations: 3.252 MB / 0.5738 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000973/0.6094, allocations: 0.7908 MB / 0.5745 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/0.6112, allocations: 1.29 MB / 0.5758 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6113, allocations: 305.1 kB / 0.5761 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/0.615, allocations: 2.386 MB / 0.5784 GB, free: 9.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/0.6223, allocations: 6.075 MB / 0.5844 GB, free: 1.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/0.6349, allocations: 9.14 MB / 0.5933 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.635, allocations: 44 kB / 0.5933 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02235/0.6573, allocations: 9.287 MB / 0.6024 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.6575, allocations: 60.19 kB / 0.6025 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/0.6577, allocations: 136 kB / 0.6026 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/0.6614, allocations: 1.191 MB / 0.6038 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/0.6671, allocations: 1.427 MB / 0.6051 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.678, allocations: 7.293 MB / 0.6123 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/0.684, allocations: 355.5 kB / 0.6126 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/0.6854, allocations: 376 kB / 0.613 GB, free: 1.887 MB / 0.5137 GB 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.2256/0.9109, allocations: 2.165 MB / 0.6151 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/0.9121, allocations: 411 kB / 0.6155 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00837/0.9205, allocations: 4.04 MB / 0.6194 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.9206, allocations: 25.23 kB / 0.6194 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.9206, allocations: 6.719 kB / 0.6194 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.9206, allocations: 9.75 kB / 0.6195 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.9392, allocations: 9.411 MB / 0.6286 GB, free: 156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.9392, allocations: 5.688 kB / 0.6286 GB, free: 156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.9409, allocations: 320.3 kB / 0.629 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.9438, allocations: 1.025 MB / 0.63 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.944, allocations: 41.8 kB / 0.63 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008632/0.9527, allocations: 6.873 MB / 0.6367 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.9527, allocations: 7.719 kB / 0.6367 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.9627, allocations: 7.051 MB / 0.6436 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.9639, allocations: 493 kB / 0.6441 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005041/0.9644, allocations: 42.39 kB / 0.6441 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.9661, allocations: 122 kB / 0.6442 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.9664, allocations: 125.2 kB / 0.6443 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.9666, allocations: 63.19 kB / 0.6444 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004155/0.9707, allocations: 2.921 MB / 0.6473 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.9707, allocations: 0 / 0.6473 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006479/0.9772, allocations: 1.057 MB / 0.6483 GB, free: 148.2 MB / 0.5137 GB 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.0004948/0.9777, allocations: 176.8 kB / 0.6485 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007816/0.9855, allocations: 5.486 MB / 0.6538 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.9855, allocations: 2 kB / 0.6538 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/0.9884, allocations: 1.928 MB / 0.6557 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.9915, allocations: 495 kB / 0.6562 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.007, allocations: 10.2 MB / 0.6661 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/1.01, allocations: 3.366 MB / 0.6694 GB, free: 132.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003899/1.014, allocations: 2.021 MB / 0.6714 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007367/1.015, allocations: 267.4 kB / 0.6717 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.153e-06/1.015, allocations: 0 / 0.6717 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.05971/1.074, allocations: 39.53 MB / 0.7103 GB, free: 90.95 MB / 0.5137 GB " [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: 6.597906616516411]