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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.389/1.389, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 55.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2509, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01134/0.2622, allocations: 10.95 MB / 407.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009379/0.2716, allocations: 4.002 MB / 411.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.2747, allocations: 85.28 kB / 411.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007119/0.2818, allocations: 3.149 MB / 414.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.2887, allocations: 2.149 MB / 416.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.2911, allocations: 0.8279 MB / 417.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007734/0.2989, allocations: 4.564 MB / 422.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004787/0.3037, allocations: 3.2 MB / 425.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.3071, allocations: 1.787 MB / 427.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.311, allocations: 2.394 MB / 429.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.312, allocations: 388 kB / 429.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.3147, allocations: 1.174 MB / 431 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.3175, allocations: 2.294 MB / 433.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003543/0.321, allocations: 1.91 MB / 435.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.3313, allocations: 8.397 MB / 443.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3313, allocations: 0 / 443.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3313, allocations: 0 / 443.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3314, allocations: 0 / 443.6 MB, free: 3.699 MB / 350.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.01103/0.3425, allocations: 5.689 MB / 449.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3425, allocations: 19.98 kB / 449.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.3436, allocations: 0.8151 MB / 450.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/0.3666, allocations: 4.003 MB / 454.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/0.3743, allocations: 3.353 MB / 457.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.3745, allocations: 262.8 kB / 457.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009596/0.3755, allocations: 355.8 kB / 458.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.3959, allocations: 11.61 MB / 469.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.396, allocations: 47.64 kB / 469.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.3964, allocations: 163.8 kB / 469.9 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004047/0.4005, allocations: 2.338 MB / 472.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.4199, allocations: 9.831 MB / 482.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/0.4762, allocations: 42.36 MB / 0.5122 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.489, allocations: 4.602 MB / 0.5166 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.4927, allocations: 2.517 MB / 0.5191 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.5061, allocations: 6.804 MB / 0.5257 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.5061, allocations: 55.86 kB / 0.5258 GB, free: 2.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 5.831e-06/0.5061, allocations: 0 / 0.5258 GB, free: 2.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05234/0.5585, allocations: 19.98 MB / 0.5453 GB, free: 14.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.5586, allocations: 184.2 kB / 0.5455 GB, free: 14.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007232/0.5658, allocations: 5.009 MB / 0.5504 GB, free: 9.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004552/0.5663, allocations: 61.7 kB / 0.5504 GB, free: 9.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.5689, allocations: 3.549 MB / 0.5539 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.5701, allocations: 0.9263 MB / 0.5548 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.5719, allocations: 1.35 MB / 0.5561 GB, free: 3.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.572, allocations: 305.1 kB / 0.5564 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.576, allocations: 2.597 MB / 0.559 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1649/0.7408, allocations: 6.519 MB / 0.5653 GB, free: 139.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.7512, allocations: 9.882 MB / 0.575 GB, free: 131.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/0.7514, allocations: 41.66 kB / 0.575 GB, free: 131.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01611/0.7675, allocations: 9.701 MB / 0.5845 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.7676, allocations: 67.31 kB / 0.5845 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.7677, allocations: 144.7 kB / 0.5847 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.7697, allocations: 0.9527 MB / 0.5856 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.7741, allocations: 1.577 MB / 0.5872 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.7805, allocations: 6.377 MB / 0.5934 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/0.7853, allocations: 373.3 kB / 0.5937 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006718/0.786, allocations: 400.7 kB / 0.5941 GB, free: 124.6 MB / 478.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.002984/0.789, allocations: 2.378 MB / 0.5964 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/0.7895, allocations: 444.5 kB / 0.5969 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/0.7956, allocations: 4.394 MB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.7956, allocations: 24 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.7956, allocations: 10.25 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.7957, allocations: 9.984 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.8091, allocations: 9.929 MB / 0.6109 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.8091, allocations: 8 kB / 0.6109 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.811, allocations: 423.3 kB / 0.6113 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.8128, allocations: 0.7735 MB / 0.6121 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.8129, allocations: 52.56 kB / 0.6121 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006222/0.8192, allocations: 5.957 MB / 0.6179 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8192, allocations: 8 kB / 0.6179 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008687/0.8279, allocations: 7.726 MB / 0.6255 GB, free: 95.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/0.8299, allocations: 0.7612 MB / 0.6262 GB, free: 94.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/0.8305, allocations: 47.98 kB / 0.6263 GB, free: 94.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.8322, allocations: 143.8 kB / 0.6264 GB, free: 94.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.8325, allocations: 149.7 kB / 0.6266 GB, free: 94.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.8327, allocations: 71.98 kB / 0.6266 GB, free: 94.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00362/0.8363, allocations: 3.063 MB / 0.6296 GB, free: 91.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8363, allocations: 7.391 kB / 0.6296 GB, free: 91.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004646/0.8409, allocations: 1.156 MB / 0.6307 GB, free: 89.9 MB / 478.1 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 (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.008884/0.8498, allocations: 8.395 MB / 0.6389 GB, free: 81.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007634/0.8575, allocations: 6.021 MB / 0.6448 GB, free: 75.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.8575, allocations: 0 / 0.6448 GB, free: 75.42 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002913/0.8604, allocations: 2.163 MB / 0.6469 GB, free: 73.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.8632, allocations: 0.5281 MB / 0.6475 GB, free: 72.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06051/0.9237, allocations: 55.15 MB / 0.7013 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/0.9267, allocations: 3.143 MB / 0.7044 GB, free: 8.082 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004244/0.931, allocations: 2.227 MB / 0.7066 GB, free: 5.848 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/0.9332, allocations: 2.218 MB / 0.7087 GB, free: 3.629 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9332, allocations: 0 / 0.7087 GB, free: 3.629 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.312/1.245, allocations: 83.57 MB / 0.7903 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/18.99, allocations: 19.05 kB / 0.7904 GB, free: 165.1 MB / 0.5137 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 21.60789767233655]