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.001402/0.001402, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001495/0.001495, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001559/0.001559, allocations: 43.94 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2642, allocations: 53.36 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0134/0.2776, allocations: 11.25 MB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.2862, allocations: 4.101 MB / 446.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.2883, allocations: 79.62 kB / 446.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006393/0.2947, allocations: 3.22 MB / 449.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005322/0.3, allocations: 1.934 MB / 451.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.302, allocations: 0.8305 MB / 452.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.3089, allocations: 4.418 MB / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.3132, allocations: 3.036 MB / 460 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.3164, allocations: 1.639 MB / 461.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.3202, allocations: 2.286 MB / 463.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009133/0.3211, allocations: 348 kB / 464.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.3238, allocations: 1.272 MB / 465.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.3264, allocations: 2.057 MB / 467.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.3292, allocations: 2.307 MB / 469.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.3383, allocations: 7.459 MB / 477.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3383, allocations: 0 / 477.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3383, allocations: 0 / 477.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.3384, allocations: 0 / 477.4 MB, free: 8.375 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.01073/0.3492, allocations: 5.215 MB / 482.6 MB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3492, allocations: 8.031 kB / 482.6 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.3504, allocations: 0.7321 MB / 483.3 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.3716, allocations: 3.894 MB / 487.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007673/0.3793, allocations: 2.904 MB / 490.1 MB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3795, allocations: 242.2 kB / 490.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009289/0.3805, allocations: 331.8 kB / 490.7 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.399, allocations: 10.38 MB / 0.4893 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3992, allocations: 39.64 kB / 0.4894 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/0.3996, allocations: 155.9 kB / 0.4895 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/0.4031, allocations: 2.029 MB / 0.4915 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.4211, allocations: 8.78 MB / 0.5001 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2653/0.6864, allocations: 40.54 MB / 0.5397 GB, free: 74.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009976/0.6964, allocations: 3.8 MB / 0.5434 GB, free: 74.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.6987, allocations: 2.234 MB / 0.5456 GB, free: 74.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009483/0.7082, allocations: 6.543 MB / 0.552 GB, free: 72.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.7082, allocations: 49.98 kB / 0.552 GB, free: 72.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.238e-06/0.7082, allocations: 3.625 kB / 0.552 GB, free: 72.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03923/0.7475, allocations: 17.81 MB / 0.5694 GB, free: 60.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.7475, allocations: 171.5 kB / 0.5696 GB, free: 60.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005379/0.7529, allocations: 4.577 MB / 0.574 GB, free: 55.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004136/0.7533, allocations: 57.64 kB / 0.5741 GB, free: 55.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.7546, allocations: 3.276 MB / 0.5773 GB, free: 52.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/0.7553, allocations: 0.79 MB / 0.5781 GB, free: 51.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.7566, allocations: 1.25 MB / 0.5793 GB, free: 50.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.7566, allocations: 301.1 kB / 0.5796 GB, free: 50.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.7591, allocations: 2.279 MB / 0.5818 GB, free: 48.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.763, allocations: 5.953 MB / 0.5876 GB, free: 40.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/0.7701, allocations: 8.959 MB / 0.5964 GB, free: 29.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.744e-05/0.7702, allocations: 36 kB / 0.5964 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01163/0.7818, allocations: 8.804 MB / 0.605 GB, free: 20.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.7819, allocations: 64.41 kB / 0.605 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.782, allocations: 128 kB / 0.6052 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.784, allocations: 0.9416 MB / 0.6061 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/0.7879, allocations: 1.407 MB / 0.6075 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.7943, allocations: 6.405 MB / 0.6137 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/0.7985, allocations: 347.6 kB / 0.614 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000786/0.7993, allocations: 376 kB / 0.6144 GB, free: 11.22 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.002699/0.802, allocations: 2.169 MB / 0.6165 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/0.8026, allocations: 413.2 kB / 0.6169 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.8078, allocations: 3.672 MB / 0.6205 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.8078, allocations: 28 kB / 0.6205 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8079, allocations: 4 kB / 0.6205 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.8079, allocations: 7.969 kB / 0.6205 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.8235, allocations: 9.019 MB / 0.6293 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.8235, allocations: 4 kB / 0.6294 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.8251, allocations: 323.5 kB / 0.6297 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.8273, allocations: 0.7758 MB / 0.6304 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/0.8275, allocations: 39.52 kB / 0.6305 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00875/0.8362, allocations: 6.01 MB / 0.6363 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.8362, allocations: 11.94 kB / 0.6363 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.8469, allocations: 6.604 MB / 0.6428 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.8482, allocations: 405.1 kB / 0.6432 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006646/0.8488, allocations: 35.98 kB / 0.6432 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.8506, allocations: 115.8 kB / 0.6433 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.851, allocations: 136.8 kB / 0.6434 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.8511, allocations: 56.8 kB / 0.6435 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005011/0.8561, allocations: 2.936 MB / 0.6464 GB, free: 10.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8561, allocations: 0 / 0.6464 GB, free: 10.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005366/0.8615, allocations: 1.019 MB / 0.6474 GB, free: 9.145 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 (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.01085/0.8723, allocations: 7.259 MB / 0.6545 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009114/0.8814, allocations: 5.319 MB / 0.6596 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.8815, allocations: 0 / 0.6596 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.8849, allocations: 1.85 MB / 0.6615 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.888, allocations: 0.5062 MB / 0.6619 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08401/0.972, allocations: 50.2 MB / 0.711 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004409/0.9764, allocations: 3.364 MB / 0.7143 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004938/0.9814, allocations: 2.029 MB / 0.7162 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/0.9844, allocations: 1.995 MB / 0.7182 GB, free: 10.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.9844, allocations: 4 kB / 0.7182 GB, free: 10.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3708/1.355, allocations: 82.01 MB / 0.7983 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.08/29.43, allocations: 7.891 kB / 0.7983 GB, free: 174.6 MB / 0.5606 GB " [Timeout remaining time 630] (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: 32.10241359999782]