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.001666/0.001666, allocations: 112.2 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.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.001736/0.001736, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001565/0.001565, allocations: 47.92 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2698, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01433/0.2841, allocations: 11.49 MB / 434.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009183/0.2933, allocations: 4.12 MB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2949, allocations: 75.69 kB / 438.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006274/0.3012, allocations: 3.251 MB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.3066, allocations: 2.016 MB / 443.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.3085, allocations: 0.8266 MB / 444.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007213/0.3157, allocations: 4.459 MB / 448.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003895/0.3196, allocations: 3.09 MB / 452 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.3222, allocations: 1.678 MB / 453.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.3257, allocations: 2.332 MB / 456 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.3264, allocations: 352 kB / 456.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.3288, allocations: 1.303 MB / 457.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.331, allocations: 2.131 MB / 459.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.3337, allocations: 2.381 MB / 462.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009182/0.3429, allocations: 7.735 MB / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3429, allocations: 0 / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3429, allocations: 0 / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.343, allocations: 3.938 kB / 469.9 MB, free: 15.14 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01183/0.3549, allocations: 5.329 MB / 475.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3549, allocations: 12.03 kB / 475.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001155/0.3561, allocations: 0.7608 MB / 476 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/0.378, allocations: 3.949 MB / 479.9 MB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007893/0.3859, allocations: 3.068 MB / 483 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.3862, allocations: 250.3 kB / 483.2 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.3873, allocations: 331.8 kB / 483.6 MB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.4068, allocations: 10.75 MB / 494.3 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.407, allocations: 47.64 kB / 494.4 MB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/0.4074, allocations: 155.9 kB / 494.5 MB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.4112, allocations: 2.146 MB / 496.7 MB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.4295, allocations: 9.094 MB / 0.4939 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2482/0.6777, allocations: 41.41 MB / 0.5343 GB, free: 97.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6891, allocations: 3.805 MB / 0.5381 GB, free: 97.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.6914, allocations: 2.236 MB / 0.5402 GB, free: 97.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009999/0.7014, allocations: 6.573 MB / 0.5467 GB, free: 95.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.7014, allocations: 49.75 kB / 0.5467 GB, free: 95.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 3.947e-06/0.7014, allocations: 0 / 0.5467 GB, free: 95.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03894/0.7404, allocations: 17.94 MB / 0.5642 GB, free: 85.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.7405, allocations: 175.9 kB / 0.5644 GB, free: 85.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.7453, allocations: 4.636 MB / 0.5689 GB, free: 80.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.7456, allocations: 59.34 kB / 0.569 GB, free: 80.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.7469, allocations: 3.361 MB / 0.5723 GB, free: 77.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.7475, allocations: 0.7913 MB / 0.573 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.7487, allocations: 1.268 MB / 0.5743 GB, free: 75.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.7487, allocations: 305.1 kB / 0.5746 GB, free: 75.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.7512, allocations: 2.284 MB / 0.5768 GB, free: 73.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.7547, allocations: 6.024 MB / 0.5827 GB, free: 65.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/0.7616, allocations: 9.053 MB / 0.5915 GB, free: 54.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.27e-05/0.7617, allocations: 43.94 kB / 0.5916 GB, free: 54.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01236/0.7741, allocations: 8.877 MB / 0.6002 GB, free: 45.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/0.7741, allocations: 60 kB / 0.6003 GB, free: 45.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.7742, allocations: 139.9 kB / 0.6004 GB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.7762, allocations: 0.9381 MB / 0.6013 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/0.7802, allocations: 1.427 MB / 0.6027 GB, free: 42.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/0.7867, allocations: 6.408 MB / 0.609 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/0.7915, allocations: 347.6 kB / 0.6093 GB, free: 36.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007109/0.7922, allocations: 385.9 kB / 0.6097 GB, free: 35.75 MB / 446.1 MB 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.002937/0.7951, allocations: 2.228 MB / 0.6119 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/0.7957, allocations: 409.2 kB / 0.6123 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.801, allocations: 3.688 MB / 0.6159 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.801, allocations: 20 kB / 0.6159 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.801, allocations: 8 kB / 0.6159 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.8011, allocations: 7.969 kB / 0.6159 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.814, allocations: 9.1 MB / 0.6248 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.814, allocations: 8.656 kB / 0.6248 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.8153, allocations: 327.5 kB / 0.6251 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.8171, allocations: 0.7673 MB / 0.6258 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.8173, allocations: 43.98 kB / 0.6259 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/0.8238, allocations: 6.021 MB / 0.6318 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8238, allocations: 11.94 kB / 0.6318 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00825/0.8321, allocations: 6.602 MB / 0.6382 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8332, allocations: 412.9 kB / 0.6386 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000914/0.8341, allocations: 36 kB / 0.6387 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.836, allocations: 115.8 kB / 0.6388 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.8363, allocations: 133 kB / 0.6389 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.8364, allocations: 55.44 kB / 0.6389 GB, free: 5.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004375/0.8408, allocations: 2.965 MB / 0.6418 GB, free: 2.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8408, allocations: 0 / 0.6418 GB, free: 2.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004893/0.8457, allocations: 1.055 MB / 0.6429 GB, free: 1.449 MB / 446.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.01056/0.8563, allocations: 7.275 MB / 0.65 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009259/0.8655, allocations: 5.339 MB / 0.6552 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.8655, allocations: 0 / 0.6552 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.869, allocations: 1.841 MB / 0.657 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.8721, allocations: 0.5231 MB / 0.6575 GB, free: 2.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08798/0.9601, allocations: 50.87 MB / 0.7072 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005651/0.9658, allocations: 3.456 MB / 0.7105 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005494/0.9713, allocations: 2.045 MB / 0.7125 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003909/0.9752, allocations: 2.054 MB / 0.7145 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/0.9752, allocations: 3.938 kB / 0.7146 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.34/1.315, allocations: 83.05 MB / 0.7957 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.76/29.08, allocations: 14.92 kB / 0.7957 GB, free: 135.6 MB / 0.5294 GB " [Timeout remaining time 631] (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: 31.844053330998577]