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.000954/0.000954, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001093/0.001093, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.632e-05, allocations: 2.312 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.007936/0.007953, allocations: 10.65 MB / 284.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.01442, allocations: 4.095 MB / 288.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.01538, allocations: 79.62 kB / 288.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1073/0.1226, allocations: 3.342 MB / 291.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.1273, allocations: 1.99 MB / 293.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1288, allocations: 0.8908 MB / 294.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.1338, allocations: 4.799 MB / 299.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.1368, allocations: 3.368 MB / 302.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.1399, allocations: 2.912 MB / 305.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.1422, allocations: 2.143 MB / 307.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006094/0.1428, allocations: 349.6 kB / 308.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.1441, allocations: 1.218 MB / 309.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.1452, allocations: 2.132 MB / 311.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.1463, allocations: 1.317 MB / 312.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.1494, allocations: 4.855 MB / 317.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1494, allocations: 0 / 317.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1494, allocations: 0 / 317.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.58e-05/0.1495, allocations: 2.812 kB / 317.6 MB, free: 3.105 MB / 266.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.004332/0.1538, allocations: 4.725 MB / 322.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1539, allocations: 15.97 kB / 322.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.1566, allocations: 1.123 MB / 323.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.1587, allocations: 2.01 MB / 325.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1588, allocations: 240.2 kB / 325.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.1592, allocations: 331.7 kB / 326 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.1643, allocations: 5.102 MB / 331.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-05/0.1643, allocations: 37.2 kB / 331.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.1646, allocations: 155.4 kB / 331.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/0.166, allocations: 1.762 MB / 333.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.1703, allocations: 2.596 MB / 335.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/0.191, allocations: 31.51 MB / 367.2 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.1953, allocations: 1.942 MB / 369.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.1957, allocations: 429.2 kB / 369.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003975/0.1997, allocations: 3.552 MB / 373.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1998, allocations: 55.5 kB / 373.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=145): time 3.406e-06/0.1998, allocations: 7.984 kB / 373.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01257/0.2123, allocations: 5.74 MB / 378.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2124, allocations: 175.1 kB / 379.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.2147, allocations: 3.297 MB / 382.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.2147, allocations: 45.7 kB / 382.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.2161, allocations: 3.138 MB / 385.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.2164, allocations: 0.6242 MB / 386.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008579/0.2173, allocations: 1.176 MB / 387.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.2174, allocations: 301.1 kB / 387.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2184, allocations: 0.7548 MB / 388.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.2211, allocations: 4.495 MB / 392.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.2251, allocations: 5.779 MB / 398.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.2251, allocations: 40 kB / 398.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.004362/0.2295, allocations: 4.239 MB / 402.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.2295, allocations: 67.94 kB / 403 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.592e-05/0.2296, allocations: 148.1 kB / 403.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.2303, allocations: 359.4 kB / 403.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.2324, allocations: 1.435 MB / 404.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.2342, allocations: 2.181 MB / 407.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.2358, allocations: 275.7 kB / 407.4 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.2361, allocations: 332 kB / 407.7 MB, free: 5.113 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 (762): * Single equations (assignments): 756 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001084/0.2372, allocations: 0.6274 MB / 408.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.2374, allocations: 207.8 kB / 408.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2385, allocations: 0.8822 MB / 409.4 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.2386, allocations: 16 kB / 409.4 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2386, allocations: 4 kB / 409.4 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2386, allocations: 11.97 kB / 409.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.2429, allocations: 3.994 MB / 413.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.2429, allocations: 8 kB / 413.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.2435, allocations: 239.6 kB / 413.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/0.2442, allocations: 369.9 kB / 414 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.2442, allocations: 32 kB / 414.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.2459, allocations: 1.923 MB / 416 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2459, allocations: 12.03 kB / 416 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.2475, allocations: 1.814 MB / 417.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.2478, allocations: 321.5 kB / 418.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.248, allocations: 28 kB / 418.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.2485, allocations: 28 kB / 418.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.2486, allocations: 96.38 kB / 418.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.2487, allocations: 39.98 kB / 418.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008679/0.2495, allocations: 1.202 MB / 419.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2495, allocations: 0 / 419.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002436/0.252, allocations: 1.004 MB / 420.5 MB, free: 7.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002936/0.2523, allocations: 163.9 kB / 420.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.2547, allocations: 2.504 MB / 423.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001424/0.2548, allocations: 104.2 kB / 423.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.2554, allocations: 0.5153 MB / 423.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.2568, allocations: 0.6084 MB / 424.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007343/0.2642, allocations: 7.511 MB / 431.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009731/0.2651, allocations: 1.257 MB / 433.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009881/0.2661, allocations: 491.2 kB / 433.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.2668, allocations: 0.509 MB / 434.2 MB, free: 10.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2668, allocations: 0 / 434.2 MB, free: 10.02 MB / 394.7 MB Notification: Performance of Templates: time 0.15/0.4168, allocations: 29.3 MB / 463.5 MB, free: 121.5 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.564921943936497]