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.0009417/0.0009417, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.0045/0.0045, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8407/0.8407, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.997e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1263/0.1263, allocations: 10.94 MB / 309.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006495/0.1328, allocations: 4.005 MB / 313.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009322/0.1338, allocations: 85.72 kB / 313.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.137, allocations: 3.305 MB / 316.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.1399, allocations: 2.221 MB / 319 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.141, allocations: 0.8877 MB / 319.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1442, allocations: 4.93 MB / 324.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.1465, allocations: 3.485 MB / 328.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.1486, allocations: 2.658 MB / 331 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.1504, allocations: 2.472 MB / 333.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.1507, allocations: 396 kB / 333.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1519, allocations: 1.244 MB / 335.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.1532, allocations: 2.376 MB / 337.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.1542, allocations: 1.495 MB / 338.9 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.1592, allocations: 8.411 MB / 347.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1592, allocations: 4 kB / 347.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1592, allocations: 4 kB / 347.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.836e-05/0.1592, allocations: 0 / 347.4 MB, free: 13.64 MB / 314.7 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.00582/0.165, allocations: 5.693 MB / 353.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1651, allocations: 15.92 kB / 353.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006388/0.1657, allocations: 0.8151 MB / 353.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.1772, allocations: 4.245 MB / 358.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.1803, allocations: 3.077 MB / 361.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1805, allocations: 266.8 kB / 361.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/0.1809, allocations: 361.5 kB / 361.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.1911, allocations: 11.6 MB / 373.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/0.1911, allocations: 43.64 kB / 373.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.1914, allocations: 167.8 kB / 373.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.1935, allocations: 2.342 MB / 376 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.2095, allocations: 9.787 MB / 385.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03837/0.2479, allocations: 42.63 MB / 428.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/0.2552, allocations: 4.743 MB / 433.1 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.2573, allocations: 2.503 MB / 435.6 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.2648, allocations: 7.031 MB / 442.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2648, allocations: 55.88 kB / 442.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 4.558e-06/0.2648, allocations: 3.938 kB / 442.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.02972/0.2946, allocations: 20.5 MB / 463.2 MB, free: 7.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.2946, allocations: 184.2 kB / 463.4 MB, free: 7.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/0.3, allocations: 5.224 MB / 468.6 MB, free: 2.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.3002, allocations: 57.7 kB / 468.7 MB, free: 2.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1265/0.4267, allocations: 3.509 MB / 472.2 MB, free: 137.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.4276, allocations: 0.9128 MB / 473.1 MB, free: 136.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/0.4293, allocations: 1.334 MB / 474.4 MB, free: 136.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.538e-05/0.4293, allocations: 302.9 kB / 474.7 MB, free: 136.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.432, allocations: 2.59 MB / 477.3 MB, free: 135.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.4357, allocations: 6.514 MB / 483.8 MB, free: 129.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007574/0.4432, allocations: 9.869 MB / 493.7 MB, free: 121.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.4434, allocations: 46.53 kB / 493.8 MB, free: 121.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01157/0.4549, allocations: 9.693 MB / 0.4917 GB, free: 118.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.455, allocations: 64.94 kB / 0.4917 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.4551, allocations: 134.1 kB / 0.4918 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.4564, allocations: 0.9461 MB / 0.4928 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.4592, allocations: 1.575 MB / 0.4943 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.4637, allocations: 6.449 MB / 0.5006 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/0.4668, allocations: 404.8 kB / 0.501 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.4672, allocations: 403.3 kB / 0.5014 GB, free: 112.7 MB / 426.7 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.002303/0.4695, allocations: 2.38 MB / 0.5037 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/0.4699, allocations: 441.1 kB / 0.5041 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.474, allocations: 4.371 MB / 0.5084 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.4741, allocations: 28 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4741, allocations: 8 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4741, allocations: 10.64 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/0.4838, allocations: 10.01 MB / 0.5182 GB, free: 96.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.4838, allocations: 15.77 kB / 0.5182 GB, free: 96.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4848, allocations: 423.3 kB / 0.5186 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.4859, allocations: 0.7817 MB / 0.5194 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.486, allocations: 47.98 kB / 0.5194 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.4903, allocations: 5.996 MB / 0.5253 GB, free: 89.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4903, allocations: 11.94 kB / 0.5253 GB, free: 89.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00628/0.4966, allocations: 7.682 MB / 0.5328 GB, free: 81.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.498, allocations: 0.8097 MB / 0.5336 GB, free: 80.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/0.4985, allocations: 40.88 kB / 0.5336 GB, free: 80.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.4996, allocations: 175.7 kB / 0.5338 GB, free: 80.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.4998, allocations: 161.5 kB / 0.534 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4999, allocations: 60 kB / 0.534 GB, free: 80.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00303/0.503, allocations: 3.234 MB / 0.5372 GB, free: 77.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.503, allocations: 4 kB / 0.5372 GB, free: 77.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003884/0.5068, allocations: 1.26 MB / 0.5384 GB, free: 75.95 MB / 426.7 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.007083/0.5139, allocations: 8.367 MB / 0.5466 GB, free: 67.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006326/0.5202, allocations: 6.01 MB / 0.5524 GB, free: 61.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5203, allocations: 4 kB / 0.5524 GB, free: 61.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.5223, allocations: 2.151 MB / 0.5545 GB, free: 59.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.5247, allocations: 0.5253 MB / 0.5551 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05366/0.5783, allocations: 55.65 MB / 0.6094 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/0.5814, allocations: 3.15 MB / 0.6125 GB, free: 9.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003668/0.5851, allocations: 2.226 MB / 0.6147 GB, free: 7.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/0.5876, allocations: 2.226 MB / 0.6168 GB, free: 5.172 MB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/0.5876, allocations: 0 / 0.6168 GB, free: 5.172 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2169/0.8045, allocations: 85.4 MB / 0.7002 GB, free: 79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.52, allocations: 4 kB / 0.7002 GB, free: 79 MB / 442.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/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: 13.639286056160927]