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.001572/0.001572, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001929/0.001929, allocations: 160.5 kB / 24.55 MB, free: 20 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.008/1.008, allocations: 177 MB / 204.8 MB, free: 5.57 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.292e-06/1.292e-06, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.199e-05, allocations: 2.312 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.009087/0.009109, allocations: 10.92 MB / 283.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006683/0.01579, allocations: 3.979 MB / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.01705, allocations: 79.62 kB / 287.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1267/0.1437, allocations: 3.419 MB / 291.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.1485, allocations: 1.996 MB / 293.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1502, allocations: 0.9134 MB / 294.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006469/0.1567, allocations: 4.807 MB / 299 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004104/0.1608, allocations: 3.393 MB / 302.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/0.1643, allocations: 2.443 MB / 304.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.1671, allocations: 2.283 MB / 307.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008427/0.1679, allocations: 352.4 kB / 307.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.1696, allocations: 1.184 MB / 308.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.1709, allocations: 2.152 MB / 310.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.1725, allocations: 1.315 MB / 312.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.1767, allocations: 4.865 MB / 317 MB, free: 3.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1767, allocations: 0 / 317 MB, free: 3.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1767, allocations: 0 / 317 MB, free: 3.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.1768, allocations: 0 / 317 MB, free: 3.699 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.006593/0.1834, allocations: 5.496 MB / 322.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1835, allocations: 19.97 kB / 322.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.1887, allocations: 2.607 MB / 325.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.1922, allocations: 2.482 MB / 327.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.1924, allocations: 245 kB / 327.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.1928, allocations: 316.4 kB / 328.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008986/0.2018, allocations: 6.368 MB / 334.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.2019, allocations: 38.23 kB / 334.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.2022, allocations: 151.4 kB / 334.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/0.2044, allocations: 2.033 MB / 336.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007693/0.2121, allocations: 3.54 MB / 340.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0327/0.2448, allocations: 43.44 MB / 383.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00619/0.2509, allocations: 2.623 MB / 386.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.2521, allocations: 0.7751 MB / 387.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005969/0.2581, allocations: 4.534 MB / 391.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.2581, allocations: 58.33 kB / 391.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 4.849e-06/0.2581, allocations: 4 kB / 391.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=198): time 0.0263/0.2844, allocations: 13.71 MB / 405.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.2845, allocations: 175.5 kB / 405.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.2887, allocations: 3.587 MB / 409.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003346/0.289, allocations: 56.28 kB / 409.2 MB, free: 6.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.2909, allocations: 3.422 MB / 412.7 MB, free: 2.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008963/0.2918, allocations: 0.8219 MB / 413.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.2934, allocations: 1.375 MB / 414.9 MB, free: 488 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2935, allocations: 480.8 kB / 415.3 MB, free: 4 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.2948, allocations: 0.754 MB / 416.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/0.2992, allocations: 6.26 MB / 422.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007159/0.3063, allocations: 7.714 MB / 430.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.3065, allocations: 36 kB / 430.1 MB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01057/0.317, allocations: 6.022 MB / 436.1 MB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/0.3171, allocations: 64 kB / 436.2 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.3172, allocations: 129.5 kB / 436.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.319, allocations: 0.795 MB / 437.1 MB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.3221, allocations: 1.431 MB / 438.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/0.4632, allocations: 3.924 MB / 442.5 MB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/0.4668, allocations: 379.8 kB / 442.8 MB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/0.4679, allocations: 381.1 kB / 443.2 MB, free: 118.5 MB / 394.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.001664/0.4695, allocations: 0.668 MB / 443.9 MB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/0.4701, allocations: 395.4 kB / 444.3 MB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.4737, allocations: 2.06 MB / 446.3 MB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.4738, allocations: 25.58 kB / 446.3 MB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4738, allocations: 5.188 kB / 446.3 MB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.4738, allocations: 10.34 kB / 446.4 MB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4841, allocations: 6.042 MB / 452.4 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.4842, allocations: 5.781 kB / 452.4 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.4851, allocations: 318.2 kB / 452.7 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.4867, allocations: 0.6305 MB / 453.3 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.4869, allocations: 38.47 kB / 453.4 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.4905, allocations: 3.619 MB / 457 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4905, allocations: 10.34 kB / 457 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/0.4951, allocations: 3.337 MB / 460.4 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/0.496, allocations: 325.8 kB / 460.7 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.4962, allocations: 45.66 kB / 460.7 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4973, allocations: 151.7 kB / 460.9 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4976, allocations: 127.9 kB / 461 MB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.4977, allocations: 61.06 kB / 461 MB, free: 114.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002275/0.5, allocations: 1.534 MB / 462.6 MB, free: 114.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5, allocations: 0 / 462.6 MB, free: 114.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004438/0.5044, allocations: 1.136 MB / 463.7 MB, free: 114.4 MB / 394.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.000553/0.505, allocations: 196.1 kB / 463.9 MB, free: 114.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004874/0.5098, allocations: 3.329 MB / 467.2 MB, free: 114 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5098, allocations: 2.656 kB / 467.2 MB, free: 114 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.5113, allocations: 1.134 MB / 468.4 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.5131, allocations: 419.7 kB / 468.8 MB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.5247, allocations: 8.077 MB / 476.9 MB, free: 107.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.5261, allocations: 1.306 MB / 478.2 MB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002716/0.5288, allocations: 1.648 MB / 479.8 MB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/0.5294, allocations: 235.6 kB / 480 MB, free: 105.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.5295, allocations: 0 / 480 MB, free: 105.6 MB / 394.7 MB Notification: Performance of Templates: time 0.04424/0.5737, allocations: 35.05 MB / 0.503 GB, free: 71.32 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: 4.238073990214616]