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.001402/0.001402, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001526/0.001526, allocations: 160.9 kB / 24.27 MB, free: 148 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.484/1.484, allocations: 177 MB / 204.5 MB, free: 5.613 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 2.074e-06/2.074e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.743e-05/3.95e-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.01515/0.01519, allocations: 9.852 MB / 282.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00989/0.02508, allocations: 3.858 MB / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.02692, allocations: 79.62 kB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006895/0.03381, allocations: 3.294 MB / 289.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1456/0.1794, allocations: 1.993 MB / 291.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.1813, allocations: 0.9051 MB / 292.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00644/0.1878, allocations: 4.803 MB / 297 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.1914, allocations: 3.388 MB / 300.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.1948, allocations: 2.425 MB / 302.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.1975, allocations: 2.236 MB / 305 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.198, allocations: 353.7 kB / 305.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.1996, allocations: 1.189 MB / 306.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.2007, allocations: 2.129 MB / 308.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.2018, allocations: 1.314 MB / 310 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.2065, allocations: 7.472 MB / 317.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2065, allocations: 0 / 317.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2065, allocations: 0 / 317.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.2066, allocations: 0 / 317.5 MB, free: 2.672 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.008735/0.2153, allocations: 5.146 MB / 322.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2154, allocations: 11.98 kB / 322.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.2248, allocations: 2.672 MB / 325.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/0.2309, allocations: 2.734 MB / 328.1 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.2312, allocations: 243.7 kB / 328.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/0.2319, allocations: 323.2 kB / 328.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.2507, allocations: 10.52 MB / 339.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.2508, allocations: 48.33 kB / 339.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.2512, allocations: 153.3 kB / 339.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003719/0.2549, allocations: 2.028 MB / 341.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.2722, allocations: 8.93 MB / 350.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/0.3254, allocations: 38.71 MB / 389 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.338, allocations: 4.295 MB / 393.3 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.3416, allocations: 2.306 MB / 395.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.3544, allocations: 6.401 MB / 402 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.3545, allocations: 54 kB / 402.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 5.139e-06/0.3545, allocations: 0 / 402.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=196): time 0.05562/0.4101, allocations: 19.66 MB / 421.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.4103, allocations: 179.5 kB / 421.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006845/0.4171, allocations: 3.97 MB / 425.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005443/0.4177, allocations: 53.7 kB / 425.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003117/0.4208, allocations: 3.241 MB / 429.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.4221, allocations: 0.7706 MB / 429.9 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/0.4243, allocations: 1.27 MB / 431.2 MB, free: 360 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4244, allocations: 301.1 kB / 431.5 MB, free: 56 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1241/0.5485, allocations: 2.398 MB / 433.9 MB, free: 120.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005549/0.554, allocations: 6.099 MB / 440 MB, free: 115.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009665/0.5637, allocations: 9.158 MB / 449.1 MB, free: 107.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/0.5638, allocations: 35.28 kB / 449.2 MB, free: 107.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01425/0.5781, allocations: 9.565 MB / 458.7 MB, free: 104.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.5781, allocations: 62.97 kB / 458.8 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/0.5783, allocations: 133 kB / 458.9 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/0.5812, allocations: 1.287 MB / 460.2 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.5852, allocations: 1.438 MB / 461.7 MB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.5927, allocations: 7.155 MB / 468.8 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/0.5975, allocations: 389.2 kB / 469.2 MB, free: 96.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008535/0.5984, allocations: 381.4 kB / 469.6 MB, free: 96.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (758): * Single equations (assignments): 752 * 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.00296/0.6014, allocations: 2.168 MB / 471.7 MB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/0.6021, allocations: 395.9 kB / 472.1 MB, free: 94.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005959/0.6081, allocations: 4.027 MB / 476.1 MB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.6081, allocations: 24 kB / 476.2 MB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6081, allocations: 11.94 kB / 476.2 MB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.6081, allocations: 7.969 kB / 476.2 MB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6215, allocations: 8.413 MB / 484.6 MB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.6215, allocations: 8 kB / 484.6 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.6229, allocations: 334.4 kB / 484.9 MB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.6256, allocations: 1.117 MB / 486.1 MB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.6258, allocations: 43.66 kB / 486.1 MB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007338/0.6331, allocations: 6.751 MB / 492.8 MB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.6331, allocations: 11.94 kB / 492.9 MB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009154/0.6423, allocations: 7.109 MB / 500 MB, free: 66.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/0.6433, allocations: 334.1 kB / 0.4886 GB, free: 66.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.6436, allocations: 36 kB / 0.4886 GB, free: 66.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.6453, allocations: 159.8 kB / 0.4888 GB, free: 66.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.6456, allocations: 124.7 kB / 0.4889 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6457, allocations: 59.67 kB / 0.4889 GB, free: 66.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002585/0.6483, allocations: 2.321 MB / 0.4912 GB, free: 63.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6483, allocations: 0 / 0.4912 GB, free: 63.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004865/0.6532, allocations: 1.135 MB / 0.4923 GB, free: 62.59 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 (155): * Single equations (assignments): 151 * 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.0005067/0.6537, allocations: 205 kB / 0.4925 GB, free: 62.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007673/0.6614, allocations: 5.517 MB / 0.4979 GB, free: 56.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.6614, allocations: 0 / 0.4979 GB, free: 56.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.6641, allocations: 1.95 MB / 0.4998 GB, free: 54.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.6668, allocations: 426 kB / 0.5002 GB, free: 54.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.682, allocations: 10.2 MB / 0.5102 GB, free: 44.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/0.685, allocations: 2.837 MB / 0.5129 GB, free: 41.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005447/0.6905, allocations: 1.943 MB / 0.5148 GB, free: 39.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.692, allocations: 232.4 kB / 0.5151 GB, free: 39.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/0.692, allocations: 4 kB / 0.5151 GB, free: 39.18 MB / 378.7 MB Notification: Performance of Templates: time 0.066/0.758, allocations: 35.17 MB / 0.5494 GB, free: 4.535 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] 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.482439826009795]