Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 122.2 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 190.9 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 207.6 MB / 231.8 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 55.91 kB / 342.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.0906, allocations: 49.12 MB / 391.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01386/0.1045, allocations: 12.55 MB / 403.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008494/0.113, allocations: 4.217 MB / 408.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.1145, allocations: 75.81 kB / 408.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005987/0.1205, allocations: 3.267 MB / 411.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.126, allocations: 2.136 MB / 413.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1281, allocations: 0.8305 MB / 414.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006733/0.1349, allocations: 4.553 MB / 419 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004637/0.1395, allocations: 3.491 MB / 422.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.1426, allocations: 1.768 MB / 424.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.1465, allocations: 2.543 MB / 426.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009894/0.1475, allocations: 392 kB / 427.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.1501, allocations: 1.307 MB / 428.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.1526, allocations: 2.279 MB / 430.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.156, allocations: 2.583 MB / 433.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.166, allocations: 8.361 MB / 441.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.166, allocations: 0 / 441.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.166, allocations: 0 / 441.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002047/0.1662, allocations: 4 kB / 441.7 MB, free: 6.27 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01125/0.1775, allocations: 5.761 MB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1775, allocations: 8.031 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.1787, allocations: 0.819 MB / 448.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/0.1998, allocations: 4.007 MB / 452.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008123/0.208, allocations: 3.398 MB / 455.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.2082, allocations: 266.8 kB / 456 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.2095, allocations: 355.8 kB / 456.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2193/0.4289, allocations: 11.58 MB / 467.9 MB, free: 56.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.429, allocations: 40.06 kB / 467.9 MB, free: 56.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/0.4295, allocations: 171.2 kB / 468.1 MB, free: 56.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003809/0.4333, allocations: 2.34 MB / 470.4 MB, free: 56.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.4517, allocations: 9.852 MB / 480.3 MB, free: 53.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04407/0.4958, allocations: 44.15 MB / 0.5122 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.5061, allocations: 5.066 MB / 0.5171 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.5086, allocations: 2.508 MB / 0.5196 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/0.5209, allocations: 8.002 MB / 0.5274 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.521, allocations: 63.8 kB / 0.5274 GB, free: 12.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=216): time 5.48e-06/0.521, allocations: 0 / 0.5274 GB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=237): time 0.04899/0.5699, allocations: 20.21 MB / 0.5472 GB, free: 8.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5701, allocations: 184.2 kB / 0.5473 GB, free: 7.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/0.5769, allocations: 4.792 MB / 0.552 GB, free: 3.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004946/0.5774, allocations: 65.69 kB / 0.5521 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/0.5801, allocations: 3.543 MB / 0.5555 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.5813, allocations: 0.9302 MB / 0.5565 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.5831, allocations: 1.358 MB / 0.5578 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5832, allocations: 301.1 kB / 0.5581 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.5872, allocations: 2.597 MB / 0.5606 GB, free: 10.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007186/0.5944, allocations: 6.495 MB / 0.5669 GB, free: 1.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.6068, allocations: 9.886 MB / 0.5766 GB, free: 6.121 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.6069, allocations: 43.75 kB / 0.5766 GB, free: 6.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01778/0.6247, allocations: 9.696 MB / 0.5861 GB, free: 12.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/0.6248, allocations: 64 kB / 0.5862 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.6249, allocations: 136 kB / 0.5863 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/0.6272, allocations: 0.9608 MB / 0.5872 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/0.6324, allocations: 1.567 MB / 0.5888 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008716/0.6411, allocations: 6.552 MB / 0.5952 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/0.646, allocations: 371.5 kB / 0.5955 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009837/0.6469, allocations: 407.9 kB / 0.5959 GB, free: 2.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (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 (816): * Single equations (assignments): 810 * 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.004206/0.6511, allocations: 2.374 MB / 0.5982 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008855/0.652, allocations: 441 kB / 0.5987 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/0.6601, allocations: 4.394 MB / 0.6029 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/0.6601, allocations: 24 kB / 0.603 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.6601, allocations: 4 kB / 0.603 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.6601, allocations: 11.95 kB / 0.603 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/0.6809, allocations: 10.43 MB / 0.6132 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.6809, allocations: 8 kB / 0.6132 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.6829, allocations: 423.3 kB / 0.6136 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.6849, allocations: 0.7696 MB / 0.6143 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.6851, allocations: 52.45 kB / 0.6144 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008548/0.6936, allocations: 6.133 MB / 0.6204 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.6936, allocations: 8 kB / 0.6204 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.7057, allocations: 7.721 MB / 0.6279 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/0.7083, allocations: 0.8415 MB / 0.6287 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007822/0.7091, allocations: 47.94 kB / 0.6288 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.7109, allocations: 135.8 kB / 0.6289 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.7113, allocations: 157.6 kB / 0.6291 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.7115, allocations: 63.98 kB / 0.6291 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004948/0.7164, allocations: 3.067 MB / 0.6321 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7164, allocations: 0 / 0.6321 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005404/0.7218, allocations: 1.156 MB / 0.6332 GB, free: 11.52 MB / 0.4981 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 (198): * Single equations (assignments): 194 * 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.01281/0.7346, allocations: 8.387 MB / 0.6414 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1913/0.9259, allocations: 6.016 MB / 0.6473 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.9259, allocations: 1.406 kB / 0.6473 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.9293, allocations: 2.158 MB / 0.6494 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.9322, allocations: 0.5182 MB / 0.6499 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06551/0.9977, allocations: 55.08 MB / 0.7037 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/1.001, allocations: 3.673 MB / 0.7073 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004282/1.005, allocations: 2.216 MB / 0.7095 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.008, allocations: 2.218 MB / 0.7116 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/1.008, allocations: 0 / 0.7116 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/1.375, allocations: 83.17 MB / 0.7929 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.85/23.23, allocations: 16.34 kB / 0.7929 GB, free: 36.68 MB / 0.4981 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 29.365701460745186]