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.001373/0.001373, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.00149/0.00149, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.391/1.391, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.001809/0.001809, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2548, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01155/0.2663, allocations: 12.58 MB / 408.9 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.2768, allocations: 4.239 MB / 413.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.2794, allocations: 90.47 kB / 413.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007107/0.2865, allocations: 3.278 MB / 416.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.2932, allocations: 2.15 MB / 418.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.2956, allocations: 0.829 MB / 419.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007701/0.3033, allocations: 4.563 MB / 424.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/0.3083, allocations: 3.222 MB / 427.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.3116, allocations: 1.783 MB / 429.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.3159, allocations: 2.539 MB / 431.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.3169, allocations: 391.9 kB / 432 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.3199, allocations: 1.315 MB / 433.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002741/0.3226, allocations: 2.283 MB / 435.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.3261, allocations: 2.59 MB / 438.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.3378, allocations: 8.363 MB / 446.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3378, allocations: 0 / 446.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3378, allocations: 0 / 446.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.338, allocations: 0 / 446.6 MB, free: 0.9453 MB / 350.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.01239/0.3504, allocations: 5.686 MB / 452.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3504, allocations: 19.92 kB / 452.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.3516, allocations: 0.8151 MB / 453.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/0.3739, allocations: 3.995 MB / 457.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008441/0.3823, allocations: 3.33 MB / 460.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.3826, allocations: 266.8 kB / 460.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.3836, allocations: 347.8 kB / 461 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/0.4057, allocations: 11.58 MB / 472.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.4058, allocations: 51.56 kB / 472.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/0.4064, allocations: 163.8 kB / 472.8 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00409/0.4105, allocations: 2.335 MB / 475.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.4322, allocations: 9.858 MB / 485 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/0.5004, allocations: 43.99 MB / 0.5166 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5135, allocations: 4.608 MB / 0.5211 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/0.5173, allocations: 2.517 MB / 0.5235 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.5333, allocations: 7.322 MB / 0.5307 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.775e-05/0.5333, allocations: 63.8 kB / 0.5308 GB, free: 13.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=216): time 8.015e-06/0.5333, allocations: 0 / 0.5308 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=237): time 0.05209/0.5854, allocations: 19.93 MB / 0.5502 GB, free: 9.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5856, allocations: 176.2 kB / 0.5504 GB, free: 9.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007173/0.5927, allocations: 4.789 MB / 0.5551 GB, free: 4.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004539/0.5932, allocations: 61.64 kB / 0.5551 GB, free: 4.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.596, allocations: 3.549 MB / 0.5586 GB, free: 1.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.5971, allocations: 0.9302 MB / 0.5595 GB, free: 304 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1963/0.7934, allocations: 1.347 MB / 0.5608 GB, free: 145.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.7934, allocations: 306.5 kB / 0.5611 GB, free: 145.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00571/0.7991, allocations: 2.594 MB / 0.5636 GB, free: 144.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008968/0.8081, allocations: 6.495 MB / 0.57 GB, free: 138.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/0.8237, allocations: 9.891 MB / 0.5796 GB, free: 130.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/0.824, allocations: 39.62 kB / 0.5797 GB, free: 130.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02524/0.8492, allocations: 9.701 MB / 0.5892 GB, free: 127.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.8493, allocations: 65.91 kB / 0.5892 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/0.8495, allocations: 134.8 kB / 0.5893 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.8522, allocations: 0.9581 MB / 0.5903 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/0.8571, allocations: 1.575 MB / 0.5918 GB, free: 126.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/0.8637, allocations: 6.433 MB / 0.5981 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/0.8687, allocations: 369.9 kB / 0.5985 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008407/0.8695, allocations: 407.3 kB / 0.5988 GB, free: 122.2 MB / 478.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.003227/0.8728, allocations: 2.374 MB / 0.6012 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.8734, allocations: 442.7 kB / 0.6016 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006267/0.8797, allocations: 4.399 MB / 0.6059 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.8797, allocations: 24 kB / 0.6059 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8797, allocations: 4 kB / 0.6059 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.8798, allocations: 15.95 kB / 0.6059 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.8966, allocations: 10.39 MB / 0.6161 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.8966, allocations: 8.031 kB / 0.6161 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.8985, allocations: 427.3 kB / 0.6165 GB, free: 105.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.9004, allocations: 0.7694 MB / 0.6172 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/0.9007, allocations: 46.72 kB / 0.6173 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/0.9072, allocations: 6.023 MB / 0.6232 GB, free: 98.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9072, allocations: 4 kB / 0.6232 GB, free: 98.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/0.917, allocations: 7.726 MB / 0.6307 GB, free: 90.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/0.9194, allocations: 0.7698 MB / 0.6315 GB, free: 89.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000973/0.9204, allocations: 44 kB / 0.6315 GB, free: 89.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/0.9227, allocations: 140.6 kB / 0.6316 GB, free: 89.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.9231, allocations: 161.5 kB / 0.6318 GB, free: 89.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.9233, allocations: 64 kB / 0.6319 GB, free: 89.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004177/0.9274, allocations: 3.067 MB / 0.6348 GB, free: 86.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9274, allocations: 3.938 kB / 0.6349 GB, free: 86.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005639/0.9331, allocations: 1.155 MB / 0.636 GB, free: 85.31 MB / 478.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 (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.009861/0.9429, allocations: 8.382 MB / 0.6442 GB, free: 76.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009571/0.9525, allocations: 6.027 MB / 0.6501 GB, free: 70.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.9525, allocations: 6.281 kB / 0.6501 GB, free: 70.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.9561, allocations: 2.158 MB / 0.6522 GB, free: 68.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.9593, allocations: 0.5233 MB / 0.6527 GB, free: 68.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07242/1.032, allocations: 55.18 MB / 0.7066 GB, free: 6.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/1.036, allocations: 3.665 MB / 0.7101 GB, free: 2.961 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00459/1.041, allocations: 2.216 MB / 0.7123 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004558/1.045, allocations: 2.234 MB / 0.7145 GB, free: 14.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.944e-06/1.045, allocations: 0 / 0.7145 GB, free: 14.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/1.444, allocations: 88.66 MB / 0.8011 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.51/22.95, allocations: 9.391 kB / 0.8011 GB, free: 130.8 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.594763086002786]