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.001331/0.001331, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001462/0.001462, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.00148/0.00148, allocations: 51.88 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1012, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2206/0.3218, allocations: 11.22 MB / 437.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007592/0.3294, allocations: 4.074 MB / 441.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.3312, allocations: 85.44 kB / 441.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005753/0.3369, allocations: 3.209 MB / 444.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.3423, allocations: 1.918 MB / 446.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.3445, allocations: 0.8333 MB / 447.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008215/0.3527, allocations: 4.4 MB / 452.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/0.3578, allocations: 3.349 MB / 455.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.3619, allocations: 1.629 MB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.3662, allocations: 2.295 MB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.3677, allocations: 346.5 kB / 459.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.3714, allocations: 1.269 MB / 460.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003654/0.3751, allocations: 2.054 MB / 463 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005209/0.3803, allocations: 2.3 MB / 465.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.3915, allocations: 7.473 MB / 472.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3915, allocations: 4 kB / 472.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3915, allocations: 0 / 472.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.3917, allocations: 0 / 472.8 MB, free: 2.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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01487/0.4066, allocations: 5.283 MB / 478.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4066, allocations: 8.031 kB / 478.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001983/0.4086, allocations: 0.736 MB / 478.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02379/0.4324, allocations: 3.89 MB / 482.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007212/0.4396, allocations: 2.992 MB / 485.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.4399, allocations: 243.2 kB / 485.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.4411, allocations: 320.7 kB / 486.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.4625, allocations: 10.38 MB / 496.6 MB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.4627, allocations: 43.64 kB / 496.7 MB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005657/0.4632, allocations: 155.8 kB / 496.8 MB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.4669, allocations: 2.025 MB / 498.8 MB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.4862, allocations: 8.786 MB / 0.4957 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05775/0.5439, allocations: 40.67 MB / 0.5354 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.5565, allocations: 4.261 MB / 0.5396 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.5597, allocations: 2.224 MB / 0.5418 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.5713, allocations: 7.214 MB / 0.5488 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.5713, allocations: 51.56 kB / 0.5489 GB, free: 6.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 4.198e-06/0.5713, allocations: 0 / 0.5489 GB, free: 6.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.04884/0.6201, allocations: 18.02 MB / 0.5665 GB, free: 4.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6203, allocations: 175.5 kB / 0.5666 GB, free: 4.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/0.6282, allocations: 4.575 MB / 0.5711 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005034/0.6287, allocations: 61.69 kB / 0.5712 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003192/0.6319, allocations: 3.264 MB / 0.5743 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.6336, allocations: 0.7869 MB / 0.5751 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/0.6366, allocations: 1.254 MB / 0.5763 GB, free: 10.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6367, allocations: 301.1 kB / 0.5766 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/0.6425, allocations: 2.272 MB / 0.5788 GB, free: 7.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/0.6527, allocations: 5.961 MB / 0.5847 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/0.6702, allocations: 8.962 MB / 0.5934 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/0.6703, allocations: 36 kB / 0.5935 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02341/0.6937, allocations: 8.81 MB / 0.6021 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.6939, allocations: 60.94 kB / 0.6021 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/0.6941, allocations: 128 kB / 0.6022 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.6967, allocations: 0.9374 MB / 0.6032 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/0.7016, allocations: 1.407 MB / 0.6045 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009572/0.7112, allocations: 6.519 MB / 0.6109 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/0.7161, allocations: 343.6 kB / 0.6112 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.7172, allocations: 375.9 kB / 0.6116 GB, free: 2.449 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.005053/0.7223, allocations: 2.173 MB / 0.6137 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2428/0.965, allocations: 407.4 kB / 0.6141 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007491/0.9725, allocations: 3.664 MB / 0.6177 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.072e-05/0.9726, allocations: 28.14 kB / 0.6177 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.9726, allocations: 4.969 kB / 0.6177 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/0.9726, allocations: 9.969 kB / 0.6177 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.9919, allocations: 9.047 MB / 0.6265 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.9919, allocations: 9.156 kB / 0.6266 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.9935, allocations: 323.8 kB / 0.6269 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.9957, allocations: 0.7679 MB / 0.6276 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.9959, allocations: 40.56 kB / 0.6276 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008557/1.004, allocations: 6.113 MB / 0.6336 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.005, allocations: 13.86 kB / 0.6336 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.016, allocations: 6.601 MB / 0.6401 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.018, allocations: 480.1 kB / 0.6405 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007523/1.018, allocations: 44.55 kB / 0.6406 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.02, allocations: 109.2 kB / 0.6407 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.02, allocations: 124.6 kB / 0.6408 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.021, allocations: 59.02 kB / 0.6409 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005194/1.026, allocations: 2.929 MB / 0.6437 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/1.026, allocations: 0 / 0.6437 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005634/1.031, allocations: 1.03 MB / 0.6447 GB, free: 150.1 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.009084/1.041, allocations: 7.257 MB / 0.6518 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007676/1.048, allocations: 5.313 MB / 0.657 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.048, allocations: 0 / 0.657 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/1.051, allocations: 1.85 MB / 0.6588 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.054, allocations: 0.4891 MB / 0.6593 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06122/1.115, allocations: 50.13 MB / 0.7082 GB, free: 86.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/1.119, allocations: 3.365 MB / 0.7115 GB, free: 83.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004158/1.123, allocations: 2.033 MB / 0.7135 GB, free: 81.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/1.126, allocations: 1.995 MB / 0.7155 GB, free: 79.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.322e-06/1.126, allocations: 0 / 0.7155 GB, free: 79.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.242, allocations: 76.98 MB / 0.7906 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.96/29.2, allocations: 12.48 kB / 0.7907 GB, free: 2.66 MB / 0.5137 GB " [Timeout remaining time 631] (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: 31.982733793993248]