Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001725/0.001725, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002092/0.002092, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 55.91 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2326, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01276/0.2453, allocations: 9.824 MB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.2532, allocations: 3.863 MB / 444.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000904/0.2541, allocations: 79.69 kB / 444.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005799/0.2599, allocations: 3.084 MB / 447.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.2641, allocations: 1.946 MB / 449.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.2658, allocations: 0.8266 MB / 450.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.2714, allocations: 4.409 MB / 455.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003757/0.2751, allocations: 3.013 MB / 458.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.2777, allocations: 1.639 MB / 459.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.2808, allocations: 2.149 MB / 461.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.2814, allocations: 344 kB / 462.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.2836, allocations: 1.131 MB / 463.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.2855, allocations: 2.057 MB / 465.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.2874, allocations: 1.708 MB / 467.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.2955, allocations: 7.494 MB / 474.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2955, allocations: 0 / 474.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2955, allocations: 3.938 kB / 474.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.2956, allocations: 7.984 kB / 474.7 MB, free: 10.84 MB / 382.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.01035/0.306, allocations: 5.208 MB / 479.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.306, allocations: 8.031 kB / 479.9 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001157/0.3072, allocations: 0.7398 MB / 480.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/0.3294, allocations: 3.89 MB / 484.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/0.3368, allocations: 2.92 MB / 487.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.337, allocations: 238.2 kB / 487.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007615/0.3378, allocations: 327.8 kB / 488 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.3568, allocations: 10.41 MB / 498.4 MB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.3569, allocations: 43.58 kB / 498.4 MB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.3573, allocations: 155.9 kB / 498.6 MB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003668/0.361, allocations: 2.025 MB / 0.4889 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.3788, allocations: 8.76 MB / 0.4974 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2429/0.6217, allocations: 39.12 MB / 0.5356 GB, free: 92.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.6327, allocations: 3.792 MB / 0.5393 GB, free: 92.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.6349, allocations: 2.232 MB / 0.5415 GB, free: 91.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0088/0.6437, allocations: 6.103 MB / 0.5475 GB, free: 89.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6437, allocations: 50.16 kB / 0.5475 GB, free: 89.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.469e-06/0.6437, allocations: 0 / 0.5475 GB, free: 89.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03688/0.6806, allocations: 17.87 MB / 0.565 GB, free: 78.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.6807, allocations: 171.5 kB / 0.5651 GB, free: 78.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.6847, allocations: 4.789 MB / 0.5698 GB, free: 73.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.6849, allocations: 57.7 kB / 0.5699 GB, free: 73.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.686, allocations: 3.271 MB / 0.5731 GB, free: 70.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.6864, allocations: 0.7861 MB / 0.5738 GB, free: 69.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.6875, allocations: 1.254 MB / 0.5751 GB, free: 68.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.6876, allocations: 301.1 kB / 0.5753 GB, free: 68.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.6899, allocations: 2.276 MB / 0.5776 GB, free: 66.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.6932, allocations: 5.987 MB / 0.5834 GB, free: 58.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.7, allocations: 8.958 MB / 0.5922 GB, free: 47.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.4e-05/0.7, allocations: 39.94 kB / 0.5922 GB, free: 47.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01078/0.7108, allocations: 8.799 MB / 0.6008 GB, free: 38.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.7109, allocations: 66.62 kB / 0.6009 GB, free: 38.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-05/0.7109, allocations: 128 kB / 0.601 GB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.7129, allocations: 0.9377 MB / 0.6019 GB, free: 37.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.7164, allocations: 1.407 MB / 0.6033 GB, free: 36.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.7226, allocations: 6.355 MB / 0.6095 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/0.7265, allocations: 343.4 kB / 0.6098 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.7269, allocations: 376 kB / 0.6102 GB, free: 29.11 MB / 446.1 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 (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.002176/0.729, allocations: 2.167 MB / 0.6123 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.7295, allocations: 413.3 kB / 0.6127 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/0.7344, allocations: 3.668 MB / 0.6163 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.7344, allocations: 28.67 kB / 0.6163 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7344, allocations: 8 kB / 0.6163 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.7344, allocations: 11.91 kB / 0.6163 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.7458, allocations: 8.621 MB / 0.6247 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7459, allocations: 7.938 kB / 0.6247 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.7472, allocations: 331 kB / 0.625 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.7489, allocations: 0.7621 MB / 0.6258 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.749, allocations: 40 kB / 0.6258 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006366/0.7554, allocations: 5.958 MB / 0.6316 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7554, allocations: 8 kB / 0.6317 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/0.7634, allocations: 6.601 MB / 0.6381 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.7647, allocations: 405 kB / 0.6385 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/0.7653, allocations: 43.98 kB / 0.6385 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.767, allocations: 107.9 kB / 0.6386 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.7673, allocations: 136.9 kB / 0.6388 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.7674, allocations: 56 kB / 0.6388 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004976/0.7724, allocations: 2.932 MB / 0.6417 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7724, allocations: 0 / 0.6417 GB, free: 12.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004876/0.7773, allocations: 1.026 MB / 0.6427 GB, free: 11.49 MB / 462.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 (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.01117/0.7885, allocations: 7.269 MB / 0.6498 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00927/0.7977, allocations: 5.314 MB / 0.655 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.7977, allocations: 0 / 0.655 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.8012, allocations: 1.841 MB / 0.6568 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.8044, allocations: 0.5009 MB / 0.6573 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08026/0.8846, allocations: 50.19 MB / 0.7063 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004068/0.8887, allocations: 2.824 MB / 0.709 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004732/0.8934, allocations: 2.037 MB / 0.711 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/0.8964, allocations: 1.991 MB / 0.713 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/0.8964, allocations: 0 / 0.713 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/1.205, allocations: 77.41 MB / 0.7886 GB, free: 162.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.94/18.14, allocations: 2.656 kB / 0.7886 GB, free: 162.9 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 20.775023486930877]