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.001725/0.001725, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001084/0.001084, allocations: 164 kB / 24.82 MB, free: 9.324 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.9742/0.9742, allocations: 177 MB / 205.1 MB, free: 5.438 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 2.365e-06/2.365e-06, allocations: 0 / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.936e-05, allocations: 2.312 kB / 273.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01014/0.01017, allocations: 10.59 MB / 283.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.01753, allocations: 3.948 MB / 287.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.01903, allocations: 79.62 kB / 288 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.126/0.145, allocations: 3.352 MB / 291.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.1501, allocations: 2.004 MB / 293.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.1522, allocations: 0.9017 MB / 294.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007187/0.1594, allocations: 4.811 MB / 299 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/0.1638, allocations: 3.402 MB / 302.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/0.1695, allocations: 2.965 MB / 305.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.1729, allocations: 2.248 MB / 307.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000951/0.1739, allocations: 349.6 kB / 308 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.1756, allocations: 1.177 MB / 309.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.1769, allocations: 2.139 MB / 311.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.1787, allocations: 1.309 MB / 312.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.1841, allocations: 4.855 MB / 317.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1841, allocations: 0 / 317.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1841, allocations: 0 / 317.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002288/0.1843, allocations: 4 kB / 317.5 MB, free: 3.277 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.007067/0.1914, allocations: 5.332 MB / 322.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1914, allocations: 15.27 kB / 322.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.1957, allocations: 1.666 MB / 324.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.1989, allocations: 2.157 MB / 326.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1991, allocations: 244.8 kB / 326.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003951/0.1995, allocations: 316.9 kB / 327.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/0.2069, allocations: 5.655 MB / 332.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.207, allocations: 44.56 kB / 332.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.2073, allocations: 154.4 kB / 333 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/0.2088, allocations: 1.766 MB / 334.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005794/0.2146, allocations: 2.549 MB / 337.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.2524, allocations: 43.35 MB / 380.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006481/0.2589, allocations: 1.986 MB / 382.7 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.2599, allocations: 0.5204 MB / 383.2 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.2667, allocations: 3.852 MB / 387.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.2667, allocations: 54.33 kB / 387.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=145): time 4.669e-06/0.2667, allocations: 0 / 387.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.02194/0.2886, allocations: 6.467 MB / 393.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2887, allocations: 171.2 kB / 393.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.2927, allocations: 3.692 MB / 397.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/0.293, allocations: 45.7 kB / 397.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001923/0.2949, allocations: 3.561 MB / 401 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007754/0.2957, allocations: 0.6477 MB / 401.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.2971, allocations: 1.382 MB / 403.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.2972, allocations: 476.8 kB / 403.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009626/0.2982, allocations: 0.5623 MB / 404.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.3025, allocations: 6.357 MB / 410.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.309, allocations: 7.554 MB / 418 MB, free: 9.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.3091, allocations: 40 kB / 418.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.008565/0.3177, allocations: 5.001 MB / 423.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.3177, allocations: 63.94 kB / 423.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.3179, allocations: 140.8 kB / 423.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/0.3187, allocations: 363.3 kB / 423.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.3211, allocations: 1.376 MB / 425 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.3237, allocations: 2.747 MB / 427.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.3264, allocations: 271.7 kB / 428 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/0.3268, allocations: 324 kB / 428.3 MB, free: 14.66 MB / 394.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.001425/0.3283, allocations: 0.6819 MB / 429 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.3288, allocations: 377.7 kB / 429.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.3302, allocations: 0.9974 MB / 430.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.3302, allocations: 16 kB / 430.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.3302, allocations: 7.984 kB / 430.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3302, allocations: 3.984 kB / 430.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007456/0.3377, allocations: 4.714 MB / 435.1 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.3377, allocations: 8 kB / 435.1 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.3383, allocations: 203.7 kB / 435.3 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/0.3389, allocations: 191.8 kB / 435.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.3389, allocations: 39.97 kB / 435.5 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.3409, allocations: 2.491 MB / 438 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3409, allocations: 11.94 kB / 438 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.3435, allocations: 2.165 MB / 440.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.344, allocations: 317.6 kB / 440.5 MB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3442, allocations: 35.98 kB / 440.5 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.3447, allocations: 28 kB / 440.6 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3449, allocations: 100.3 kB / 440.7 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.345, allocations: 51.91 kB / 440.7 MB, free: 1.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001742/0.3467, allocations: 1.461 MB / 442.2 MB, free: 356 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3467, allocations: 0 / 442.2 MB, free: 356 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.1323/0.479, allocations: 1.006 MB / 443.2 MB, free: 121.7 MB / 394.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.0005147/0.4795, allocations: 182.4 kB / 443.4 MB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006953/0.4864, allocations: 2.752 MB / 446.1 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.4864, allocations: 1.25 kB / 446.1 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4876, allocations: 0.6215 MB / 446.7 MB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.4905, allocations: 419.1 kB / 447.2 MB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.5076, allocations: 7.644 MB / 454.8 MB, free: 117.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/0.5098, allocations: 1.265 MB / 456.1 MB, free: 117.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002249/0.5121, allocations: 499.4 kB / 456.6 MB, free: 117.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.5131, allocations: 0.5513 MB / 457.1 MB, free: 117.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.893e-06/0.5131, allocations: 0 / 457.1 MB, free: 117.5 MB / 394.7 MB Notification: Performance of Templates: time 0.04488/0.558, allocations: 29.38 MB / 486.5 MB, free: 98.52 MB / 394.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","",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.837697980925441]