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.0009211/0.0009211, allocations: 88.86 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.0008788/0.0008788, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9024/0.9024, allocations: 177 MB / 205.2 MB, free: 5.035 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.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.468e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01121/0.01122, allocations: 10.61 MB / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007539/0.01876, allocations: 4.095 MB / 288.1 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.01939, allocations: 75.69 kB / 288.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.09253/0.1119, allocations: 3.395 MB / 291.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.1153, allocations: 2.02 MB / 293.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1164, allocations: 0.9118 MB / 294.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003355/0.1197, allocations: 4.791 MB / 299.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.1218, allocations: 3.485 MB / 302.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.1238, allocations: 2.941 MB / 305.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.1252, allocations: 2.153 MB / 307.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.1255, allocations: 350 kB / 308.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.1265, allocations: 1.172 MB / 309.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008129/0.1273, allocations: 2.135 MB / 311.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009439/0.1282, allocations: 1.313 MB / 312.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.1306, allocations: 4.857 MB / 317.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1306, allocations: 0 / 317.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1307, allocations: 0 / 317.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.319e-05/0.1307, allocations: 0 / 317.7 MB, free: 2.867 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.003892/0.1346, allocations: 4.727 MB / 322.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1346, allocations: 11.98 kB / 322.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.1372, allocations: 1.117 MB / 323.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.1393, allocations: 2.008 MB / 325.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1394, allocations: 246.9 kB / 325.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.1398, allocations: 320.2 kB / 326.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.1448, allocations: 5.105 MB / 331.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/0.1449, allocations: 43.34 kB / 331.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.1451, allocations: 157.7 kB / 331.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00138/0.1465, allocations: 1.762 MB / 333.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.1505, allocations: 2.595 MB / 335.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01935/0.1699, allocations: 31.52 MB / 367.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.174, allocations: 1.939 MB / 369.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.1745, allocations: 432.1 kB / 369.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004034/0.1785, allocations: 3.552 MB / 373.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1785, allocations: 47.56 kB / 373.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=145): time 3.306e-06/0.1785, allocations: 0 / 373.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01259/0.1911, allocations: 5.72 MB / 379 MB, free: 5.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1912, allocations: 175.2 kB / 379.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.1934, allocations: 3.297 MB / 382.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.1935, allocations: 45.7 kB / 382.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.1947, allocations: 3.15 MB / 385.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.195, allocations: 0.6125 MB / 386.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/0.1958, allocations: 1.176 MB / 387.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.1959, allocations: 301.1 kB / 387.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.197, allocations: 0.7587 MB / 388.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.1995, allocations: 4.491 MB / 393 MB, free: 5.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/0.2032, allocations: 5.781 MB / 398.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/0.2032, allocations: 40 kB / 398.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.004271/0.2075, allocations: 4.252 MB / 403 MB, free: 9.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.2075, allocations: 64 kB / 403.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/0.2076, allocations: 139.9 kB / 403.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/0.2083, allocations: 368.2 kB / 403.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.2103, allocations: 1.368 MB / 404.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.2121, allocations: 2.182 MB / 407.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.2137, allocations: 263.7 kB / 407.4 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.214, allocations: 331.9 kB / 407.7 MB, free: 4.977 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.0008625/0.2148, allocations: 0.6274 MB / 408.3 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.2151, allocations: 211.8 kB / 408.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2162, allocations: 0.8783 MB / 409.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.2162, allocations: 19.94 kB / 409.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2162, allocations: 3.828 kB / 409.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.2162, allocations: 11.97 kB / 409.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.2206, allocations: 3.997 MB / 413.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.2206, allocations: 11.94 kB / 413.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.2211, allocations: 207.7 kB / 413.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006977/0.2218, allocations: 374.1 kB / 414 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.2219, allocations: 32 kB / 414.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.2234, allocations: 1.924 MB / 416 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.2234, allocations: 15.08 kB / 416 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.225, allocations: 1.814 MB / 417.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2253, allocations: 313.5 kB / 418.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.2255, allocations: 28 kB / 418.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.226, allocations: 28 kB / 418.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2261, allocations: 112.3 kB / 418.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.2261, allocations: 36 kB / 418.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008722/0.227, allocations: 1.19 MB / 419.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.227, allocations: 0 / 419.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002417/0.2294, allocations: 1.004 MB / 420.5 MB, free: 7.789 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.0002529/0.2297, allocations: 175.9 kB / 420.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.232, allocations: 2.491 MB / 423.2 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001418/0.2321, allocations: 100.2 kB / 423.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.2327, allocations: 0.5194 MB / 423.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.2352, allocations: 0.6171 MB / 424.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.2421, allocations: 7.501 MB / 431.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.2431, allocations: 1.257 MB / 433.2 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009476/0.2441, allocations: 491.2 kB / 433.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.2447, allocations: 0.5168 MB / 434.2 MB, free: 9.902 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2447, allocations: 0 / 434.2 MB, free: 9.902 MB / 394.7 MB Notification: Performance of Templates: time 0.1281/0.3729, allocations: 29.3 MB / 463.5 MB, free: 121.6 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 -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.621981113217771]