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.001949/0.001949, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001978/0.001978, allocations: 156.8 kB / 24.27 MB, free: 160 kB / 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.564/1.564, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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 1.794e-06/1.794e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.444e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01585/0.01588, allocations: 10.85 MB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02617, allocations: 3.96 MB / 287 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.02872, allocations: 79.62 kB / 287.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1313/0.1601, allocations: 3.406 MB / 290.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.165, allocations: 2.003 MB / 292.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.167, allocations: 0.8988 MB / 293.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006881/0.1739, allocations: 4.806 MB / 298.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.1779, allocations: 3.399 MB / 301.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005695/0.1836, allocations: 2.438 MB / 304.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.1867, allocations: 2.283 MB / 306.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006235/0.1873, allocations: 352.3 kB / 306.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.1893, allocations: 1.196 MB / 307.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.1906, allocations: 2.141 MB / 310 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1921, allocations: 1.318 MB / 311.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006535/0.1986, allocations: 7.464 MB / 318.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1986, allocations: 0 / 318.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1986, allocations: 0 / 318.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002085/0.1988, allocations: 0 / 318.8 MB, free: 1.391 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.01355/0.2124, allocations: 5.947 MB / 324.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2124, allocations: 15.98 kB / 324.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.2229, allocations: 2.606 MB / 327.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007507/0.2304, allocations: 2.503 MB / 329.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/0.2309, allocations: 243.8 kB / 330.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.2321, allocations: 326.4 kB / 330.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.2496, allocations: 6.814 MB / 337.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.2498, allocations: 39.55 kB / 337.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007742/0.2506, allocations: 158.1 kB / 337.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004251/0.2548, allocations: 2.023 MB / 339.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.2695, allocations: 3.84 MB / 343.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07102/0.3405, allocations: 47.73 MB / 391 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.3515, allocations: 2.7 MB / 393.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.3534, allocations: 0.8172 MB / 394.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.3651, allocations: 4.597 MB / 399.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.3651, allocations: 58.33 kB / 399.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=177): time 4.539e-06/0.3651, allocations: 0 / 399.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=198): time 0.04728/0.4124, allocations: 13.9 MB / 413.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.4125, allocations: 179.5 kB / 413.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007439/0.42, allocations: 4.544 MB / 417.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.4203, allocations: 57.7 kB / 417.9 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003499/0.4238, allocations: 3.626 MB / 421.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.4251, allocations: 0.8618 MB / 422.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/0.4276, allocations: 1.621 MB / 424 MB, free: 6.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.4279, allocations: 476.8 kB / 424.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.4301, allocations: 0.8281 MB / 425.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1204/0.5505, allocations: 6.524 MB / 431.8 MB, free: 107.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008213/0.5587, allocations: 8.105 MB / 439.9 MB, free: 99.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001838/0.5589, allocations: 36.94 kB / 439.9 MB, free: 99.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01449/0.5734, allocations: 6.169 MB / 446.1 MB, free: 98.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.5735, allocations: 65.84 kB / 446.2 MB, free: 98.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/0.5737, allocations: 129.2 kB / 446.3 MB, free: 98.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/0.5766, allocations: 0.8041 MB / 447.1 MB, free: 98.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/0.5811, allocations: 1.434 MB / 448.5 MB, free: 98.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.5867, allocations: 4.078 MB / 452.6 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/0.5926, allocations: 379.3 kB / 453 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008638/0.5935, allocations: 379.4 kB / 453.4 MB, free: 96.43 MB / 378.7 MB 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.002125/0.5956, allocations: 0.7558 MB / 454.1 MB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.5963, allocations: 398.9 kB / 454.5 MB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.6011, allocations: 2.134 MB / 456.6 MB, free: 95.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.6011, allocations: 20.92 kB / 456.7 MB, free: 95.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6011, allocations: 11.47 kB / 456.7 MB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.6012, allocations: 11.16 kB / 456.7 MB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.6151, allocations: 7.187 MB / 463.9 MB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.6151, allocations: 4 kB / 463.9 MB, free: 93.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.6166, allocations: 316.8 kB / 464.2 MB, free: 93.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.619, allocations: 0.6402 MB / 464.8 MB, free: 92.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.6192, allocations: 39.84 kB / 464.9 MB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/0.6247, allocations: 3.774 MB / 468.6 MB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6247, allocations: 8 kB / 468.6 MB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.6311, allocations: 3.553 MB / 472.2 MB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/0.6321, allocations: 336.9 kB / 472.5 MB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/0.6326, allocations: 36 kB / 472.6 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.6342, allocations: 153.9 kB / 472.7 MB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.6345, allocations: 129 kB / 472.8 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.6346, allocations: 59.92 kB / 472.9 MB, free: 85.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002527/0.6371, allocations: 1.818 MB / 474.7 MB, free: 83.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6371, allocations: 4 kB / 474.7 MB, free: 83.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005218/0.6424, allocations: 1.135 MB / 475.9 MB, free: 82.28 MB / 378.7 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.0004969/0.6429, allocations: 197.3 kB / 476 MB, free: 82.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006075/0.6489, allocations: 3.677 MB / 479.7 MB, free: 78.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.6489, allocations: 1.125 kB / 479.7 MB, free: 78.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.6512, allocations: 1.231 MB / 481 MB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.6538, allocations: 414.9 kB / 481.4 MB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.6654, allocations: 8.18 MB / 489.5 MB, free: 68.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/0.668, allocations: 2.565 MB / 492.1 MB, free: 65.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003486/0.6714, allocations: 1.646 MB / 493.7 MB, free: 64.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/0.6723, allocations: 244.5 kB / 494 MB, free: 63.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6723, allocations: 0 / 494 MB, free: 63.95 MB / 378.7 MB Notification: Performance of Templates: time 0.05696/0.7292, allocations: 35.01 MB / 0.5166 GB, free: 29.46 MB / 378.7 MB " [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=240 -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","/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.437336549977772]