Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001642/0.001642, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001951/0.001951, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.447/1.447, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 58.58 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.244, allocations: 49.14 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01195/0.2559, allocations: 10.95 MB / 407.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.2653, allocations: 4.005 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.2674, allocations: 81.75 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006311/0.2738, allocations: 3.142 MB / 415 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.2798, allocations: 2.159 MB / 417.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.282, allocations: 0.8214 MB / 418 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.289, allocations: 4.566 MB / 422.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00522/0.2942, allocations: 3.202 MB / 425.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.2979, allocations: 1.787 MB / 427.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.3026, allocations: 2.394 MB / 430 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.3042, allocations: 388 kB / 430.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.3075, allocations: 1.174 MB / 431.5 MB, free: 420 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.311, allocations: 2.286 MB / 433.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004252/0.3152, allocations: 1.879 MB / 435.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.3292, allocations: 8.322 MB / 444 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3292, allocations: 0 / 444 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3292, allocations: 0 / 444 MB, free: 3.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003825/0.3296, allocations: 0 / 444 MB, free: 3.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01624/0.3458, allocations: 5.584 MB / 449.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3459, allocations: 15.97 kB / 449.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009888/0.3558, allocations: 2.26 MB / 451.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/0.3631, allocations: 2.971 MB / 454.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.3634, allocations: 266.8 kB / 455.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.3645, allocations: 355.8 kB / 455.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.3864, allocations: 11.66 MB / 467.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.3865, allocations: 51.58 kB / 467.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008903/0.3874, allocations: 167.8 kB / 467.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004466/0.3919, allocations: 2.335 MB / 469.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.4141, allocations: 9.952 MB / 479.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06161/0.4757, allocations: 41.43 MB / 0.5088 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.4891, allocations: 4.668 MB / 0.5134 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.493, allocations: 2.571 MB / 0.5159 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.5058, allocations: 6.837 MB / 0.5226 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.5058, allocations: 51.88 kB / 0.5226 GB, free: 6.617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.879e-06/0.5058, allocations: 0 / 0.5226 GB, free: 6.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05739/0.5632, allocations: 20.8 MB / 0.5429 GB, free: 1.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.5634, allocations: 180.2 kB / 0.5431 GB, free: 1.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/0.5709, allocations: 4.072 MB / 0.5471 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005333/0.5714, allocations: 57.7 kB / 0.5471 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003021/0.5744, allocations: 3.567 MB / 0.5506 GB, free: 9.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.5758, allocations: 0.9224 MB / 0.5515 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003116/0.5789, allocations: 1.397 MB / 0.5529 GB, free: 7.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.579, allocations: 309 kB / 0.5532 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005443/0.5845, allocations: 2.699 MB / 0.5558 GB, free: 4.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2139/0.7984, allocations: 6.634 MB / 0.5623 GB, free: 138.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.8095, allocations: 10.09 MB / 0.5721 GB, free: 131.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/0.8097, allocations: 38.62 kB / 0.5722 GB, free: 131.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01893/0.8287, allocations: 10.12 MB / 0.5821 GB, free: 128 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.8288, allocations: 63.12 kB / 0.5821 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.8289, allocations: 136.1 kB / 0.5822 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.8317, allocations: 1.206 MB / 0.5834 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00511/0.8368, allocations: 1.605 MB / 0.585 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007702/0.8445, allocations: 7.059 MB / 0.5919 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/0.8515, allocations: 383 kB / 0.5923 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/0.8527, allocations: 410.1 kB / 0.5926 GB, free: 124 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (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 (835): * Single equations (assignments): 829 * 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.004908/0.8576, allocations: 2.377 MB / 0.595 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/0.8585, allocations: 368 kB / 0.5953 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/0.866, allocations: 4.702 MB / 0.5999 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.866, allocations: 28 kB / 0.5999 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.866, allocations: 7.938 kB / 0.5999 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.8661, allocations: 9.422 kB / 0.6 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8802, allocations: 9.472 MB / 0.6092 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.8803, allocations: 8 kB / 0.6092 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.8821, allocations: 426.2 kB / 0.6096 GB, free: 110.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.8844, allocations: 1.023 MB / 0.6106 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.8846, allocations: 44 kB / 0.6107 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.8917, allocations: 6.687 MB / 0.6172 GB, free: 102.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8917, allocations: 7.938 kB / 0.6172 GB, free: 102.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009828/0.9015, allocations: 8.101 MB / 0.6251 GB, free: 94.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/0.9037, allocations: 0.6828 MB / 0.6258 GB, free: 93.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009115/0.9046, allocations: 40.19 kB / 0.6258 GB, free: 93.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.9065, allocations: 147.8 kB / 0.626 GB, free: 93.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.9069, allocations: 161.5 kB / 0.6261 GB, free: 93.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.907, allocations: 60 kB / 0.6262 GB, free: 93.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003729/0.9108, allocations: 2.356 MB / 0.6285 GB, free: 91.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9108, allocations: 8 kB / 0.6285 GB, free: 91.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007255/0.918, allocations: 1.172 MB / 0.6296 GB, free: 90.01 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 (198): * Single equations (assignments): 194 * 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.0007823/0.9188, allocations: 179.7 kB / 0.6298 GB, free: 89.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.9293, allocations: 6.254 MB / 0.6359 GB, free: 83.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.9293, allocations: 0 / 0.6359 GB, free: 83.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.933, allocations: 2.242 MB / 0.6381 GB, free: 81.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.9365, allocations: 429.9 kB / 0.6385 GB, free: 80.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.9549, allocations: 11.37 MB / 0.6496 GB, free: 69.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/0.96, allocations: 3.149 MB / 0.6527 GB, free: 66.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005185/0.9652, allocations: 2.137 MB / 0.6548 GB, free: 64.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.9665, allocations: 259.4 kB / 0.655 GB, free: 63.89 MB / 478.1 MB Notification: Performance of SimCode: time 1.944e-06/0.9665, allocations: 0 / 0.655 GB, free: 63.89 MB / 478.1 MB Notification: Performance of Templates: time 0.06816/1.035, allocations: 41.51 MB / 0.6955 GB, free: 22.35 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.910668320953846]