Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00133/0.00133, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.0015/0.0015, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 53.38 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2061/0.3102, allocations: 11.22 MB / 437.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007655/0.3178, allocations: 4.084 MB / 441.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.3195, allocations: 76.88 kB / 441.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005768/0.3253, allocations: 3.206 MB / 445 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.3305, allocations: 1.917 MB / 446.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.3325, allocations: 0.832 MB / 447.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007179/0.3397, allocations: 4.398 MB / 452.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004811/0.3445, allocations: 3.341 MB / 455.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.348, allocations: 1.641 MB / 457.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.352, allocations: 2.292 MB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.353, allocations: 345.7 kB / 459.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3558, allocations: 1.269 MB / 461 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002399/0.3582, allocations: 2.058 MB / 463 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003605/0.3618, allocations: 2.307 MB / 465.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.3724, allocations: 7.463 MB / 472.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3725, allocations: 0 / 472.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3725, allocations: 0 / 472.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002577/0.3727, allocations: 0 / 472.8 MB, free: 2.047 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.01335/0.3861, allocations: 5.285 MB / 478.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3861, allocations: 12.03 kB / 478.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/0.3877, allocations: 0.7282 MB / 478.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02312/0.4108, allocations: 3.902 MB / 482.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/0.4176, allocations: 2.975 MB / 485.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.4178, allocations: 238.2 kB / 485.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.4189, allocations: 327.8 kB / 486.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.4417, allocations: 10.38 MB / 496.7 MB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.4419, allocations: 39.64 kB / 496.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/0.4425, allocations: 155.9 kB / 496.8 MB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003782/0.4463, allocations: 2.029 MB / 498.9 MB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.4646, allocations: 8.79 MB / 0.4958 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.5189, allocations: 40.67 MB / 0.5355 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.5312, allocations: 4.26 MB / 0.5396 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/0.5345, allocations: 2.22 MB / 0.5418 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.5474, allocations: 7.218 MB / 0.5489 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.5474, allocations: 51.5 kB / 0.5489 GB, free: 6.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 5.07e-06/0.5474, allocations: 0 / 0.5489 GB, free: 6.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.04926/0.5967, allocations: 18.02 MB / 0.5665 GB, free: 4.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5968, allocations: 175.5 kB / 0.5667 GB, free: 4.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007507/0.6043, allocations: 4.579 MB / 0.5711 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004908/0.6048, allocations: 49.7 kB / 0.5712 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.6077, allocations: 3.275 MB / 0.5744 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.6089, allocations: 0.783 MB / 0.5751 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/0.6109, allocations: 1.25 MB / 0.5764 GB, free: 10.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.611, allocations: 301.1 kB / 0.5767 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/0.6148, allocations: 2.272 MB / 0.5789 GB, free: 7.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007319/0.6221, allocations: 5.964 MB / 0.5847 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.6344, allocations: 8.959 MB / 0.5934 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/0.6345, allocations: 51.88 kB / 0.5935 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01905/0.6536, allocations: 8.803 MB / 0.6021 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.6537, allocations: 60 kB / 0.6022 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.6539, allocations: 132 kB / 0.6023 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/0.6566, allocations: 0.9413 MB / 0.6032 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/0.6618, allocations: 1.396 MB / 0.6046 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009695/0.6715, allocations: 6.528 MB / 0.6109 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/0.6765, allocations: 347.5 kB / 0.6113 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.6778, allocations: 372 kB / 0.6116 GB, free: 2.211 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.005273/0.683, allocations: 2.167 MB / 0.6137 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2116/0.8947, allocations: 405.9 kB / 0.6141 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006918/0.9016, allocations: 3.672 MB / 0.6177 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-05/0.9016, allocations: 22.62 kB / 0.6177 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.9017, allocations: 7.281 kB / 0.6177 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.9017, allocations: 9.312 kB / 0.6177 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.9201, allocations: 9.06 MB / 0.6266 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.9201, allocations: 6.656 kB / 0.6266 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.9217, allocations: 315.9 kB / 0.6269 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.9239, allocations: 0.7705 MB / 0.6277 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.9241, allocations: 37.09 kB / 0.6277 GB, free: 157 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007702/0.9318, allocations: 6.116 MB / 0.6337 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.9318, allocations: 5.219 kB / 0.6337 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009473/0.9413, allocations: 6.61 MB / 0.6401 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.9424, allocations: 483 kB / 0.6406 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/0.9431, allocations: 36.72 kB / 0.6406 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.9448, allocations: 113.7 kB / 0.6407 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/0.9452, allocations: 123.2 kB / 0.6408 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.9453, allocations: 55.34 kB / 0.6409 GB, free: 151 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004832/0.9502, allocations: 2.935 MB / 0.6438 GB, free: 150 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9502, allocations: 0 / 0.6438 GB, free: 150 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005402/0.9556, allocations: 1.029 MB / 0.6448 GB, free: 149.9 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.008368/0.9639, allocations: 7.26 MB / 0.6519 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007024/0.971, allocations: 5.308 MB / 0.657 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.971, allocations: 0 / 0.657 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/0.9738, allocations: 1.847 MB / 0.6588 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/0.9773, allocations: 0.4943 MB / 0.6593 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06119/1.038, allocations: 50.13 MB / 0.7083 GB, free: 86.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004855/1.043, allocations: 3.366 MB / 0.7116 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006925/1.05, allocations: 2.03 MB / 0.7136 GB, free: 80.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003935/1.054, allocations: 1.999 MB / 0.7155 GB, free: 78.78 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/1.054, allocations: 0 / 0.7155 GB, free: 78.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.175, allocations: 76.98 MB / 0.7907 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.97/27.14, allocations: 11.44 kB / 0.7907 GB, free: 2.195 MB / 0.5137 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.804188922047615]