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.0009461/0.0009461, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0012/0.0012, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8837/0.8837, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.393e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.007493/0.007507, allocations: 9.852 MB / 334.4 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.01334, allocations: 3.862 MB / 338.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.01424, allocations: 79.62 kB / 338.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.01749, allocations: 3.255 MB / 341.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.01987, allocations: 2.001 MB / 343.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.02084, allocations: 0.8887 MB / 344.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.02411, allocations: 4.813 MB / 349.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.0263, allocations: 3.305 MB / 352.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.02806, allocations: 2.425 MB / 355 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.02973, allocations: 2.221 MB / 357.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.03003, allocations: 352 kB / 357.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.03113, allocations: 1.193 MB / 358.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.03219, allocations: 2.143 MB / 360.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008461/0.03303, allocations: 1.328 MB / 362.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.03746, allocations: 7.508 MB / 369.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.03747, allocations: 0 / 369.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03747, allocations: 0 / 369.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.286e-05/0.03752, allocations: 0 / 369.7 MB, free: 2.484 MB / 330.7 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.005619/0.04314, allocations: 5.227 MB / 375 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.04318, allocations: 11.98 kB / 375 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005615/0.04374, allocations: 0.7321 MB / 375.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.05479, allocations: 4.117 MB / 379.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.05791, allocations: 2.756 MB / 382.6 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.05802, allocations: 250.1 kB / 382.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.05837, allocations: 315.8 kB / 383.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009715/0.06809, allocations: 10.41 MB / 393.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/0.06816, allocations: 47.64 kB / 393.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.06844, allocations: 151.8 kB / 393.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.0703, allocations: 2.029 MB / 395.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009563/0.07986, allocations: 8.76 MB / 404.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03349/0.1134, allocations: 39.35 MB / 443.9 MB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007058/0.1204, allocations: 3.931 MB / 447.8 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.1223, allocations: 2.242 MB / 450 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1841/0.3064, allocations: 6.296 MB / 456.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3064, allocations: 54.97 kB / 456.4 MB, free: 112.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 6.452e-06/0.3064, allocations: 0.9062 kB / 456.4 MB, free: 112.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.02561/0.332, allocations: 18.32 MB / 474.7 MB, free: 101 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.3321, allocations: 179.5 kB / 474.9 MB, free: 100.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003809/0.3359, allocations: 4.975 MB / 479.9 MB, free: 95.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-05/0.336, allocations: 56.12 kB / 479.9 MB, free: 95.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/0.3369, allocations: 3.239 MB / 483.2 MB, free: 92.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.3372, allocations: 0.7782 MB / 483.9 MB, free: 91.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/0.3382, allocations: 1.231 MB / 485.2 MB, free: 90.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.3382, allocations: 301.1 kB / 485.5 MB, free: 90.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.3401, allocations: 2.265 MB / 487.7 MB, free: 87.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.3427, allocations: 5.974 MB / 493.7 MB, free: 80.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.3483, allocations: 8.949 MB / 0.4909 GB, free: 69.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.3484, allocations: 36 kB / 0.4909 GB, free: 69.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.007763/0.3561, allocations: 8.786 MB / 0.4995 GB, free: 60.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3562, allocations: 64 kB / 0.4995 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-05/0.3562, allocations: 128 kB / 0.4997 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.3574, allocations: 0.9374 MB / 0.5006 GB, free: 59.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.3595, allocations: 1.407 MB / 0.502 GB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.364, allocations: 6.39 MB / 0.5082 GB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.3666, allocations: 375.4 kB / 0.5086 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.3668, allocations: 375.9 kB / 0.5089 GB, free: 50.78 MB / 410.7 MB 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.001957/0.3688, allocations: 2.173 MB / 0.511 GB, free: 48.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3691, allocations: 405.3 kB / 0.5114 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.3722, allocations: 3.662 MB / 0.515 GB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3722, allocations: 20 kB / 0.515 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3723, allocations: 8 kB / 0.515 GB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3723, allocations: 15.91 kB / 0.515 GB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007716/0.38, allocations: 8.69 MB / 0.5235 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.38, allocations: 8 kB / 0.5235 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.3807, allocations: 323.5 kB / 0.5238 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.3818, allocations: 0.7687 MB / 0.5246 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.3818, allocations: 39.98 kB / 0.5246 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.3861, allocations: 6.006 MB / 0.5305 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3861, allocations: 9.25 kB / 0.5305 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.391, allocations: 6.569 MB / 0.5369 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.3917, allocations: 433.1 kB / 0.5373 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.3919, allocations: 36 kB / 0.5374 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.3928, allocations: 147.7 kB / 0.5375 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.393, allocations: 140 kB / 0.5376 GB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.871e-05/0.3931, allocations: 59.98 kB / 0.5377 GB, free: 20.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002386/0.3955, allocations: 3.069 MB / 0.5407 GB, free: 17.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3955, allocations: 0 / 0.5407 GB, free: 17.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002802/0.3983, allocations: 1.125 MB / 0.5418 GB, free: 16.78 MB / 410.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 (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.005176/0.4034, allocations: 7.245 MB / 0.5489 GB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004533/0.408, allocations: 5.292 MB / 0.554 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.408, allocations: 192 / 0.554 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.4095, allocations: 1.833 MB / 0.5558 GB, free: 2.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.411, allocations: 0.4983 MB / 0.5563 GB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/0.4561, allocations: 50.54 MB / 0.6057 GB, free: 9.391 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.4583, allocations: 2.827 MB / 0.6084 GB, free: 6.516 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00262/0.461, allocations: 2.037 MB / 0.6104 GB, free: 4.473 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1356/0.5966, allocations: 2.005 MB / 0.6124 GB, free: 164.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5966, allocations: 0 / 0.6124 GB, free: 164.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08278/0.6794, allocations: 78.92 MB / 0.6895 GB, free: 100.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.33, allocations: 3.938 kB / 0.6895 GB, free: 100.7 MB / 474.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/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: 14.44006525259465]