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.001506/0.001506, allocations: 121.8 kB / 18.5 MB, free: 4.578 MB / 14.72 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.001449/0.001449, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 59.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09446, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1807/0.2751, allocations: 11.23 MB / 437.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.282, allocations: 4.074 MB / 442 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2835, allocations: 73.53 kB / 442 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005392/0.2889, allocations: 3.204 MB / 445.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.2942, allocations: 1.924 MB / 447.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.296, allocations: 0.8234 MB / 448 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006952/0.303, allocations: 4.403 MB / 452.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00462/0.3076, allocations: 3.345 MB / 455.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3106, allocations: 1.61 MB / 457.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.3143, allocations: 2.292 MB / 459.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009922/0.3153, allocations: 344.9 kB / 460 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.3181, allocations: 1.273 MB / 461.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002665/0.3207, allocations: 2.054 MB / 463.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.3246, allocations: 2.304 MB / 465.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.335, allocations: 7.468 MB / 473.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.335, allocations: 4 kB / 473.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.335, allocations: 0 / 473.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002533/0.3352, allocations: 0 / 473.1 MB, free: 2.594 MB / 366.1 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.01283/0.348, allocations: 5.286 MB / 478.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3481, allocations: 8.031 kB / 478.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001667/0.3498, allocations: 0.736 MB / 479.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0215/0.3713, allocations: 3.898 MB / 483 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/0.3792, allocations: 2.976 MB / 486 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3795, allocations: 246.2 kB / 486.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.3808, allocations: 328.3 kB / 486.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4011, allocations: 10.38 MB / 496.9 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.4013, allocations: 43.64 kB / 497 MB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004356/0.4017, allocations: 151.9 kB / 497.1 MB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003477/0.4052, allocations: 2.029 MB / 499.1 MB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4229, allocations: 8.791 MB / 0.496 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05441/0.4773, allocations: 40.67 MB / 0.5357 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.489, allocations: 4.261 MB / 0.5399 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/0.4924, allocations: 2.223 MB / 0.5421 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.5055, allocations: 7.216 MB / 0.5491 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.5056, allocations: 51.56 kB / 0.5492 GB, free: 7.035 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 4.238e-06/0.5056, allocations: 0 / 0.5492 GB, free: 7.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.04699/0.5525, allocations: 18.02 MB / 0.5668 GB, free: 4.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5527, allocations: 175.5 kB / 0.5669 GB, free: 4.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007691/0.5604, allocations: 4.575 MB / 0.5714 GB, free: 92 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004407/0.5608, allocations: 57.7 kB / 0.5715 GB, free: 28 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003103/0.5639, allocations: 3.268 MB / 0.5747 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.5651, allocations: 0.7908 MB / 0.5754 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/0.5676, allocations: 1.254 MB / 0.5767 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5678, allocations: 301.1 kB / 0.5769 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004184/0.5719, allocations: 2.272 MB / 0.5792 GB, free: 8.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008443/0.5804, allocations: 5.961 MB / 0.585 GB, free: 300 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/0.5926, allocations: 8.955 MB / 0.5937 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/0.5927, allocations: 36.88 kB / 0.5938 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01942/0.6121, allocations: 8.81 MB / 0.6024 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-05/0.6122, allocations: 60 kB / 0.6024 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.6123, allocations: 128.9 kB / 0.6025 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/0.6148, allocations: 0.9374 MB / 0.6035 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/0.6196, allocations: 1.407 MB / 0.6048 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/0.6288, allocations: 6.526 MB / 0.6112 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.6332, allocations: 343.6 kB / 0.6115 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009468/0.6342, allocations: 372 kB / 0.6119 GB, free: 2.766 MB / 0.5137 GB 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 (744): * Single equations (assignments): 738 * 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.004232/0.6384, allocations: 2.172 MB / 0.614 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/0.6393, allocations: 413.2 kB / 0.6144 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1926/0.8319, allocations: 3.664 MB / 0.618 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/0.8319, allocations: 22.03 kB / 0.618 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.832, allocations: 7.719 kB / 0.618 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/0.832, allocations: 13.31 kB / 0.618 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.849, allocations: 9.046 MB / 0.6269 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.849, allocations: 6.188 kB / 0.6269 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8505, allocations: 323.2 kB / 0.6272 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.8525, allocations: 0.7678 MB / 0.6279 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.8527, allocations: 36.78 kB / 0.628 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/0.8601, allocations: 6.117 MB / 0.6339 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.8601, allocations: 11.03 kB / 0.6339 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009192/0.8693, allocations: 6.601 MB / 0.6404 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.8707, allocations: 483.2 kB / 0.6409 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006235/0.8713, allocations: 44.25 kB / 0.6409 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.8729, allocations: 109.8 kB / 0.641 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.8733, allocations: 129.3 kB / 0.6411 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.8734, allocations: 59.14 kB / 0.6412 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004368/0.8778, allocations: 2.932 MB / 0.644 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8778, allocations: 0 / 0.644 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0046/0.8824, allocations: 1.025 MB / 0.645 GB, free: 150.2 MB / 0.5137 GB 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.007707/0.8901, allocations: 7.257 MB / 0.6521 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006961/0.897, allocations: 5.313 MB / 0.6573 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.897, allocations: 0 / 0.6573 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.8997, allocations: 1.852 MB / 0.6591 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9025, allocations: 0.4974 MB / 0.6596 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05613/0.9586, allocations: 50.12 MB / 0.7086 GB, free: 86.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/0.9618, allocations: 3.367 MB / 0.7118 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003911/0.9657, allocations: 2.029 MB / 0.7138 GB, free: 81.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/0.9679, allocations: 1.995 MB / 0.7158 GB, free: 79.55 MB / 0.5137 GB Notification: Performance of SimCode: time 1.323e-06/0.9679, allocations: 3.938 kB / 0.7158 GB, free: 79.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.079, allocations: 76.98 MB / 0.791 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.55/29.63, allocations: 10.5 kB / 0.791 GB, free: 2.965 MB / 0.5137 GB " [Timeout remaining time 629] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 42.754438197705895]