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.001786/0.001786, allocations: 88.39 kB / 21.44 MB, free: 276 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.002198/0.002198, allocations: 163.1 kB / 24.71 MB, free: 3.527 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.33/1.33, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.549e-05, allocations: 2.281 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01389/0.01391, allocations: 10.95 MB / 309.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009054/0.02297, allocations: 3.995 MB / 313.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.02453, allocations: 87.62 kB / 314 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006539/0.03107, allocations: 3.313 MB / 317.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.03656, allocations: 2.22 MB / 319.5 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.03846, allocations: 0.8925 MB / 320.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1574/0.1959, allocations: 4.916 MB / 325.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003869/0.1998, allocations: 3.495 MB / 328.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/0.2042, allocations: 2.653 MB / 331.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.208, allocations: 2.471 MB / 334 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008606/0.2089, allocations: 393.8 kB / 334.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.2111, allocations: 1.239 MB / 335.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.2129, allocations: 2.371 MB / 338 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.2146, allocations: 1.466 MB / 339.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00754/0.2222, allocations: 8.34 MB / 347.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2222, allocations: 0.5938 kB / 347.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2222, allocations: 3.969 kB / 347.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002284/0.2224, allocations: 0 / 347.8 MB, free: 9.238 MB / 302.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.01023/0.2326, allocations: 5.585 MB / 353.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2327, allocations: 13.33 kB / 353.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009225/0.2419, allocations: 2.337 MB / 355.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.2478, allocations: 2.926 MB / 358.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.2479, allocations: 271 kB / 358.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008285/0.2488, allocations: 355 kB / 359.2 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.2698, allocations: 11.66 MB / 370.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.2699, allocations: 49.23 kB / 370.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004611/0.2704, allocations: 167.3 kB / 371.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004294/0.2747, allocations: 2.337 MB / 373.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.2953, allocations: 9.913 MB / 383.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06334/0.3586, allocations: 41.64 MB / 425 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.3729, allocations: 4.808 MB / 429.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/0.3769, allocations: 2.57 MB / 432.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.3905, allocations: 7.027 MB / 439.4 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.3906, allocations: 55.16 kB / 439.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=216): time 6.111e-06/0.3906, allocations: 0 / 439.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=237): time 0.06807/0.4586, allocations: 21.28 MB / 460.7 MB, free: 10.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.4588, allocations: 180.2 kB / 460.9 MB, free: 10.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007737/0.4666, allocations: 4.2 MB / 465.1 MB, free: 5.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005309/0.4671, allocations: 61.7 kB / 465.2 MB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003266/0.4704, allocations: 3.521 MB / 468.7 MB, free: 2.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.4719, allocations: 0.9125 MB / 469.6 MB, free: 1.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003821/0.4757, allocations: 1.372 MB / 471 MB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4758, allocations: 301.1 kB / 471.3 MB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005293/0.4811, allocations: 2.699 MB / 474 MB, free: 13.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/0.4912, allocations: 6.631 MB / 480.6 MB, free: 4.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1781/0.6693, allocations: 10.06 MB / 490.7 MB, free: 131.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/0.6694, allocations: 42.06 kB / 490.7 MB, free: 131.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01962/0.689, allocations: 10.1 MB / 0.4891 GB, free: 127.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.6892, allocations: 68.48 kB / 0.4891 GB, free: 127.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003412/0.6895, allocations: 136.1 kB / 0.4893 GB, free: 127.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.6934, allocations: 1.203 MB / 0.4904 GB, free: 127.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/0.6996, allocations: 1.606 MB / 0.492 GB, free: 127.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008796/0.7084, allocations: 7.1 MB / 0.4989 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/0.714, allocations: 423 kB / 0.4993 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/0.7153, allocations: 405.1 kB / 0.4997 GB, free: 123.8 MB / 430.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.004817/0.7201, allocations: 2.377 MB / 0.5021 GB, free: 122.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.7212, allocations: 375.3 kB / 0.5024 GB, free: 122.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008919/0.7301, allocations: 4.678 MB / 0.507 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/0.7302, allocations: 30.38 kB / 0.507 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.7302, allocations: 11.44 kB / 0.507 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.7302, allocations: 11.59 kB / 0.507 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.7502, allocations: 9.53 MB / 0.5163 GB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.7502, allocations: 8 kB / 0.5163 GB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/0.7524, allocations: 428 kB / 0.5168 GB, free: 112.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.7552, allocations: 1.023 MB / 0.5178 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005063/0.7557, allocations: 51.52 kB / 0.5178 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007933/0.7636, allocations: 6.735 MB / 0.5244 GB, free: 104.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.7636, allocations: 7.938 kB / 0.5244 GB, free: 104.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.776, allocations: 8.057 MB / 0.5323 GB, free: 96.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/0.7783, allocations: 0.7147 MB / 0.533 GB, free: 95.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/0.7795, allocations: 44 kB / 0.533 GB, free: 95.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/0.7823, allocations: 183.7 kB / 0.5332 GB, free: 95.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/0.7828, allocations: 153.6 kB / 0.5333 GB, free: 95.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/0.7831, allocations: 71.52 kB / 0.5334 GB, free: 95.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004379/0.7875, allocations: 2.45 MB / 0.5358 GB, free: 92.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7875, allocations: 0 / 0.5358 GB, free: 92.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007348/0.7948, allocations: 1.267 MB / 0.537 GB, free: 91.6 MB / 430.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.0009542/0.7958, allocations: 209.8 kB / 0.5372 GB, free: 91.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.8059, allocations: 6.239 MB / 0.5433 GB, free: 85.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.8059, allocations: 0 / 0.5433 GB, free: 85.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004149/0.8101, allocations: 2.22 MB / 0.5455 GB, free: 82.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004937/0.815, allocations: 435.1 kB / 0.5459 GB, free: 82.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.8351, allocations: 11.27 MB / 0.5569 GB, free: 71.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006037/0.8411, allocations: 3.149 MB / 0.56 GB, free: 68.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00487/0.846, allocations: 2.139 MB / 0.5621 GB, free: 65.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.8473, allocations: 272.4 kB / 0.5623 GB, free: 65.61 MB / 430.1 MB Notification: Performance of SimCode: time 1.313e-06/0.8473, allocations: 0 / 0.5623 GB, free: 65.61 MB / 430.1 MB Notification: Performance of Templates: time 0.06532/0.9126, allocations: 37.84 MB / 0.5993 GB, free: 27.75 MB / 430.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.641546998172998]