Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001978/0.001978, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002151/0.002151, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.86e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.02698/0.02702, allocations: 10.85 MB / 283.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.03766, allocations: 3.956 MB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.03954, allocations: 79.69 kB / 287.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1281/0.1677, allocations: 3.404 MB / 290.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005497/0.1732, allocations: 1.998 MB / 292.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.1753, allocations: 0.9064 MB / 293.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006608/0.1819, allocations: 4.799 MB / 298.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.1854, allocations: 3.4 MB / 301.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.189, allocations: 2.433 MB / 304.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.1921, allocations: 2.29 MB / 306.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.1928, allocations: 357.2 kB / 306.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.1948, allocations: 1.186 MB / 308 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.1963, allocations: 2.147 MB / 310.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.198, allocations: 1.319 MB / 311.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006606/0.2046, allocations: 7.46 MB / 318.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2046, allocations: 0 / 318.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2046, allocations: 0 / 318.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001984/0.2048, allocations: 0 / 318.9 MB, free: 1.418 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.01277/0.2176, allocations: 5.944 MB / 324.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2176, allocations: 8.031 kB / 324.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.2279, allocations: 2.606 MB / 327.5 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/0.2354, allocations: 2.51 MB / 330 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.2357, allocations: 238.9 kB / 330.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.2369, allocations: 328.5 kB / 330.5 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/0.2552, allocations: 6.808 MB / 337.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.2554, allocations: 45.23 kB / 337.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005673/0.2559, allocations: 151.5 kB / 337.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/0.2601, allocations: 2.038 MB / 339.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.275, allocations: 3.83 MB / 343.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06909/0.3441, allocations: 47.74 MB / 391.1 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.3551, allocations: 2.696 MB / 393.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.357, allocations: 0.8102 MB / 394.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.369, allocations: 4.612 MB / 399.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.3691, allocations: 58.38 kB / 399.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=177): time 5.37e-06/0.3691, allocations: 0 / 399.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=198): time 0.04777/0.4168, allocations: 13.9 MB / 413.2 MB, free: 1.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.417, allocations: 183.5 kB / 413.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/0.4242, allocations: 4.544 MB / 417.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.4245, allocations: 49.7 kB / 418 MB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003387/0.4279, allocations: 3.628 MB / 421.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.4292, allocations: 0.8747 MB / 422.5 MB, free: 8.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/0.4317, allocations: 1.617 MB / 424.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.4319, allocations: 476.8 kB / 424.6 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.434, allocations: 0.8281 MB / 425.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.125/0.559, allocations: 6.521 MB / 431.9 MB, free: 107.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007719/0.5667, allocations: 8.108 MB / 440 MB, free: 99.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001713/0.5669, allocations: 36.34 kB / 440.1 MB, free: 99.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01357/0.5805, allocations: 6.163 MB / 446.2 MB, free: 98.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/0.5806, allocations: 64.91 kB / 446.3 MB, free: 98.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.5807, allocations: 129.3 kB / 446.4 MB, free: 98.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.5836, allocations: 0.8048 MB / 447.2 MB, free: 98.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/0.5879, allocations: 1.431 MB / 448.7 MB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.5935, allocations: 4.071 MB / 452.7 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/0.5977, allocations: 383.7 kB / 453.1 MB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/0.5983, allocations: 378.2 kB / 453.5 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.001629/0.6, allocations: 0.7527 MB / 454.2 MB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/0.6006, allocations: 397.9 kB / 454.6 MB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/0.6055, allocations: 2.136 MB / 456.7 MB, free: 95.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.6055, allocations: 23.2 kB / 456.8 MB, free: 95.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6055, allocations: 11.72 kB / 456.8 MB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.6055, allocations: 14.91 kB / 456.8 MB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.6198, allocations: 7.19 MB / 464 MB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.6198, allocations: 4 kB / 464 MB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.6212, allocations: 316.8 kB / 464.3 MB, free: 92.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.6235, allocations: 0.6359 MB / 464.9 MB, free: 92.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.6237, allocations: 43.7 kB / 465 MB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.629, allocations: 3.773 MB / 468.7 MB, free: 89.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6291, allocations: 8.953 kB / 468.8 MB, free: 89.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006458/0.6355, allocations: 3.554 MB / 472.3 MB, free: 85.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/0.6364, allocations: 332 kB / 472.6 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.6368, allocations: 39.83 kB / 472.7 MB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.6384, allocations: 155.8 kB / 472.8 MB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.6387, allocations: 131.9 kB / 473 MB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.6388, allocations: 62.02 kB / 473 MB, free: 85.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002478/0.6413, allocations: 1.814 MB / 474.8 MB, free: 83.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6413, allocations: 0 / 474.8 MB, free: 83.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005198/0.6465, allocations: 1.137 MB / 476 MB, free: 82.25 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.0004196/0.6469, allocations: 196.5 kB / 476.2 MB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005742/0.6527, allocations: 3.665 MB / 479.8 MB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6527, allocations: 4 kB / 479.8 MB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.6549, allocations: 1.238 MB / 481.1 MB, free: 77.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.6581, allocations: 418.5 kB / 481.5 MB, free: 76.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.6692, allocations: 8.182 MB / 489.7 MB, free: 68.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.6716, allocations: 2.568 MB / 492.2 MB, free: 65.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003315/0.6749, allocations: 1.646 MB / 493.9 MB, free: 64.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/0.6757, allocations: 240.4 kB / 494.1 MB, free: 63.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6757, allocations: 0 / 494.1 MB, free: 63.91 MB / 378.7 MB Notification: Performance of Templates: time 0.05768/0.7333, allocations: 35.02 MB / 0.5167 GB, free: 29.43 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.555442996090278]