Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 55.91 kB / 365.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01416/0.1189, allocations: 11.45 MB / 429.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.1279, allocations: 4.096 MB / 433.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.1297, allocations: 83.62 kB / 433.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006458/0.1362, allocations: 3.24 MB / 436.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.1423, allocations: 1.996 MB / 438.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1447, allocations: 0.8305 MB / 439.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008267/0.153, allocations: 4.449 MB / 443.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2254/0.3784, allocations: 3.379 MB / 447.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.3812, allocations: 1.68 MB / 449 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.3848, allocations: 2.336 MB / 451.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.386, allocations: 358.8 kB / 451.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.389, allocations: 1.287 MB / 453 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.3916, allocations: 2.126 MB / 455.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003055/0.3947, allocations: 2.385 MB / 457.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4061, allocations: 7.729 MB / 465.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4061, allocations: 1.625 kB / 465.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4061, allocations: 0 / 465.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003055/0.4064, allocations: 0 / 465.2 MB, free: 6.613 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01709/0.4235, allocations: 5.418 MB / 470.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4235, allocations: 11 kB / 470.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.4258, allocations: 0.756 MB / 471.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/0.4489, allocations: 3.945 MB / 475.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007876/0.4568, allocations: 3.132 MB / 478.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.4571, allocations: 251.5 kB / 478.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.4586, allocations: 335.4 kB / 479 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.4816, allocations: 10.76 MB / 489.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.4818, allocations: 44.09 kB / 489.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006959/0.4825, allocations: 159.1 kB / 490 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004112/0.4866, allocations: 2.151 MB / 492.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.5072, allocations: 9.097 MB / 0.4895 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06012/0.5673, allocations: 41.57 MB / 0.5301 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.5798, allocations: 4.259 MB / 0.5343 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003446/0.5832, allocations: 2.22 MB / 0.5364 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.5969, allocations: 7.263 MB / 0.5435 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.597, allocations: 43.56 kB / 0.5436 GB, free: 6.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 5.4e-06/0.597, allocations: 0 / 0.5436 GB, free: 6.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.05401/0.651, allocations: 18.14 MB / 0.5613 GB, free: 4.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.6512, allocations: 175.5 kB / 0.5614 GB, free: 3.934 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009705/0.6609, allocations: 4.637 MB / 0.566 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/0.6614, allocations: 49.7 kB / 0.566 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003085/0.6645, allocations: 3.365 MB / 0.5693 GB, free: 11.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.6658, allocations: 0.7873 MB / 0.5701 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/0.6679, allocations: 1.265 MB / 0.5713 GB, free: 9.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6681, allocations: 311.2 kB / 0.5716 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.6719, allocations: 2.288 MB / 0.5738 GB, free: 7.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/0.6793, allocations: 6.026 MB / 0.5797 GB, free: 15.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/0.6921, allocations: 9.051 MB / 0.5886 GB, free: 4.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.6922, allocations: 39.94 kB / 0.5886 GB, free: 4.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02006/0.7122, allocations: 8.881 MB / 0.5973 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.7124, allocations: 64.19 kB / 0.5973 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003079/0.7127, allocations: 132 kB / 0.5975 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.7156, allocations: 0.9496 MB / 0.5984 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/0.721, allocations: 1.419 MB / 0.5998 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009848/0.7308, allocations: 6.524 MB / 0.6061 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/0.7362, allocations: 343.6 kB / 0.6065 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/0.7375, allocations: 376 kB / 0.6068 GB, free: 2.133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 49 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.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.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[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 (753): * Single equations (assignments): 747 * 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.00603/0.7436, allocations: 2.234 MB / 0.609 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/0.7448, allocations: 421.1 kB / 0.6094 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008966/0.7537, allocations: 3.676 MB / 0.613 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.7538, allocations: 24 kB / 0.613 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.7538, allocations: 4 kB / 0.613 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/0.7538, allocations: 10.12 kB / 0.613 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.7776, allocations: 9.145 MB / 0.622 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.7776, allocations: 11.75 kB / 0.622 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.7793, allocations: 315.5 kB / 0.6223 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.7817, allocations: 0.764 MB / 0.623 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003562/0.7821, allocations: 43.94 kB / 0.6231 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009555/0.7916, allocations: 6.116 MB / 0.629 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.7916, allocations: 11.94 kB / 0.6291 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.8041, allocations: 6.609 MB / 0.6355 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.8056, allocations: 486.2 kB / 0.636 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/0.8068, allocations: 39.98 kB / 0.636 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/0.8093, allocations: 111.8 kB / 0.6361 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.8098, allocations: 119.1 kB / 0.6362 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/0.81, allocations: 63.98 kB / 0.6363 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007296/0.8173, allocations: 2.969 MB / 0.6392 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.8173, allocations: 0 / 0.6392 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.2329/1.05, allocations: 1.053 MB / 0.6402 GB, free: 181.8 MB / 0.5294 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.01167/1.062, allocations: 7.259 MB / 0.6473 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.072, allocations: 5.344 MB / 0.6525 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.072, allocations: 5.062 kB / 0.6525 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.075, allocations: 1.847 MB / 0.6543 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.079, allocations: 0.5251 MB / 0.6548 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07228/1.151, allocations: 50.79 MB / 0.7044 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/1.155, allocations: 3.456 MB / 0.7078 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003966/1.159, allocations: 2.044 MB / 0.7098 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002598/1.162, allocations: 2.053 MB / 0.7118 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.162, allocations: 0 / 0.7118 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/1.282, allocations: 77.98 MB / 0.788 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.52/26.81, allocations: 7.859 kB / 0.788 GB, free: 53.73 MB / 0.5294 GB " [Timeout remaining time 633] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 29.52648765593767]