Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001599/0.001599, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002161/0.002161, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 48.56 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 49.12 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01524/0.1199, allocations: 12.55 MB / 404 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009063/0.129, allocations: 4.214 MB / 408.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.131, allocations: 83.69 kB / 408.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006434/0.1375, allocations: 3.263 MB / 411.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.1432, allocations: 2.136 MB / 413.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.1453, allocations: 0.8383 MB / 414.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007512/0.1528, allocations: 4.565 MB / 419.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004983/0.1578, allocations: 3.475 MB / 422.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.1613, allocations: 1.799 MB / 424.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.1656, allocations: 2.539 MB / 426.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.1668, allocations: 388 kB / 427.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.1699, allocations: 1.311 MB / 428.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.1727, allocations: 2.279 MB / 430.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004568/0.1773, allocations: 2.583 MB / 433.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.1899, allocations: 8.361 MB / 441.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1899, allocations: 0 / 441.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1899, allocations: 0 / 441.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003252/0.1903, allocations: 4 kB / 441.8 MB, free: 6.082 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01461/0.2049, allocations: 5.765 MB / 447.6 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2049, allocations: 12.03 kB / 447.6 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001687/0.2066, allocations: 0.8151 MB / 448.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02434/0.2309, allocations: 3.999 MB / 452.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009496/0.2404, allocations: 3.406 MB / 455.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.2408, allocations: 266.7 kB / 456.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.2428, allocations: 359.8 kB / 456.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2348/0.4776, allocations: 11.57 MB / 468 MB, free: 56.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.4778, allocations: 42.77 kB / 468 MB, free: 56.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008339/0.4786, allocations: 168.7 kB / 468.2 MB, free: 56.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004688/0.4833, allocations: 2.343 MB / 470.5 MB, free: 56.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.5053, allocations: 9.85 MB / 480.4 MB, free: 52.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/0.5543, allocations: 44.14 MB / 0.5122 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.5661, allocations: 5.058 MB / 0.5172 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.5692, allocations: 2.515 MB / 0.5196 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/0.5826, allocations: 8.006 MB / 0.5274 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.5827, allocations: 55.88 kB / 0.5275 GB, free: 12.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=216): time 5.8e-06/0.5827, allocations: 0 / 0.5275 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=237): time 0.05745/0.6402, allocations: 20.21 MB / 0.5472 GB, free: 8.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6403, allocations: 184.2 kB / 0.5474 GB, free: 7.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00808/0.6484, allocations: 4.787 MB / 0.5521 GB, free: 3.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006498/0.649, allocations: 61.7 kB / 0.5521 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003279/0.6523, allocations: 3.545 MB / 0.5556 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.6538, allocations: 0.9341 MB / 0.5565 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002327/0.6562, allocations: 1.354 MB / 0.5578 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6563, allocations: 301.1 kB / 0.5581 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/0.661, allocations: 2.597 MB / 0.5607 GB, free: 10.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/0.671, allocations: 6.495 MB / 0.567 GB, free: 1.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/0.6856, allocations: 9.891 MB / 0.5767 GB, free: 5.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/0.6858, allocations: 39.75 kB / 0.5767 GB, free: 5.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02261/0.7084, allocations: 9.692 MB / 0.5862 GB, free: 12.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.7085, allocations: 64 kB / 0.5862 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/0.7088, allocations: 140.1 kB / 0.5864 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.7117, allocations: 0.953 MB / 0.5873 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/0.7178, allocations: 1.575 MB / 0.5888 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009724/0.7275, allocations: 6.556 MB / 0.5952 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/0.7334, allocations: 379.5 kB / 0.5956 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/0.7347, allocations: 397.7 kB / 0.596 GB, free: 2.004 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (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 (816): * Single equations (assignments): 810 * 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.004986/0.7397, allocations: 2.374 MB / 0.5983 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.7408, allocations: 437 kB / 0.5987 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008956/0.7497, allocations: 4.402 MB / 0.603 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/0.7498, allocations: 28 kB / 0.603 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.7498, allocations: 4 kB / 0.603 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/0.7498, allocations: 11.95 kB / 0.6031 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/0.771, allocations: 10.43 MB / 0.6132 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.771, allocations: 4 kB / 0.6132 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.7732, allocations: 431.3 kB / 0.6136 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.7754, allocations: 0.7618 MB / 0.6144 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/0.7757, allocations: 51.98 kB / 0.6144 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009125/0.7848, allocations: 6.133 MB / 0.6204 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7848, allocations: 4 kB / 0.6204 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.7983, allocations: 7.721 MB / 0.628 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/0.8013, allocations: 0.8416 MB / 0.6288 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/0.8026, allocations: 47.98 kB / 0.6288 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/0.8063, allocations: 135.8 kB / 0.629 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008126/0.8071, allocations: 158.1 kB / 0.6291 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/0.8074, allocations: 63.91 kB / 0.6292 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006209/0.8136, allocations: 3.067 MB / 0.6322 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8136, allocations: 3.938 kB / 0.6322 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006496/0.8201, allocations: 1.156 MB / 0.6333 GB, free: 11.34 MB / 0.4981 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 (198): * Single equations (assignments): 194 * 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.01333/0.8334, allocations: 8.386 MB / 0.6415 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1987/1.032, allocations: 6.016 MB / 0.6474 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.032, allocations: 1.75 kB / 0.6474 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/1.036, allocations: 2.158 MB / 0.6495 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/1.04, allocations: 0.5144 MB / 0.65 GB, free: 174.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/1.108, allocations: 55.09 MB / 0.7038 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/1.112, allocations: 3.673 MB / 0.7074 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004373/1.116, allocations: 2.22 MB / 0.7095 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002769/1.119, allocations: 2.218 MB / 0.7117 GB, free: 120 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/1.119, allocations: 0 / 0.7117 GB, free: 120 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.242, allocations: 83.18 MB / 0.7929 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/22.46, allocations: 0 / 0.7929 GB, free: 36.7 MB / 0.4981 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 25.208870105998358]