Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.531/1.531, allocations: 230.5 MB / 254.8 MB, free: 15.09 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 79.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.108, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.241/0.349, allocations: 11.21 MB / 438.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009351/0.3583, allocations: 4.081 MB / 442.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.3614, allocations: 81.38 kB / 442.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007696/0.3691, allocations: 3.218 MB / 445.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.3761, allocations: 1.915 MB / 447.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.3786, allocations: 0.8303 MB / 448.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008908/0.3875, allocations: 4.399 MB / 452.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006277/0.3938, allocations: 3.349 MB / 456.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.3977, allocations: 1.638 MB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.402, allocations: 2.287 MB / 460 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.4033, allocations: 345.8 kB / 460.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.4067, allocations: 1.27 MB / 461.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.41, allocations: 2.053 MB / 463.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005743/0.4157, allocations: 2.305 MB / 466 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4298, allocations: 7.467 MB / 473.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4298, allocations: 0 / 473.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4298, allocations: 0 / 473.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003778/0.4302, allocations: 4 kB / 473.5 MB, free: 2.266 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.01711/0.4473, allocations: 5.292 MB / 478.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4474, allocations: 12.03 kB / 478.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002427/0.4498, allocations: 0.7282 MB / 479.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/0.4732, allocations: 3.895 MB / 483.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007224/0.4805, allocations: 2.979 MB / 486.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.4807, allocations: 246.2 kB / 486.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.4817, allocations: 319.8 kB / 486.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.5014, allocations: 10.38 MB / 497.3 MB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.5015, allocations: 39.64 kB / 497.3 MB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004454/0.502, allocations: 159.8 kB / 497.5 MB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003668/0.5057, allocations: 2.033 MB / 499.5 MB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.5248, allocations: 8.782 MB / 0.4964 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05608/0.5809, allocations: 40.67 MB / 0.5361 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.593, allocations: 4.255 MB / 0.5403 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.5961, allocations: 2.22 MB / 0.5424 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.6079, allocations: 7.217 MB / 0.5495 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.608, allocations: 64.36 kB / 0.5496 GB, free: 6.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 5.08e-06/0.608, allocations: 0 / 0.5496 GB, free: 6.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.04854/0.6565, allocations: 18.01 MB / 0.5671 GB, free: 4.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6566, allocations: 179.5 kB / 0.5673 GB, free: 4.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007013/0.6637, allocations: 4.579 MB / 0.5718 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.6641, allocations: 57.69 kB / 0.5718 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/0.6667, allocations: 3.26 MB / 0.575 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.6679, allocations: 0.7946 MB / 0.5758 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/0.6698, allocations: 1.25 MB / 0.577 GB, free: 10.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6699, allocations: 301.1 kB / 0.5773 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/0.6735, allocations: 2.276 MB / 0.5795 GB, free: 7.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006598/0.6801, allocations: 5.957 MB / 0.5853 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.6918, allocations: 8.959 MB / 0.5941 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-05/0.6919, allocations: 39.94 kB / 0.5941 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01716/0.709, allocations: 8.809 MB / 0.6027 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.7091, allocations: 60 kB / 0.6028 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/0.7093, allocations: 128 kB / 0.6029 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.7117, allocations: 0.9303 MB / 0.6038 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/0.7167, allocations: 1.415 MB / 0.6052 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009063/0.7258, allocations: 6.521 MB / 0.6116 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005007/0.7308, allocations: 339.6 kB / 0.6119 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009277/0.7317, allocations: 379.9 kB / 0.6123 GB, free: 2.441 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.003979/0.7357, allocations: 2.173 MB / 0.6144 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2215/0.9572, allocations: 408.2 kB / 0.6148 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/0.9644, allocations: 3.668 MB / 0.6184 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/0.9645, allocations: 26.31 kB / 0.6184 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.9645, allocations: 6.125 kB / 0.6184 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.9645, allocations: 9.906 kB / 0.6184 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.9814, allocations: 9.052 MB / 0.6272 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/0.9814, allocations: 6.141 kB / 0.6272 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.983, allocations: 316.8 kB / 0.6275 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.9851, allocations: 0.7675 MB / 0.6283 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.9853, allocations: 40.39 kB / 0.6283 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.9929, allocations: 6.117 MB / 0.6343 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/0.9929, allocations: 10.53 kB / 0.6343 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/1.003, allocations: 6.604 MB / 0.6408 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.004, allocations: 483 kB / 0.6412 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005571/1.004, allocations: 32.69 kB / 0.6413 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.006, allocations: 113.3 kB / 0.6414 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/1.006, allocations: 128.5 kB / 0.6415 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.007, allocations: 58.83 kB / 0.6415 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004638/1.011, allocations: 2.934 MB / 0.6444 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 0 / 0.6444 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005056/1.016, allocations: 1.022 MB / 0.6454 GB, free: 150 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.007902/1.024, allocations: 7.264 MB / 0.6525 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006505/1.031, allocations: 5.306 MB / 0.6577 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.031, allocations: 0 / 0.6577 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.033, allocations: 1.841 MB / 0.6595 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.036, allocations: 0.5054 MB / 0.66 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05342/1.089, allocations: 50.13 MB / 0.7089 GB, free: 86.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.092, allocations: 3.367 MB / 0.7122 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003817/1.096, allocations: 2.034 MB / 0.7142 GB, free: 81.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/1.099, allocations: 1.987 MB / 0.7161 GB, free: 79.14 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/1.099, allocations: 0 / 0.7161 GB, free: 79.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/1.259, allocations: 77 MB / 0.7913 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.48/27.74, allocations: 3.281 kB / 0.7913 GB, free: 2.664 MB / 0.5137 GB " [Timeout remaining time 632] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.41135857719928] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 27.86991306580603 27.899181907 27.463804661 Calling exit ...